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"
64 template <
typename LocalOrdinalT,
typename GlobalOrdinalT>
65 class UniqueGlobalIndexer;
75 template<
typename EvalT,
typename Traits,
typename LO,
typename GO,
typename NodeT=panzer::TpetraNodeType>
88 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
91 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
96 : globalIndexer_(indexer) {}
101 void postRegistrationSetup(
typename TRAITS::SetupData d,
104 void preEvaluate(
typename TRAITS::PreEvalData d);
106 void evaluateFields(
typename TRAITS::EvalData workset);
151 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
157 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
160 public PHX::EvaluatorDerived<panzer::Traits::Tangent, TRAITS>,
165 : globalIndexer_(indexer) {}
170 void postRegistrationSetup(
typename TRAITS::SetupData d,
173 void preEvaluate(
typename TRAITS::PreEvalData d);
175 void evaluateFields(
typename TRAITS::EvalData workset);
221 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
227 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
230 public PHX::EvaluatorDerived<panzer::Traits::Jacobian, TRAITS>,
235 : globalIndexer_(indexer) {}
240 void preEvaluate(
typename TRAITS::PreEvalData d);
242 void postRegistrationSetup(
typename TRAITS::SetupData d,
245 void evaluateFields(
typename TRAITS::EvalData workset);
289 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
295 #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_
panzer::Traits::Tangent::ScalarT ScalarT
ScatterDirichletResidual_Tpetra(const Teuchos::RCP< const UniqueGlobalIndexer< LO, GO > > &indexer)
ScatterDirichletResidual_Tpetra(const Teuchos::RCP< const UniqueGlobalIndexer< LO, GO > > &indexer)
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
std::size_t side_subcell_dim_
std::vector< Teuchos::ArrayRCP< double > > dfdp_vectors_
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
ScatterDirichletResidual_Tpetra(const Teuchos::RCP< const UniqueGlobalIndexer< LO, GO > > &indexer)
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
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.
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
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_
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Non-templated empty base class for template managers.
std::string globalDataKey_
panzer::Traits::Jacobian::ScalarT ScalarT