Public Member Functions | |
CurveExpr (const ParametrizedCurve &interface, int scalarFieldIndex) | |
void | eval0 (const double *vars, double *f) const |
Private Attributes | |
const ParametrizedCurve & | interface_ |
int | scalarFieldIndex_ |
Definition at line 17 of file SundanceCurveExpr.hpp.
Sundance::CurveExpr::CurveExpr | ( | const ParametrizedCurve & | interface, | |
int | scalarFieldIndex | |||
) | [inline] |
Ctor the input is a ParamCurve and an index for the scalar field
Definition at line 21 of file SundanceCurveExpr.hpp.
void Sundance::CurveExpr::eval0 | ( | const double * | vars, | |
double * | f | |||
) | const [inline, virtual] |
to evaluate the expression just pass the control to the interface object
Implements Sundance::PointwiseUserDefFunctor0.
Definition at line 26 of file SundanceCurveExpr.hpp.
References interface_, and scalarFieldIndex_.
const ParametrizedCurve& Sundance::CurveExpr::interface_ [private] |
int Sundance::CurveExpr::scalarFieldIndex_ [private] |