43 #ifndef __Panzer_ScatterResidual_Tpetra_Hessian_hpp__
44 #define __Panzer_ScatterResidual_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>,
65 : globalIndexer_(indexer) {}
70 void postRegistrationSetup(
typename TRAITS::SetupData d,
73 void preEvaluate(
typename TRAITS::PreEvalData d);
75 void evaluateFields(
typename TRAITS::EvalData workset);
108 #endif // end hessian support
ScatterResidual_Tpetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &indexer)
std::string globalDataKey_
std::vector< int > fieldIds_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
panzer::Traits::Hessian::ScalarT ScalarT
Teuchos::RCP< PHX::FieldTag > scatterHolder_
Pushes residual values into the residual vector for a Newton-based solve.
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const TpetraLinearObjContainer< double, LO, GO, NodeT > > tpetraContainer_
Non-templated empty base class for template managers.