43#ifndef __Panzer_ScatterResidual_Tpetra_Hessian_hpp__
44#define __Panzer_ScatterResidual_Tpetra_Hessian_hpp__
47#ifdef Panzer_BUILD_HESSIAN_SUPPORT
57template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
60 public PHX::EvaluatorDerived<panzer::Traits::Hessian, TRAITS>,
65 : globalIndexer_(indexer) {}
68 const Teuchos::ParameterList& p);
70 void postRegistrationSetup(
typename TRAITS::SetupData d,
73 void preEvaluate(
typename TRAITS::PreEvalData d);
75 void evaluateFields(
typename TRAITS::EvalData workset);
77 virtual Teuchos::RCP<CloneableEvaluator>
clone(
const Teuchos::ParameterList & pl)
const
98 Teuchos::RCP<const std::map<std::string,std::string> >
fieldMap_;
Non-templated empty base class for template managers.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
std::vector< int > fieldIds_
Teuchos::RCP< const TpetraLinearObjContainer< double, LO, GO, NodeT > > tpetraContainer_
ScatterResidual_Tpetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer)
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::string globalDataKey_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
panzer::Traits::Hessian::ScalarT ScalarT
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
Pushes residual values into the residual vector for a Newton-based solve.