Sundance::CurveEvalMediator Class Reference

Inheritance diagram for Sundance::CurveEvalMediator:

Sundance::StdFwkEvalMediator Sundance::AbstractEvalMediator Playa::Printable

List of all members.

Public Member Functions

 CurveEvalMediator (const Mesh &mesh, const ParametrizedCurve &paramcurve, int cellDim, const QuadratureFamily &quad)
virtual ~CurveEvalMediator ()
virtual void evalCoordExpr (const CoordExpr *expr, RCP< EvalVector > &vec) const
 Evaluate the given coordinate expression, putting its numerical values in the given EvalVector.
virtual void evalDiscreteFuncElement (const DiscreteFuncElement *expr, const Array< MultiIndex > &mi, Array< RCP< EvalVector > > &vec) const
 Evaluate the given discrete function, putting its numerical values in the given EvalVector.
virtual void evalCellDiameterExpr (const CellDiameterExpr *expr, RCP< EvalVector > &vec) const
 Evaluate the given cell diameter expression, putting its numerical values in the given EvalVector.
virtual void evalCurveNormExpr (const CurveNormExpr *expr, RCP< EvalVector > &vec) const
 Evaluates one component of the normal vector to a given parameterized curve i.e.
virtual void evalCellVectorExpr (const CellVectorExpr *expr, RCP< EvalVector > &vec) const
 Evaluate the given cell vector expression, putting its numerical values in the given EvalVector.
virtual void setCellType (const CellType &cellType, const CellType &maxCellType, bool isInternalBdry)
 Update the cell type.
virtual void print (std::ostream &os) const
 abstract print function
RCP< Array< Array< Array
< double > > > > 
getFacetRefBasisVals (const BasisFamily &basis, int diffOrder) const
int numQuadPts (const CellType &cellType) const
int numEvaluationCases () const
 Return the number of different cases for which reference basis functions must be evaluated.

Static Public Member Functions

static double & totalFlops ()
static void addFlops (const double &flops)
static Time & coordEvaluationTimer ()

Private Attributes

int numEvaluationCases_
QuadratureFamily quad_
int numQuadPtsForMaxCell_
CellType maxCellType_
CellType curveCellType_
ParametrizedCurve paramcurve_


Detailed Description

Definition at line 49 of file SundanceCurveEvalMediator.hpp.


Constructor & Destructor Documentation

Sundance::CurveEvalMediator::CurveEvalMediator ( const Mesh mesh,
const ParametrizedCurve &  paramcurve,
int  cellDim,
const QuadratureFamily quad 
)

virtual Sundance::CurveEvalMediator::~CurveEvalMediator (  )  [inline, virtual]

Definition at line 62 of file SundanceCurveEvalMediator.hpp.


Member Function Documentation

static void Sundance::CurveEvalMediator::addFlops ( const double &  flops  )  [inline, static]

Definition at line 110 of file SundanceCurveEvalMediator.hpp.

References totalFlops().

Time & CurveEvalMediator::coordEvaluationTimer (  )  [static]

Definition at line 74 of file SundanceCurveEvalMediator.cpp.

void CurveEvalMediator::evalCellDiameterExpr ( const CellDiameterExpr expr,
RCP< EvalVector > &  vec 
) const [virtual]

void CurveEvalMediator::evalCellVectorExpr ( const CellVectorExpr expr,
RCP< EvalVector > &  vec 
) const [virtual]

void CurveEvalMediator::evalCoordExpr ( const CoordExpr expr,
RCP< EvalVector > &  vec 
) const [virtual]

void CurveEvalMediator::evalCurveNormExpr ( const CurveNormExpr expr,
RCP< EvalVector > &  vec 
) const [virtual]

void CurveEvalMediator::evalDiscreteFuncElement ( const DiscreteFuncElement expr,
const Array< MultiIndex > &  mi,
Array< RCP< EvalVector > > &  vec 
) const [virtual]

RCP<Array<Array<Array<double> > > > Sundance::CurveEvalMediator::getFacetRefBasisVals ( const BasisFamily basis,
int  diffOrder 
) const

int Sundance::CurveEvalMediator::numEvaluationCases (  )  const [inline]

Return the number of different cases for which reference basis functions must be evaluated.

If we're on maximal cells, this will be one. If we're on lower-dimensional cells, this will be equal to the number of cellDim-dimensional facets of the maximal cells.

Definition at line 119 of file SundanceCurveEvalMediator.hpp.

References numEvaluationCases_.

int CurveEvalMediator::numQuadPts ( const CellType cellType  )  const

void CurveEvalMediator::print ( std::ostream &  os  )  const [virtual]

abstract print function

Implements Playa::Printable.

Definition at line 507 of file SundanceCurveEvalMediator.cpp.

void CurveEvalMediator::setCellType ( const CellType cellType,
const CellType maxCellType,
bool  isInternalBdry 
) [virtual]

static double& Sundance::CurveEvalMediator::totalFlops (  )  [inline, static]

Definition at line 106 of file SundanceCurveEvalMediator.hpp.

Referenced by addFlops().


Member Data Documentation

Definition at line 140 of file SundanceCurveEvalMediator.hpp.

Definition at line 128 of file SundanceCurveEvalMediator.hpp.

Referenced by numEvaluationCases(), and setCellType().

Definition at line 134 of file SundanceCurveEvalMediator.hpp.

Referenced by numQuadPts().

ParametrizedCurve Sundance::CurveEvalMediator::paramcurve_ [private]

Definition at line 143 of file SundanceCurveEvalMediator.hpp.

Referenced by evalCoordExpr(), and evalCurveNormExpr().

Definition at line 131 of file SundanceCurveEvalMediator.hpp.

Referenced by evalCoordExpr(), and evalCurveNormExpr().

Site Contact