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"
17 #include "Phalanx_KokkosViewOfViews.hpp"
21 #include "PanzerDiscFE_config.hpp"
45 template<
typename EvalT,
typename Traits,
typename LO,
typename GO,
typename NodeT=panzer::TpetraNodeType>
58 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
66 : globalIndexer_(indexer) {}
71 void postRegistrationSetup(
typename TRAITS::SetupData d,
74 void preEvaluate(
typename TRAITS::PreEvalData d);
76 void evaluateFields(
typename TRAITS::EvalData workset);
113 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
121 : globalIndexer_(indexer) {}
126 void postRegistrationSetup(
typename TRAITS::SetupData d,
129 void preEvaluate(
typename TRAITS::PreEvalData d);
131 void evaluateFields(
typename TRAITS::EvalData workset);
172 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
181 : globalIndexer_(indexer) {}
186 void postRegistrationSetup(
typename TRAITS::SetupData d,
189 void preEvaluate(
typename TRAITS::PreEvalData d);
191 void evaluateFields(
typename TRAITS::EvalData workset);
233 #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)
PHX::View< int ** > scratch_lids_
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_
Teuchos::RCP< const TpetraLinearObjContainer< double, LO, GO, NodeT > > tpetraContainer_
int other_derivative_size_
std::vector< int > fieldIds_
PHX::ViewOfViews< 1, Kokkos::View< RealT **, Kokkos::LayoutLeft, PHX::Device > > dfdpFieldsVoV_
Storage for the tangent data.
std::string globalDataKey_
panzer::Traits::Residual::ScalarT ScalarT
Teuchos::RCP< const TpetraLinearObjContainer< double, LO, GO, NodeT > > tpetraContainer_
panzer::Traits::RealType RealT
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::string globalDataKey_
std::string globalDataKey_
PHX::View< int ** > scratch_lids_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
std::vector< PHX::View< int * > > scratch_offsets_
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_