12 #ifndef __Panzer_GatherSolution_Tpetra_Hessian_hpp__
13 #define __Panzer_GatherSolution_Tpetra_Hessian_hpp__
16 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
26 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
36 globalIndexer_(indexer) {}
53 {
TEUCHOS_ASSERT(i < Teuchos::as<int>(gatherFields_.size()));
return gatherFields_[i].fieldTag(); }
77 std::vector< std::vector< PHX::MDField<const ScalarT,Cell,NODE> > >
tangentFields_;
84 #endif // end hessian support
std::vector< std::vector< PHX::MDField< const ScalarT, Cell, NODE > > > tangentFields_
GatherSolution_Tpetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer)
const PHX::FieldTag & getFieldTag(int i) const
std::vector< int > fieldIds_
void postRegistrationSetup(typename TRAITS::SetupData, PHX::FieldManager< TRAITS > &)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
void preEvaluate(typename TRAITS::PreEvalData)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Gathers solution values from the Newton solution vector into the nodal fields of the field manager...
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
bool useTimeDerivativeSolutionVector_
void evaluateFields(typename TRAITS::EvalData)
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
#define TEUCHOS_ASSERT(assertion_test)
std::string globalDataKey_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const TpetraLinearObjContainer< double, LO, GO, NodeT > > tpetraContainer_
panzer::Traits::Hessian::ScalarT ScalarT
Teuchos::RCP< std::vector< std::string > > indexerNames_
GatherSolution_Tpetra(const Teuchos::RCP< const panzer::GlobalIndexer > &, const Teuchos::ParameterList &)
Non-templated empty base class for template managers.