
Public Member Functions | |
| Derivative (int direction) | |
| Construct an operator for spatial differentiation with respect to the given direction (0=x, 1=y, or 2=z). | |
| virtual | ~Derivative () |
| virtual destructor | |
| virtual XMLObject | toXML () const |
| Write in XML. | |
| virtual bool | isHungryDiffOp () const |
| Indicate whether this expression is a "hungry" differential operator that is awaiting an argument. | |
| virtual std::ostream & | toText (std::ostream &os, bool paren) const |
| Write a simple text description suitable for output to a terminal. | |
| const MultiIndex & | multiIndex () 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. | |
Private Attributes | |
| MultiIndex | m_ |
Definition at line 51 of file SundanceDerivative.hpp.
| Derivative::Derivative | ( | int | direction | ) |
Construct an operator for spatial differentiation with respect to the given direction (0=x, 1=y, or 2=z).
Definition at line 37 of file SundanceDerivative.cpp.
References m_.
| virtual Sundance::Derivative::~Derivative | ( | ) | [inline, virtual] |
| virtual RCP<ExprBase> Sundance::Derivative::getRcp | ( | ) | [inline, virtual] |
Return a safely-created RefCountPtr to the base type.
Implements Playa::Handleable< ExprBase >.
Definition at line 75 of file SundanceDerivative.hpp.
| virtual bool Sundance::Derivative::isHungryDiffOp | ( | ) | const [inline, virtual] |
Indicate whether this expression is a "hungry" differential operator that is awaiting an argument.
Reimplemented from Sundance::ScalarExpr.
Definition at line 66 of file SundanceDerivative.hpp.
| bool Derivative::lessThan | ( | const ScalarExpr * | other | ) | const [virtual] |
Ordering operator for use in transforming exprs to standard form.
Implements Sundance::ScalarExpr.
Definition at line 43 of file SundanceDerivative.cpp.
References multiIndex().
| const MultiIndex& Sundance::Derivative::multiIndex | ( | ) | const [inline] |
Definition at line 72 of file SundanceDerivative.hpp.
References m_.
Referenced by Sundance::ApplySimpleDiffOp::doTransform(), and lessThan().
| std::ostream & Derivative::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 51 of file SundanceDerivative.cpp.
References m_, and Sundance::MultiIndex::toString().
| XMLObject Derivative::toXML | ( | ) | const [virtual] |
Write in XML.
Implements Sundance::ExprBase.
Definition at line 58 of file SundanceDerivative.cpp.
References m_, and Sundance::MultiIndex::toString().
MultiIndex Sundance::Derivative::m_ [private] |
Definition at line 82 of file SundanceDerivative.hpp.
Referenced by Derivative(), multiIndex(), toText(), and toXML().