#include "Utilities/WrappedInt.h"
#include "Utilities/PAssert.h"
Classes | |
struct | LoopApplyEvaluator |
For example, calling:
LoopApplyEvaluator::evaluate(op, Interval<2>(2, 2));
would cause the following statements to be performed:
op(0, 0); op(0, 1); op(1, 0); op(1, 1);
This class is sufficiently general that we could rewrite the InlineEvaluator class using the LoopApplyEvaluator by writing a functor op(i, j) that evaluates equationOp(lhs(i, j), rhs(i, j)); For now, we are using this evaluator to serialize engines and in the ExtendedPatchEvaluator which evaluates user's scalar code inside the op(i, j);