Sundance::CellVectorExpr Class Reference

Inheritance diagram for Sundance::CellVectorExpr:

Sundance::EvaluatableExpr Sundance::GenericEvaluatorFactory< CellVectorExpr, CellVectorEvaluator > Sundance::ScalarExpr Sundance::EvaluatorFactory Sundance::FuncSetAccumulator Sundance::ObjectWithClassVerbosity< EvaluatableExpr > Sundance::EvaluatorFactory Sundance::ExprBase Playa::ObjectWithVerbosity Playa::Handleable< ExprBase >

List of all members.

Public Member Functions

 CellVectorExpr (int normalComponentIndex, int dimension, const std::string &name)
 CellVectorExpr (int tangentBasisIndex, int tangentComponentIndex, int dimension, const std::string &name)
virtual ~CellVectorExpr ()
bool isTangent () const
bool isNormal () const
int componentIndex () const
int basisMemberIndex () const
int dimension () const
virtual XMLObject toXML () const
const std::string & name () const
virtual std::ostream & toText (std::ostream &os, bool paren) const
virtual Set< MultipleDerivinternalFindW (int order, const EvalContext &context) const
virtual RCP< ExprBasegetRcp ()
virtual bool lessThan (const ScalarExpr *other) const

Private Attributes

std::string name_
int dim_
CellVectorExprType type_
int basisMemberIndex_
int componentIndex_

Related Functions

(Note that these are not member functions.)

Expr CellNormalExpr (int dimension, const std::string &name)
Expr CellTangentExpr (int dimension, const std::string &name)


Detailed Description

Expression that returns a component of a cell-determined vector for each cell on which it is evaluated. This makes sense only for boundary cells.

Definition at line 51 of file SundanceCellVectorExpr.hpp.


Constructor & Destructor Documentation

CellVectorExpr::CellVectorExpr ( int  normalComponentIndex,
int  dimension,
const std::string &  name 
)

Definition at line 84 of file SundanceCellVectorExpr.cpp.

CellVectorExpr::CellVectorExpr ( int  tangentBasisIndex,
int  tangentComponentIndex,
int  dimension,
const std::string &  name 
)

Definition at line 74 of file SundanceCellVectorExpr.cpp.

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

Definition at line 74 of file SundanceCellVectorExpr.hpp.


Member Function Documentation

int Sundance::CellVectorExpr::basisMemberIndex (  )  const [inline]

Definition at line 86 of file SundanceCellVectorExpr.hpp.

References basisMemberIndex_.

int Sundance::CellVectorExpr::componentIndex (  )  const [inline]

int Sundance::CellVectorExpr::dimension (  )  const [inline]

Definition at line 89 of file SundanceCellVectorExpr.hpp.

References dim_.

virtual RCP<ExprBase> Sundance::CellVectorExpr::getRcp (  )  [inline, virtual]

Implements Playa::Handleable< ExprBase >.

Definition at line 106 of file SundanceCellVectorExpr.hpp.

Set< MultipleDeriv > CellVectorExpr::internalFindW ( int  order,
const EvalContext context 
) const [virtual]

bool Sundance::CellVectorExpr::isNormal (  )  const [inline]

Definition at line 80 of file SundanceCellVectorExpr.hpp.

References isTangent().

Referenced by Sundance::CurveEvalMediator::evalCellVectorExpr().

bool Sundance::CellVectorExpr::isTangent (  )  const [inline]

Definition at line 77 of file SundanceCellVectorExpr.hpp.

References Sundance::CellTangentSpace, and type_.

Referenced by isNormal().

bool CellVectorExpr::lessThan ( const ScalarExpr other  )  const [virtual]

Ordering operator for use in transforming exprs to standard form

Implements Sundance::ScalarExpr.

Definition at line 90 of file SundanceCellVectorExpr.cpp.

References basisMemberIndex_, componentIndex_, dim_, and type_.

const std::string& Sundance::CellVectorExpr::name (  )  const [inline]

Definition at line 94 of file SundanceCellVectorExpr.hpp.

References name_.

Referenced by Sundance::StringEvalMediator::evalCellVectorExpr(), and toText().

std::ostream & CellVectorExpr::toText ( std::ostream &  os,
bool  paren 
) const [virtual]

Write a simple text description suitable for output to a terminal

Implements Sundance::ExprBase.

Definition at line 126 of file SundanceCellVectorExpr.cpp.

References name().

XMLObject CellVectorExpr::toXML (  )  const [virtual]

Implements Sundance::ExprBase.

Definition at line 104 of file SundanceCellVectorExpr.cpp.

References name_.

Referenced by Sundance::StringEvalMediator::evalCellVectorExpr().


Friends And Related Function Documentation

Expr CellNormalExpr ( int  dimension,
const std::string &  name 
) [related]

Definition at line 49 of file SundanceCellVectorExpr.cpp.

Expr CellTangentExpr ( int  dimension,
const std::string &  name 
) [related]

Definition at line 61 of file SundanceCellVectorExpr.cpp.


Member Data Documentation

Definition at line 114 of file SundanceCellVectorExpr.hpp.

Referenced by basisMemberIndex(), and lessThan().

Definition at line 115 of file SundanceCellVectorExpr.hpp.

Referenced by componentIndex(), and lessThan().

Definition at line 112 of file SundanceCellVectorExpr.hpp.

Referenced by dimension(), and lessThan().

std::string Sundance::CellVectorExpr::name_ [private]

Definition at line 111 of file SundanceCellVectorExpr.hpp.

Referenced by name(), and toXML().

Definition at line 113 of file SundanceCellVectorExpr.hpp.

Referenced by isTangent(), and lessThan().

Site Contact