43 #ifndef PANZER_EVALUATOR_SCATTER_DIRICHLET_RESIDUAL_EPETRA_DECL_HPP
44 #define PANZER_EVALUATOR_SCATTER_DIRICHLET_RESIDUAL_EPETRA_DECL_HPP
46 #include "Phalanx_config.hpp"
47 #include "Phalanx_Evaluator_Macros.hpp"
48 #include "Phalanx_MDField.hpp"
52 #include "PanzerDiscFE_config.hpp"
63 class EpetraLinearObjContainer;
65 template <
typename LocalOrdinalT,
typename GlobalOrdinalT>
66 class UniqueGlobalIndexer;
88 template<
typename TRAITS,
typename LO,
typename GO>
91 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
97 : globalIndexer_(indexer) {}
103 void postRegistrationSetup(
typename TRAITS::SetupData d,
106 void preEvaluate(
typename TRAITS::PreEvalData d);
108 void evaluateFields(
typename TRAITS::EvalData workset);
152 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
158 template<
typename TRAITS,
typename LO,
typename GO>
161 public PHX::EvaluatorDerived<panzer::Traits::Tangent, TRAITS>,
167 : globalIndexer_(indexer) {}
173 void postRegistrationSetup(
typename TRAITS::SetupData d,
176 void preEvaluate(
typename TRAITS::PreEvalData d);
178 void evaluateFields(
typename TRAITS::EvalData workset);
224 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
230 template<
typename TRAITS,
typename LO,
typename GO>
233 public PHX::EvaluatorDerived<panzer::Traits::Jacobian, TRAITS>,
239 : globalIndexer_(indexer), colGlobalIndexer_(cIndexer) {}
245 void preEvaluate(
typename TRAITS::PreEvalData d);
247 void postRegistrationSetup(
typename TRAITS::SetupData d,
250 void evaluateFields(
typename TRAITS::EvalData workset);
293 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
301 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
ScatterDirichletResidual_Epetra(const Teuchos::RCP< const UniqueGlobalIndexer< LO, GO > > &indexer, const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &cIndexer=Teuchos::null)
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
std::vector< Teuchos::RCP< Epetra_Vector > > dfdp_vectors_
panzer::Traits::Tangent::ScalarT ScalarT
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
std::size_t side_subcell_dim_
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
std::vector< int > fieldIds_
Teuchos::RCP< const EpetraLinearObjContainer > epetraContainer_
Teuchos::RCP< Epetra_Vector > dirichletCounter_
std::string globalDataKey_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::vector< int > fieldIds_
Teuchos::RCP< const EpetraLinearObjContainer > epetraContainer_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
Teuchos::RCP< Epetra_Vector > dirichletCounter_
ScatterDirichletResidual_Epetra()
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
std::vector< int > fieldIds_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
ScatterDirichletResidual_Epetra(const Teuchos::RCP< const UniqueGlobalIndexer< LO, GO > > &indexer, const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &)
std::size_t local_side_id_
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.
ScatterDirichletResidual_Epetra()
std::size_t side_subcell_dim_
Teuchos::RCP< const EpetraLinearObjContainer > epetraContainer_
std::size_t local_side_id_
std::size_t side_subcell_dim_
panzer::Traits::Jacobian::ScalarT ScalarT
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
std::string globalDataKey_
std::size_t local_side_id_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
Teuchos::RCP< Epetra_Vector > dirichletCounter_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
panzer::Traits::Residual::ScalarT ScalarT
ScatterDirichletResidual_Epetra(const Teuchos::RCP< const UniqueGlobalIndexer< LO, GO > > &indexer, const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &)
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
std::string globalDataKey_
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
Non-templated empty base class for template managers.
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
Pushes residual values into the residual vector for a Newton-based solve.