
Public Member Functions | |
| CurveNormExpr (int dir, const std::string &name="") | |
| virtual | ~CurveNormExpr () |
| virtual XMLObject | toXML () const |
| Write in XML. | |
| int | dir () const |
| const std::string & | name () const |
| virtual std::ostream & | toText (std::ostream &os, bool paren) const |
| Write a simple text description suitable for output to a terminal. | |
| virtual Set< MultipleDeriv > | internalFindW (int order, const EvalContext &context) const |
| virtual RCP< ExprBase > | getRcp () |
| Return a safely-created RefCountPtr to the base type. | |
| virtual bool | lessThan (const ScalarExpr *other) const |
| Ordering operator for use in transforming exprs to standard form. | |
Static Public Member Functions | |
| static std::string | coordName (int dir, const std::string &name) |
Private Attributes | |
| int | dir_ |
| std::string | name_ |
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 50 of file SundanceCurveNormExpr.hpp.
| CurveNormExpr::CurveNormExpr | ( | int | dir, | |
| const std::string & | name = "" | |||
| ) |
Definition at line 41 of file SundanceCurveNormExpr.cpp.
| virtual Sundance::CurveNormExpr::~CurveNormExpr | ( | ) | [inline, virtual] |
Definition at line 58 of file SundanceCurveNormExpr.hpp.
| string CurveNormExpr::coordName | ( | int | dir, | |
| const std::string & | name | |||
| ) | [static] |
Definition at line 62 of file SundanceCurveNormExpr.cpp.
| int Sundance::CurveNormExpr::dir | ( | ) | const [inline] |
Definition at line 64 of file SundanceCurveNormExpr.hpp.
References dir_.
Referenced by Sundance::CurveEvalMediator::evalCurveNormExpr(), and lessThan().
| virtual RCP<ExprBase> Sundance::CurveNormExpr::getRcp | ( | ) | [inline, virtual] |
Return a safely-created RefCountPtr to the base type.
Implements Playa::Handleable< ExprBase >.
Definition at line 87 of file SundanceCurveNormExpr.hpp.
| Set< MultipleDeriv > CurveNormExpr::internalFindW | ( | int | order, | |
| const EvalContext & | context | |||
| ) | const [virtual] |
Implements Sundance::EvaluatableExpr.
Definition at line 82 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 47 of file SundanceCurveNormExpr.cpp.
References dir().
| const std::string& Sundance::CurveNormExpr::name | ( | ) | const [inline] |
| 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 71 of file SundanceCurveNormExpr.hpp.
References name().
| XMLObject CurveNormExpr::toXML | ( | ) | const [virtual] |
Write in XML.
Implements Sundance::ExprBase.
Definition at line 54 of file SundanceCurveNormExpr.cpp.
References dir_, name(), and Teuchos::toString().
int Sundance::CurveNormExpr::dir_ [private] |
std::string Sundance::CurveNormExpr::name_ [private] |