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"
50#include "Teuchos_ParameterList.hpp"
52#include "PanzerDiscFE_config.hpp"
74template<
typename EvalT,
typename Traits,
typename LO,
typename GO,
typename NodeT=panzer::TpetraNodeType>
87template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
90 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
95 : globalIndexer_(indexer) {}
98 const Teuchos::ParameterList& p);
100 void postRegistrationSetup(
typename TRAITS::SetupData d,
103 void preEvaluate(
typename TRAITS::PreEvalData d);
105 void evaluateFields(
typename TRAITS::EvalData workset);
107 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,
typename NodeT>
159 public PHX::EvaluatorDerived<panzer::Traits::Tangent, TRAITS>,
164 : globalIndexer_(indexer) {}
167 const Teuchos::ParameterList& p);
169 void postRegistrationSetup(
typename TRAITS::SetupData d,
172 void preEvaluate(
typename TRAITS::PreEvalData d);
174 void evaluateFields(
typename TRAITS::EvalData workset);
176 virtual Teuchos::RCP<CloneableEvaluator>
clone(
const Teuchos::ParameterList & pl)
const
198 Teuchos::RCP<const std::map<std::string,std::string> >
fieldMap_;
220 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
226template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
229 public PHX::EvaluatorDerived<panzer::Traits::Jacobian, TRAITS>,
234 : globalIndexer_(indexer) {}
237 const Teuchos::ParameterList& p);
239 void preEvaluate(
typename TRAITS::PreEvalData d);
241 void postRegistrationSetup(
typename TRAITS::SetupData d,
244 void evaluateFields(
typename TRAITS::EvalData workset);
246 virtual Teuchos::RCP<CloneableEvaluator>
clone(
const Teuchos::ParameterList & pl)
const
269 Teuchos::RCP<const std::map<std::string,std::string> >
fieldMap_;
288 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
294#ifdef Panzer_BUILD_HESSIAN_SUPPORT
Non-templated empty base class for template managers.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
ScatterDirichletResidual_Tpetra(const Teuchos::RCP< const GlobalIndexer > &indexer)
std::string globalDataKey_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
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_
TpetraLinearObjContainer< double, LO, GO, NodeT > LOC
Teuchos::RCP< const TpetraLinearObjContainer< double, LO, GO, NodeT > > tpetraContainer_
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
ScatterDirichletResidual_Tpetra()
Teuchos::RCP< typename LOC::VectorType > dirichletCounter_
panzer::Traits::Jacobian::ScalarT ScalarT
std::size_t local_side_id_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
TpetraLinearObjContainer< double, LO, GO, NodeT > LOC
std::size_t side_subcell_dim_
ScatterDirichletResidual_Tpetra()
ScatterDirichletResidual_Tpetra(const Teuchos::RCP< const GlobalIndexer > &indexer)
std::size_t local_side_id_
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
std::vector< int > fieldIds_
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
panzer::Traits::Residual::ScalarT ScalarT
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const LOC > tpetraContainer_
std::string globalDataKey_
Teuchos::RCP< typename LOC::VectorType > dirichletCounter_
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< const LOC > tpetraContainer_
TpetraLinearObjContainer< double, LO, GO, NodeT > LOC
std::size_t side_subcell_dim_
ScatterDirichletResidual_Tpetra()
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::vector< int > fieldIds_
Teuchos::RCP< typename LOC::VectorType > dirichletCounter_
ScatterDirichletResidual_Tpetra(const Teuchos::RCP< const GlobalIndexer > &indexer)
std::size_t local_side_id_
panzer::Traits::Tangent::ScalarT ScalarT
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
std::string globalDataKey_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
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::vector< Teuchos::ArrayRCP< double > > dfdp_vectors_
Pushes residual values into the residual vector for a Newton-based solve.