Public Member Functions | |
| UserDefFunctorElement (const RCP< const UserDefFunctor > &functor, int myIndex) | |
| virtual | ~UserDefFunctorElement () |
| const std::string & | name () const |
| const std::string & | masterName () const |
| void | evalArgDerivs (int maxOrder, const Array< double > &in, Array< double > &outDerivs) const |
| void | getArgDerivIndices (const Array< int > &orders, Sundance::Map< MultiSet< int >, int > &varArgDerivs, Sundance::Map< MultiSet< int >, int > &constArgDerivs) const |
| int | numArgs () const |
| void | reset () const |
| int | myIndex () const |
| const UserDefFunctor * | master () const |
| int | maxOrder () const |
Private Attributes | |
| const RCP< const UserDefFunctor > | master_ |
| const int | myIndex_ |
Definition at line 55 of file SundanceUserDefFunctorElement.hpp.
| UserDefFunctorElement::UserDefFunctorElement | ( | const RCP< const UserDefFunctor > & | functor, | |
| int | myIndex | |||
| ) |
ctor
Definition at line 43 of file SundanceUserDefFunctorElement.cpp.
| virtual Sundance::UserDefFunctorElement::~UserDefFunctorElement | ( | ) | [inline, virtual] |
Definition at line 63 of file SundanceUserDefFunctorElement.hpp.
| void Sundance::UserDefFunctorElement::evalArgDerivs | ( | int | maxOrder, | |
| const Array< double > & | in, | |||
| Array< double > & | outDerivs | |||
| ) | const |
| void Sundance::UserDefFunctorElement::getArgDerivIndices | ( | const Array< int > & | orders, | |
| Sundance::Map< MultiSet< int >, int > & | varArgDerivs, | |||
| Sundance::Map< MultiSet< int >, int > & | constArgDerivs | |||
| ) | const |
| const UserDefFunctor* Sundance::UserDefFunctorElement::master | ( | ) | const [inline] |
| const std::string& Sundance::UserDefFunctorElement::masterName | ( | ) | const [inline] |
| int Sundance::UserDefFunctorElement::maxOrder | ( | ) | const [inline] |
| int Sundance::UserDefFunctorElement::myIndex | ( | ) | const [inline] |
Return the index of this element into the list-valued user defined op
Definition at line 89 of file SundanceUserDefFunctorElement.hpp.
References myIndex_.
Referenced by Sundance::UserDefOpEvaluator::myIndex(), and name().
| const std::string& Sundance::UserDefFunctorElement::name | ( | ) | const [inline] |
Definition at line 66 of file SundanceUserDefFunctorElement.hpp.
References master_, and myIndex().
Referenced by Sundance::UserDefOpElement::toText().
| int Sundance::UserDefFunctorElement::numArgs | ( | ) | const [inline] |
Definition at line 82 of file SundanceUserDefFunctorElement.hpp.
References master_.
Referenced by Sundance::UserDefOpElement::getArgDerivIndices().
| void Sundance::UserDefFunctorElement::reset | ( | ) | const [inline] |
const RCP<const UserDefFunctor> Sundance::UserDefFunctorElement::master_ [private] |
Definition at line 100 of file SundanceUserDefFunctorElement.hpp.
Referenced by master(), masterName(), maxOrder(), name(), numArgs(), and reset().
const int Sundance::UserDefFunctorElement::myIndex_ [private] |