43 #ifndef PANZER_EVALUATOR_SCATTER_DIRICHLET_RESIDUAL_TPETRA_DECL_HPP
44 #define PANZER_EVALUATOR_SCATTER_DIRICHLET_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"
74 template<
typename EvalT,
typename Traits,
typename LO,
typename GO,
typename NodeT=panzer::TpetraNodeType>
87 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
90 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
95 : globalIndexer_(indexer) {}
100 void postRegistrationSetup(
typename TRAITS::SetupData d,
103 void preEvaluate(
typename TRAITS::PreEvalData d);
105 void evaluateFields(
typename TRAITS::EvalData workset);
150 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
156 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
159 public PHX::EvaluatorDerived<panzer::Traits::Tangent, TRAITS>,
164 : globalIndexer_(indexer) {}
169 void postRegistrationSetup(
typename TRAITS::SetupData d,
172 void preEvaluate(
typename TRAITS::PreEvalData d);
174 void evaluateFields(
typename TRAITS::EvalData workset);
220 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
226 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
229 public PHX::EvaluatorDerived<panzer::Traits::Jacobian, TRAITS>,
234 : globalIndexer_(indexer) {}
239 void preEvaluate(
typename TRAITS::PreEvalData d);
241 void postRegistrationSetup(
typename TRAITS::SetupData d,
244 void evaluateFields(
typename TRAITS::EvalData workset);
288 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
294 #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_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
panzer::Traits::Tangent::ScalarT ScalarT
std::size_t side_subcell_dim_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
ScatterDirichletResidual_Tpetra(const Teuchos::RCP< const GlobalIndexer > &indexer)
std::vector< Teuchos::ArrayRCP< double > > dfdp_vectors_
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.
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
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::MDField< const ScalarT, Cell, NODE > > scatterFields_
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