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"
50#include "Teuchos_ParameterList.hpp"
52#include "PanzerDiscFE_config.hpp"
63class EpetraLinearObjContainer;
86template<
typename TRAITS,
typename LO,
typename GO>
89 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
94 const Teuchos::RCP<const panzer::GlobalIndexer> & )
95 : globalIndexer_(indexer) {}
98 const Teuchos::RCP<const panzer::GlobalIndexer> & cIndexer,
99 const Teuchos::ParameterList& p);
101 void postRegistrationSetup(
typename TRAITS::SetupData d,
104 void preEvaluate(
typename TRAITS::PreEvalData d);
106 void evaluateFields(
typename TRAITS::EvalData workset);
108 virtual Teuchos::RCP<CloneableEvaluator>
clone(
const Teuchos::ParameterList & pl)
const
129 Teuchos::RCP<const std::map<std::string,std::string> >
fieldMap_;
150 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
156template<
typename TRAITS,
typename LO,
typename GO>
159 public PHX::EvaluatorDerived<panzer::Traits::Tangent, TRAITS>,
164 const Teuchos::RCP<const panzer::GlobalIndexer> & )
165 : globalIndexer_(indexer) {}
168 const Teuchos::RCP<const panzer::GlobalIndexer> & cIndexer,
169 const Teuchos::ParameterList& p);
171 void postRegistrationSetup(
typename TRAITS::SetupData d,
174 void preEvaluate(
typename TRAITS::PreEvalData d);
176 void evaluateFields(
typename TRAITS::EvalData workset);
178 virtual Teuchos::RCP<CloneableEvaluator>
clone(
const Teuchos::ParameterList & pl)
const
199 Teuchos::RCP<const std::map<std::string,std::string> >
fieldMap_;
222 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
228template<
typename TRAITS,
typename LO,
typename GO>
231 public PHX::EvaluatorDerived<panzer::Traits::Jacobian, TRAITS>,
236 const Teuchos::RCP<const panzer::GlobalIndexer> & cIndexer=Teuchos::null)
237 : globalIndexer_(indexer), colGlobalIndexer_(cIndexer) {}
240 const Teuchos::RCP<const panzer::GlobalIndexer> & cIndexer,
241 const Teuchos::ParameterList& p);
243 void preEvaluate(
typename TRAITS::PreEvalData d);
245 void postRegistrationSetup(
typename TRAITS::SetupData d,
248 void evaluateFields(
typename TRAITS::EvalData workset);
250 virtual Teuchos::RCP<CloneableEvaluator>
clone(
const Teuchos::ParameterList & pl)
const
272 Teuchos::RCP<const std::map<std::string,std::string> >
fieldMap_;
291 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
299#ifdef Panzer_BUILD_HESSIAN_SUPPORT
Non-templated empty base class for template managers.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
Teuchos::RCP< const panzer::GlobalIndexer > colGlobalIndexer_
ScatterDirichletResidual_Epetra()
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
panzer::Traits::Jacobian::ScalarT ScalarT
std::size_t local_side_id_
ScatterDirichletResidual_Epetra(const Teuchos::RCP< const GlobalIndexer > &indexer, const Teuchos::RCP< const panzer::GlobalIndexer > &cIndexer=Teuchos::null)
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::string globalDataKey_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
Teuchos::RCP< Epetra_Vector > dirichletCounter_
std::size_t side_subcell_dim_
std::vector< int > fieldIds_
Teuchos::RCP< const EpetraLinearObjContainer > epetraContainer_
std::size_t local_side_id_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
Teuchos::RCP< const EpetraLinearObjContainer > epetraContainer_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
ScatterDirichletResidual_Epetra()
Teuchos::RCP< Epetra_Vector > dirichletCounter_
std::size_t side_subcell_dim_
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
ScatterDirichletResidual_Epetra(const Teuchos::RCP< const GlobalIndexer > &indexer, const Teuchos::RCP< const panzer::GlobalIndexer > &)
std::vector< int > fieldIds_
std::string globalDataKey_
panzer::Traits::Residual::ScalarT ScalarT
std::vector< int > fieldIds_
std::size_t side_subcell_dim_
ScatterDirichletResidual_Epetra(const Teuchos::RCP< const GlobalIndexer > &indexer, const Teuchos::RCP< const panzer::GlobalIndexer > &)
ScatterDirichletResidual_Epetra()
std::string globalDataKey_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
Teuchos::RCP< Epetra_Vector > dirichletCounter_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Teuchos::RCP< const EpetraLinearObjContainer > epetraContainer_
std::size_t local_side_id_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
panzer::Traits::Tangent::ScalarT ScalarT
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
std::vector< Teuchos::RCP< Epetra_Vector > > dfdp_vectors_
Pushes residual values into the residual vector for a Newton-based solve.