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;
86 template<
typename TRAITS,
typename LO,
typename GO>
89 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
95 : globalIndexer_(indexer) {}
101 void postRegistrationSetup(
typename TRAITS::SetupData d,
104 void preEvaluate(
typename TRAITS::PreEvalData d);
106 void evaluateFields(
typename TRAITS::EvalData workset);
150 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
156 template<
typename TRAITS,
typename LO,
typename GO>
159 public PHX::EvaluatorDerived<panzer::Traits::Tangent, TRAITS>,
165 : globalIndexer_(indexer) {}
171 void postRegistrationSetup(
typename TRAITS::SetupData d,
174 void preEvaluate(
typename TRAITS::PreEvalData d);
176 void evaluateFields(
typename TRAITS::EvalData workset);
222 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
228 template<
typename TRAITS,
typename LO,
typename GO>
231 public PHX::EvaluatorDerived<panzer::Traits::Jacobian, TRAITS>,
237 : globalIndexer_(indexer), colGlobalIndexer_(cIndexer) {}
243 void preEvaluate(
typename TRAITS::PreEvalData d);
245 void postRegistrationSetup(
typename TRAITS::SetupData d,
248 void evaluateFields(
typename TRAITS::EvalData workset);
291 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
299 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
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_
ScatterDirichletResidual_Epetra(const Teuchos::RCP< const GlobalIndexer > &indexer, const Teuchos::RCP< const panzer::GlobalIndexer > &cIndexer=Teuchos::null)
std::vector< int > fieldIds_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
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 std::map< std::string, std::string > > fieldMap_
ScatterDirichletResidual_Epetra(const Teuchos::RCP< const GlobalIndexer > &indexer, const Teuchos::RCP< const panzer::GlobalIndexer > &)
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
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
std::string globalDataKey_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
ScatterDirichletResidual_Epetra(const Teuchos::RCP< const GlobalIndexer > &indexer, const Teuchos::RCP< const panzer::GlobalIndexer > &)
Non-templated empty base class for template managers.
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Pushes residual values into the residual vector for a Newton-based solve.