Public Member Functions | Private Attributes | Related Functions
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 62 of file SundanceCellVectorExpr.hpp.


Constructor & Destructor Documentation

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

Definition at line 95 of file SundanceCellVectorExpr.cpp.

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

Definition at line 85 of file SundanceCellVectorExpr.cpp.

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

Definition at line 85 of file SundanceCellVectorExpr.hpp.


Member Function Documentation

Definition at line 97 of file SundanceCellVectorExpr.hpp.

References basisMemberIndex_.

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

Definition at line 100 of file SundanceCellVectorExpr.hpp.

References dim_.

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

Implements Playa::Handleable< ExprBase >.

Definition at line 117 of file SundanceCellVectorExpr.hpp.

Set< MultipleDeriv > CellVectorExpr::internalFindW ( int  order,
const EvalContext context 
) const [virtual]
bool Sundance::CellVectorExpr::isNormal ( ) const [inline]
bool Sundance::CellVectorExpr::isTangent ( ) const [inline]

Definition at line 88 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 101 of file SundanceCellVectorExpr.cpp.

References basisMemberIndex_, componentIndex_, dim_, and type_.

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

Definition at line 105 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 137 of file SundanceCellVectorExpr.cpp.

References name().

XMLObject CellVectorExpr::toXML ( ) const [virtual]

Implements Sundance::ExprBase.

Definition at line 115 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 60 of file SundanceCellVectorExpr.cpp.

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

Definition at line 72 of file SundanceCellVectorExpr.cpp.


Member Data Documentation

Definition at line 125 of file SundanceCellVectorExpr.hpp.

Referenced by basisMemberIndex(), and lessThan().

Definition at line 126 of file SundanceCellVectorExpr.hpp.

Referenced by componentIndex(), and lessThan().

Definition at line 123 of file SundanceCellVectorExpr.hpp.

Referenced by dimension(), and lessThan().

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

Definition at line 122 of file SundanceCellVectorExpr.hpp.

Referenced by name(), and toXML().

Definition at line 124 of file SundanceCellVectorExpr.hpp.

Referenced by isTangent(), and lessThan().

Site Contact