11 #ifndef PANZER_EVALUATOR_SCATTER_RESIDUAL_TPETRA_DECL_HPP
12 #define PANZER_EVALUATOR_SCATTER_RESIDUAL_TPETRA_DECL_HPP
14 #include "Phalanx_config.hpp"
15 #include "Phalanx_Evaluator_Macros.hpp"
16 #include "Phalanx_MDField.hpp"
20 #include "PanzerDiscFE_config.hpp"
44 template<
typename EvalT,
typename Traits,
typename LO,
typename GO,
typename NodeT=panzer::TpetraNodeType>
57 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
65 : globalIndexer_(indexer) {}
70 void postRegistrationSetup(
typename TRAITS::SetupData d,
73 void preEvaluate(
typename TRAITS::PreEvalData d);
75 void evaluateFields(
typename TRAITS::EvalData workset);
112 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
120 : globalIndexer_(indexer) {}
125 void postRegistrationSetup(
typename TRAITS::SetupData d,
128 void preEvaluate(
typename TRAITS::PreEvalData d);
130 void evaluateFields(
typename TRAITS::EvalData workset);
165 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
174 : globalIndexer_(indexer) {}
179 void postRegistrationSetup(
typename TRAITS::SetupData d,
182 void preEvaluate(
typename TRAITS::PreEvalData d);
184 void evaluateFields(
typename TRAITS::EvalData workset);
226 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
panzer::Traits::Tangent::ScalarT ScalarT
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
ScatterResidual_Tpetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer)
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
int other_derivative_size_
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)
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_
PHX::View< int ** > scratch_lids_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
std::vector< PHX::View< int * > > scratch_offsets_
ScatterResidual_Tpetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer)
Kokkos::View< typename Sacado::ScalarType< ScalarT >::type **, Kokkos::LayoutRight, PHX::Device > scratch_vals_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
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_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
ScatterResidual_Tpetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer)
Kokkos::View< LO **, Kokkos::LayoutRight, PHX::Device > scratch_lids_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::vector< PHX::View< int * > > scratch_offsets_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Non-templated empty base class for template managers.
Teuchos::RCP< const TpetraLinearObjContainer< double, LO, GO, NodeT > > tpetraContainer_
Teuchos::RCP< PHX::FieldTag > scatterHolder_