43 #ifndef __Panzer_ScatterResidual_Epetra_Hessian_hpp__
44 #define __Panzer_ScatterResidual_Epetra_Hessian_hpp__
47 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
57 template<
typename TRAITS,
typename LO,
typename GO>
60 public PHX::EvaluatorDerived<panzer::Traits::Hessian, TRAITS>,
66 bool useDiscreteAdjoint=
false)
67 : globalIndexer_(indexer), colGlobalIndexer_(cIndexer), useDiscreteAdjoint_(useDiscreteAdjoint) {}
73 void postRegistrationSetup(
typename TRAITS::SetupData d,
76 void preEvaluate(
typename TRAITS::PreEvalData d);
78 void evaluateFields(
typename TRAITS::EvalData workset);
std::vector< int > fieldIds_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
panzer::Traits::Hessian::ScalarT ScalarT
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
std::string globalDataKey_
ScatterResidual_Epetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &indexer, const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &cIndexer=Teuchos::null, bool useDiscreteAdjoint=false)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Pushes residual values into the residual vector for a Newton-based solve.
Teuchos::RCP< const EpetraLinearObjContainer > epetraContainer_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
Non-templated empty base class for template managers.
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_