43 #ifndef __Panzer_ScatterDirichletResidual_BlockedEpetra_Hessian_hpp__
44 #define __Panzer_ScatterDirichletResidual_BlockedEpetra_Hessian_hpp__
47 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
58 template<
typename TRAITS,
typename LO,
typename GO>
61 public PHX::EvaluatorDerived<panzer::Traits::Hessian, TRAITS>,
67 : rowIndexers_(rIndexers), colIndexers_(cIndexers) {}
72 bool useDiscreteAdjoint=
false);
77 void preEvaluate(
typename TRAITS::PreEvalData d);
93 std::vector<Teuchos::RCP<const GlobalIndexer<LO,int> > >
rowIndexers_;
94 std::vector<Teuchos::RCP<const GlobalIndexer<LO,int> > >
colIndexers_;
120 std::vector< PHX::MDField<const bool,Cell,NODE> >
applyBC_;
panzer::Traits::Hessian::ScalarT ScalarT
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm)
bool checkApplyBC_
If set to true, allows runtime disabling of dirichlet BCs on node-by-node basis.
Teuchos::RCP< Thyra::ProductVectorBase< double > > dirichletCounter_
std::vector< PHX::MDField< const bool, Cell, NODE > > applyBC_
Pushes residual values into the residual vector for a Newton-based solve.
std::vector< int > indexerIds_
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
void evaluateFields(typename TRAITS::EvalData d)
std::size_t side_subcell_dim_
ScatterDirichletResidual_BlockedEpetra(const Teuchos::ParameterList &p)
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
std::vector< Teuchos::RCP< const GlobalIndexer< LO, int > > > colIndexers_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< Thyra::BlockedLinearOpBase< double > > Jac_
std::size_t local_side_id_
ScatterDirichletResidual_BlockedEpetra(const std::vector< Teuchos::RCP< const GlobalIndexer< LO, int > > > &rIndexers, const std::vector< Teuchos::RCP< const GlobalIndexer< LO, int > > > &cIndexers)
std::string globalDataKey_
std::vector< Teuchos::RCP< const GlobalIndexer< LO, int > > > rowIndexers_
Non-templated empty base class for template managers.
std::vector< int > subFieldIds_