43 #ifndef __Panzer_GatherSolution_Tpetra_Hessian_hpp__
44 #define __Panzer_GatherSolution_Tpetra_Hessian_hpp__
47 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
57 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
60 public PHX::EvaluatorDerived<panzer::Traits::Hessian, TRAITS>,
67 globalIndexer_(indexer) {}
84 {
TEUCHOS_ASSERT(i < Teuchos::as<int>(gatherFields_.size()));
return gatherFields_[i].fieldTag(); }
108 std::vector< std::vector< PHX::MDField<const ScalarT,Cell,NODE> > >
tangentFields_;
115 #endif // end hessian support
std::vector< std::vector< PHX::MDField< const ScalarT, Cell, NODE > > > tangentFields_
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...
bool useTimeDerivativeSolutionVector_
void evaluateFields(typename TRAITS::EvalData)
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
GatherSolution_Tpetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &indexer)
#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< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Teuchos::RCP< std::vector< std::string > > indexerNames_
Non-templated empty base class for template managers.
GatherSolution_Tpetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &, const Teuchos::ParameterList &)