Public Member Functions | |
| CoordExpr (int dir, const std::string &name="") | |
| virtual | ~CoordExpr () |
| virtual XMLObject | toXML () const |
| int | dir () 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 Set< MultipleDeriv > | internalFindC (int order, const EvalContext &context) const |
| virtual Set< MultipleDeriv > | internalFindV (int order, const EvalContext &context) const |
| virtual RCP< ExprBase > | getRcp () |
| virtual bool | lessThan (const ScalarExpr *other) const |
Static Public Member Functions | |
| static std::string | coordName (int dir, const std::string &name) |
Private Attributes | |
| int | dir_ |
| std::string | name_ |
CoordExpr is an expression that returns one of the cartesian coordinates for each point at which it evaluated. Which coordinate (i.e.,
,
, or
) to be represented is specified by the first argement to the constructor.
Definition at line 60 of file SundanceCoordExpr.hpp.
| CoordExpr::CoordExpr | ( | int | dir, |
| const std::string & | name = "" |
||
| ) |
Definition at line 53 of file SundanceCoordExpr.cpp.
| virtual Sundance::CoordExpr::~CoordExpr | ( | ) | [inline, virtual] |
Definition at line 68 of file SundanceCoordExpr.hpp.
| string CoordExpr::coordName | ( | int | dir, |
| const std::string & | name | ||
| ) | [static] |
Definition at line 74 of file SundanceCoordExpr.cpp.
Referenced by Sundance::CoordDeriv::toString(), and Sundance::DiffOp::toText().
| int Sundance::CoordExpr::dir | ( | ) | const [inline] |
Definition at line 74 of file SundanceCoordExpr.hpp.
References dir_.
Referenced by Sundance::CoordExprEvaluator::CoordExprEvaluator(), Sundance::QuadratureEvalMediator::evalCoordExpr(), Sundance::CurveEvalMediator::evalCoordExpr(), and lessThan().
| virtual RCP<ExprBase> Sundance::CoordExpr::getRcp | ( | ) | [inline, virtual] |
Implements Playa::Handleable< ExprBase >.
Definition at line 97 of file SundanceCoordExpr.hpp.
| Set< MultipleDeriv > CoordExpr::internalFindC | ( | int | order, |
| const EvalContext & | context | ||
| ) | const [virtual] |
Reimplemented from Sundance::EvaluatableExpr.
Definition at line 130 of file SundanceCoordExpr.cpp.
References Sundance::coordDeriv(), dir_, Sundance::MultiSet< Key >::put(), Sundance::Set< Key, Compare >::put(), SUNDANCE_VERB_HIGH, and Sundance::ExprBase::toString().
| Set< MultipleDeriv > CoordExpr::internalFindV | ( | int | order, |
| const EvalContext & | context | ||
| ) | const [virtual] |
Reimplemented from Sundance::EvaluatableExpr.
Definition at line 116 of file SundanceCoordExpr.cpp.
References Sundance::Set< Key, Compare >::put(), SUNDANCE_VERB_HIGH, and Sundance::ExprBase::toString().
| Set< MultipleDeriv > CoordExpr::internalFindW | ( | int | order, |
| const EvalContext & | context | ||
| ) | const [virtual] |
Implements Sundance::EvaluatableExpr.
Definition at line 94 of file SundanceCoordExpr.cpp.
References Sundance::coordDeriv(), dir_, Sundance::MultiSet< Key >::put(), Sundance::Set< Key, Compare >::put(), SUNDANCE_VERB_HIGH, and Sundance::ExprBase::toString().
| bool CoordExpr::lessThan | ( | const ScalarExpr * | other | ) | const [virtual] |
Ordering operator for use in transforming exprs to standard form
Implements Sundance::ScalarExpr.
Definition at line 59 of file SundanceCoordExpr.cpp.
References dir().
| const std::string& Sundance::CoordExpr::name | ( | ) | const [inline] |
Definition at line 77 of file SundanceCoordExpr.hpp.
References name_.
Referenced by Sundance::StringEvalMediator::evalCoordExpr(), toText(), and toXML().
| virtual std::ostream& Sundance::CoordExpr::toText | ( | std::ostream & | os, |
| bool | paren | ||
| ) | const [inline, virtual] |
Write a simple text description suitable for output to a terminal
Implements Sundance::ExprBase.
Definition at line 81 of file SundanceCoordExpr.hpp.
References name().
| XMLObject CoordExpr::toXML | ( | ) | const [virtual] |
Implements Sundance::ExprBase.
Definition at line 66 of file SundanceCoordExpr.cpp.
References dir_, name(), and Teuchos::toString().
int Sundance::CoordExpr::dir_ [private] |
Definition at line 105 of file SundanceCoordExpr.hpp.
Referenced by dir(), internalFindC(), internalFindW(), and toXML().
std::string Sundance::CoordExpr::name_ [private] |
Definition at line 106 of file SundanceCoordExpr.hpp.
Referenced by name().