43 #ifndef PANZER_EVALUATOR_SCATTER_RESIDUAL_TPETRA_DECL_HPP 44 #define PANZER_EVALUATOR_SCATTER_RESIDUAL_TPETRA_DECL_HPP 46 #include "Phalanx_config.hpp" 47 #include "Phalanx_Evaluator_Macros.hpp" 48 #include "Phalanx_MDField.hpp" 52 #include "PanzerDiscFE_config.hpp" 66 template <
typename LocalOrdinalT,
typename GlobalOrdinalT>
67 class UniqueGlobalIndexer;
77 template<
typename EvalT,
typename Traits,
typename LO,
typename GO,
typename NodeT=panzer::TpetraNodeType>
90 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
93 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
98 : globalIndexer_(indexer) {}
103 void postRegistrationSetup(
typename TRAITS::SetupData d,
106 void preEvaluate(
typename TRAITS::PreEvalData d);
108 void evaluateFields(
typename TRAITS::EvalData workset);
142 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
145 public PHX::EvaluatorDerived<panzer::Traits::Tangent, TRAITS>,
150 : globalIndexer_(indexer) {}
155 void postRegistrationSetup(
typename TRAITS::SetupData d,
158 void preEvaluate(
typename TRAITS::PreEvalData d);
160 void evaluateFields(
typename TRAITS::EvalData workset);
195 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
198 public PHX::EvaluatorDerived<panzer::Traits::Jacobian, TRAITS>,
204 : globalIndexer_(indexer) {}
209 void postRegistrationSetup(
typename TRAITS::SetupData d,
212 void preEvaluate(
typename TRAITS::PreEvalData d);
214 void evaluateFields(
typename TRAITS::EvalData workset);
252 #ifdef Panzer_BUILD_HESSIAN_SUPPORT panzer::Traits::Tangent::ScalarT ScalarT
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
std::vector< int > fieldIds_
std::string globalDataKey_
panzer::Traits::Residual::ScalarT ScalarT
Teuchos::RCP< const TpetraLinearObjContainer< double, LO, GO, NodeT > > tpetraContainer_
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
ScatterResidual_Tpetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &indexer)
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
std::vector< int > fieldIds_
std::vector< Teuchos::ArrayRCP< double > > dfdp_vectors_
std::string globalDataKey_
std::string globalDataKey_
std::vector< Kokkos::View< int *, PHX::Device > > scratch_offsets_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
ScatterResidual_Tpetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &indexer)
Pushes residual values into the residual vector for a Newton-based solve.
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
panzer::Traits::Jacobian::ScalarT ScalarT
std::vector< int > fieldIds_
ScatterResidual_Tpetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &indexer)
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Kokkos::View< int **, PHX::Device > scratch_lids_
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Non-templated empty base class for template managers.
Teuchos::RCP< const TpetraLinearObjContainer< double, LO, GO, NodeT > > tpetraContainer_
Teuchos::RCP< PHX::FieldTag > scatterHolder_