Sundance::CurveExpr Class Reference

Inheritance diagram for Sundance::CurveExpr:

Sundance::PointwiseUserDefFunctor0 Sundance::UserDefFunctor

List of all members.

Public Member Functions

 CurveExpr (const ParametrizedCurve &interface, int scalarFieldIndex)
void eval0 (const double *vars, double *f) const

Private Attributes

const ParametrizedCurve & interface_
int scalarFieldIndex_

Detailed Description

class which serves as expression for interface (curve or surface) values

Definition at line 17 of file SundanceCurveExpr.hpp.

Constructor & Destructor Documentation

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.

Member Function Documentation

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_.

Member Data Documentation

const ParametrizedCurve& Sundance::CurveExpr::interface_ [private]

Definition at line 31 of file SundanceCurveExpr.hpp.

Referenced by eval0().

Definition at line 32 of file SundanceCurveExpr.hpp.

Referenced by eval0().

Site Contact