Public Member Functions | |
| CurveNormExpr (int dir, const std::string &name="") | |
| virtual | ~CurveNormExpr () |
| 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 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_ |
CurveNormExpr is an expression that returns the Cartesian coordinate component of the normal vector. Which dimensional component will be returned can be specified in the constructor argument.
The normal vector of the curve is always pointing outwards. This outwards direction is in terms of the parameterized curve equation from positive values to negative values.
Definition at line 61 of file SundanceCurveNormExpr.hpp.
| CurveNormExpr::CurveNormExpr | ( | int | dir, |
| const std::string & | name = "" |
||
| ) |
Definition at line 52 of file SundanceCurveNormExpr.cpp.
| virtual Sundance::CurveNormExpr::~CurveNormExpr | ( | ) | [inline, virtual] |
Definition at line 69 of file SundanceCurveNormExpr.hpp.
| string CurveNormExpr::coordName | ( | int | dir, |
| const std::string & | name | ||
| ) | [static] |
Definition at line 73 of file SundanceCurveNormExpr.cpp.
| int Sundance::CurveNormExpr::dir | ( | ) | const [inline] |
Definition at line 75 of file SundanceCurveNormExpr.hpp.
References dir_.
Referenced by Sundance::CurveEvalMediator::evalCurveNormExpr(), and lessThan().
| virtual RCP<ExprBase> Sundance::CurveNormExpr::getRcp | ( | ) | [inline, virtual] |
Implements Playa::Handleable< ExprBase >.
Definition at line 98 of file SundanceCurveNormExpr.hpp.
| Set< MultipleDeriv > CurveNormExpr::internalFindW | ( | int | order, |
| const EvalContext & | context | ||
| ) | const [virtual] |
Implements Sundance::EvaluatableExpr.
Definition at line 93 of file SundanceCurveNormExpr.cpp.
References Sundance::Set< Key, Compare >::put(), SUNDANCE_VERB_HIGH, and Sundance::ExprBase::toString().
| bool CurveNormExpr::lessThan | ( | const ScalarExpr * | other | ) | const [virtual] |
Ordering operator for use in transforming exprs to standard form
Implements Sundance::ScalarExpr.
Definition at line 58 of file SundanceCurveNormExpr.cpp.
References dir().
| const std::string& Sundance::CurveNormExpr::name | ( | ) | const [inline] |
Definition at line 78 of file SundanceCurveNormExpr.hpp.
References name_.
| virtual std::ostream& Sundance::CurveNormExpr::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 82 of file SundanceCurveNormExpr.hpp.
References name().
| XMLObject CurveNormExpr::toXML | ( | ) | const [virtual] |
Implements Sundance::ExprBase.
Definition at line 65 of file SundanceCurveNormExpr.cpp.
References dir_, name(), and Teuchos::toString().
int Sundance::CurveNormExpr::dir_ [private] |
Definition at line 106 of file SundanceCurveNormExpr.hpp.
std::string Sundance::CurveNormExpr::name_ [private] |
Definition at line 107 of file SundanceCurveNormExpr.hpp.
Referenced by name().