Const correctness
Are the function parameters marked const where applicable? For example, does the refine task really need to modify the right hand side?
Are the function parameters marked const where applicable? For example, does the refine task really need to modify the right hand side?