Public Member Functions | |
EFDEEvaluator (const ExplicitFunctionalDerivativeElement *expr, const EvalContext &context) | |
virtual | ~EFDEEvaluator () |
TEUCHOS_TIMER (efdeEvalTimer,"explicit functional deriv evaluation") | |
virtual void | internalEval (const EvalManager &mgr, Array< double > &constantResults, Array< RCP< EvalVector > > &vectorResults) const |
Private Attributes | |
Array< int > | constValIndexToArgIndexMap_ |
Array< int > | varValIndexToArgIndexMap_ |
Definition at line 46 of file SundanceEFDEEvaluator.hpp.
EFDEEvaluator::EFDEEvaluator | ( | const ExplicitFunctionalDerivativeElement * | expr, | |
const EvalContext & | context | |||
) |
Definition at line 45 of file SundanceEFDEEvaluator.cpp.
References Sundance::Evaluator::addConstantIndex(), Sundance::Evaluator::addVectorIndex(), Sundance::UnaryEvaluator< ExplicitFunctionalDerivativeElement >::argEval(), Sundance::UnaryEvaluator< ExplicitFunctionalDerivativeElement >::argSparsitySuperset(), Sundance::ConstantDeriv, constValIndexToArgIndexMap_, Sundance::ExplicitFunctionalDerivativeElement::fd(), Sundance::MultiSet< Key >::put(), Sundance::SubtypeEvaluator< ExplicitFunctionalDerivativeElement >::sparsity(), SUNDANCE_VERB_HIGH, SUNDANCE_VERB_LOW, SUNDANCE_VERB_MEDIUM, Sundance::ExprBase::toString(), and varValIndexToArgIndexMap_.
virtual Sundance::EFDEEvaluator::~EFDEEvaluator | ( | ) | [inline, virtual] |
Definition at line 57 of file SundanceEFDEEvaluator.hpp.
void EFDEEvaluator::internalEval | ( | const EvalManager & | mgr, | |
Array< double > & | constantResults, | |||
Array< RCP< EvalVector > > & | vectorResults | |||
) | const [virtual] |
Implements Sundance::Evaluator.
Definition at line 129 of file SundanceEFDEEvaluator.cpp.
References Sundance::UnaryEvaluator< ExplicitFunctionalDerivativeElement >::argSparsitySuperset(), constValIndexToArgIndexMap_, Sundance::UnaryEvaluator< ExplicitFunctionalDerivativeElement >::evalOperand(), Sundance::SubtypeEvaluator< ExplicitFunctionalDerivativeElement >::expr(), Playa::Out::os(), Sundance::EvalManager::popVector(), Sundance::EvalManager::showResults(), Sundance::SubtypeEvaluator< ExplicitFunctionalDerivativeElement >::sparsity(), SUNDANCE_MSG1, SUNDANCE_MSG3, Sundance::ExprBase::toString(), varValIndexToArgIndexMap_, and Sundance::EvalManager::verb().
Sundance::EFDEEvaluator::TEUCHOS_TIMER | ( | efdeEvalTimer | , | |
"explicit functional deriv evaluation" | ||||
) |
Array<int> Sundance::EFDEEvaluator::constValIndexToArgIndexMap_ [private] |
Definition at line 69 of file SundanceEFDEEvaluator.hpp.
Referenced by EFDEEvaluator(), and internalEval().
Array<int> Sundance::EFDEEvaluator::varValIndexToArgIndexMap_ [private] |
Definition at line 70 of file SundanceEFDEEvaluator.hpp.
Referenced by EFDEEvaluator(), and internalEval().