11 #ifndef PANZER_EVALUATOR_SCATTER_DIRICHLET_RESIDUAL_TPETRA_DECL_HPP
12 #define PANZER_EVALUATOR_SCATTER_DIRICHLET_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"
43 template<
typename EvalT,
typename Traits,
typename LO,
typename GO,
typename NodeT=panzer::TpetraNodeType>
56 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
64 : globalIndexer_(indexer) {}
69 void postRegistrationSetup(
typename TRAITS::SetupData d,
72 void preEvaluate(
typename TRAITS::PreEvalData d);
74 void evaluateFields(
typename TRAITS::EvalData workset);
117 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
127 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
135 : globalIndexer_(indexer) {}
140 void postRegistrationSetup(
typename TRAITS::SetupData d,
143 void preEvaluate(
typename TRAITS::PreEvalData d);
145 void evaluateFields(
typename TRAITS::EvalData workset);
190 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
203 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
211 : globalIndexer_(indexer) {}
216 void preEvaluate(
typename TRAITS::PreEvalData d);
218 void postRegistrationSetup(
typename TRAITS::SetupData d,
221 void evaluateFields(
typename TRAITS::EvalData workset);
265 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
271 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
TpetraLinearObjContainer< double, LO, GO, NodeT > LOC
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
std::size_t local_side_id_
std::vector< PHX::View< int * > > scratch_offsets_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
panzer::Traits::Tangent::ScalarT ScalarT
std::size_t side_subcell_dim_
std::vector< PHX::View< int * > > scratch_basisIds_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
ScatterDirichletResidual_Tpetra(const Teuchos::RCP< const GlobalIndexer > &indexer)
std::vector< PHX::View< int * > > scratch_offsets_
std::vector< Teuchos::ArrayRCP< double > > dfdp_vectors_
PHX::ViewOfViews< 1, Kokkos::View< RealT **, Kokkos::LayoutLeft, PHX::Device > > dfdpFieldsVoV_
Storage for the tangent data.
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
std::string globalDataKey_
Teuchos::RCP< const LOC > tpetraContainer_
std::size_t side_subcell_dim_
panzer::Traits::Residual::ScalarT ScalarT
std::string globalDataKey_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
std::vector< int > fieldIds_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
ScatterDirichletResidual_Tpetra(const Teuchos::RCP< const GlobalIndexer > &indexer)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Teuchos::RCP< PHX::FieldTag > scatterHolder_
ScatterDirichletResidual_Tpetra()
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
std::size_t side_subcell_dim_
Pushes residual values into the residual vector for a Newton-based solve.
TpetraLinearObjContainer< double, LO, GO, NodeT > LOC
std::vector< int > fieldIds_
Teuchos::RCP< typename LOC::VectorType > dirichletCounter_
Teuchos::RCP< const LOC > tpetraContainer_
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
std::vector< int > fieldIds_
ScatterDirichletResidual_Tpetra()
Teuchos::RCP< PHX::FieldTag > scatterHolder_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
PHX::View< int ** > scratch_lids_
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
PHX::View< int ** > scratch_lids_
ScatterDirichletResidual_Tpetra(const Teuchos::RCP< const GlobalIndexer > &indexer)
Teuchos::RCP< PHX::FieldTag > scatterHolder_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const TpetraLinearObjContainer< double, LO, GO, NodeT > > tpetraContainer_
std::vector< PHX::View< int * > > scratch_basisIds_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
panzer::Traits::RealType RealT
std::size_t local_side_id_
Teuchos::RCP< typename LOC::VectorType > dirichletCounter_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
TpetraLinearObjContainer< double, LO, GO, NodeT > LOC
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
Teuchos::RCP< typename LOC::VectorType > dirichletCounter_
std::size_t local_side_id_
Non-templated empty base class for template managers.
std::string globalDataKey_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
panzer::Traits::Jacobian::ScalarT ScalarT