43 #ifndef __Panzer_ScatterResidual_BlockedEpetra_Hessian_hpp__
44 #define __Panzer_ScatterResidual_BlockedEpetra_Hessian_hpp__
47 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
57 template<
typename TRAITS,
typename LO,
typename GO>
60 public PHX::EvaluatorDerived<panzer::Traits::Hessian, TRAITS>,
67 bool useDiscreteAdjoint=
false)
68 : rowIndexers_(rIndexers), colIndexers_(cIndexers), useDiscreteAdjoint_(useDiscreteAdjoint) {}
73 bool useDiscreteAdjoint=
false);
78 void preEvaluate(
typename TRAITS::PreEvalData d);
94 std::vector<Teuchos::RCP<const GlobalIndexer<LO,int> > >
rowIndexers_;
95 std::vector<Teuchos::RCP<const GlobalIndexer<LO,int> > >
colIndexers_;
ScatterResidual_BlockedEpetra(const Teuchos::ParameterList &p)
std::vector< Teuchos::RCP< const GlobalIndexer< LO, int > > > rowIndexers_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
panzer::Traits::Hessian::ScalarT ScalarT
Teuchos::RCP< Thyra::BlockedLinearOpBase< double > > Jac_
void evaluateFields(typename TRAITS::EvalData d)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
std::vector< int > subFieldIds_
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
std::vector< int > indexerIds_
std::vector< Teuchos::RCP< const GlobalIndexer< LO, int > > > colIndexers_
Pushes residual values into the residual vector for a Newton-based solve.
ScatterResidual_BlockedEpetra(const std::vector< Teuchos::RCP< const GlobalIndexer< LO, int > > > &rIndexers, const std::vector< Teuchos::RCP< const GlobalIndexer< LO, int > > > &cIndexers, bool useDiscreteAdjoint=false)
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm)
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
std::string globalDataKey_
Teuchos::RCP< PHX::FieldTag > scatterHolder_
Non-templated empty base class for template managers.