44 #ifndef PANZER_EVALUATOR_SCATTER_RESIDUAL_TPETRA_SG_DECL_HPP
45 #define PANZER_EVALUATOR_SCATTER_RESIDUAL_TPETRA_SG_DECL_HPP
56 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
59 public PHX::EvaluatorDerived<panzer::Traits::SGResidual, TRAITS>,
64 : globalIndexer_(indexer) {}
69 void postRegistrationSetup(
typename TRAITS::SetupData d,
72 void evaluateFields(
typename TRAITS::EvalData workset);
105 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
108 public PHX::EvaluatorDerived<panzer::Traits::SGJacobian, TRAITS>,
114 : globalIndexer_(indexer) {}
119 void postRegistrationSetup(
typename TRAITS::SetupData d,
122 void evaluateFields(
typename TRAITS::EvalData workset);
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
std::vector< int > fieldIds_
std::string globalDataKey_
panzer::Traits::SGResidual::ScalarT ScalarT
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::vector< PHX::MDField< ScalarT, Cell, NODE > > scatterFields_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const SGTpetraLinearObjContainer< double, LO, GO, NodeT > > sgTpetraContainer_
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
panzer::Traits::SGJacobian::ScalarT ScalarT
ScatterResidual_Tpetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &indexer)
std::string globalDataKey_
Teuchos::RCP< const SGTpetraLinearObjContainer< double, LO, GO, NodeT > > sgTpetraContainer_
Pushes residual values into the residual vector for a Newton-based solve.
std::vector< int > fieldIds_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::vector< PHX::MDField< ScalarT, Cell, NODE > > scatterFields_
ScatterResidual_Tpetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &indexer)
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Non-templated empty base class for template managers.