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< MultipleDeriv > | internalFindW (int order, const EvalContext &context) const |
virtual RCP< ExprBase > | getRcp () |
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) |
Definition at line 51 of file SundanceCellVectorExpr.hpp.
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.
int Sundance::CellVectorExpr::basisMemberIndex | ( | ) | const [inline] |
int Sundance::CellVectorExpr::componentIndex | ( | ) | const [inline] |
Definition at line 83 of file SundanceCellVectorExpr.hpp.
References componentIndex_.
Referenced by Sundance::CurveEvalMediator::evalCellVectorExpr().
int Sundance::CellVectorExpr::dimension | ( | ) | const [inline] |
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] |
Implements Sundance::EvaluatableExpr.
Definition at line 114 of file SundanceCellVectorExpr.cpp.
References Sundance::Set< Key, Compare >::put().
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().
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.
int Sundance::CellVectorExpr::basisMemberIndex_ [private] |
Definition at line 114 of file SundanceCellVectorExpr.hpp.
Referenced by basisMemberIndex(), and lessThan().
int Sundance::CellVectorExpr::componentIndex_ [private] |
Definition at line 115 of file SundanceCellVectorExpr.hpp.
Referenced by componentIndex(), and lessThan().
int Sundance::CellVectorExpr::dim_ [private] |
Definition at line 112 of file SundanceCellVectorExpr.hpp.
Referenced by dimension(), and lessThan().
std::string Sundance::CellVectorExpr::name_ [private] |
Definition at line 113 of file SundanceCellVectorExpr.hpp.
Referenced by isTangent(), and lessThan().