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 UniqueGlobalIndexer<LO,int> > >
rowIndexers_;
95 std::vector<Teuchos::RCP<const UniqueGlobalIndexer<LO,int> > >
colIndexers_;
ScatterResidual_BlockedEpetra(const Teuchos::ParameterList &p)
ScatterResidual_BlockedEpetra(const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &rIndexers, const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &cIndexers, bool useDiscreteAdjoint=false)
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
panzer::Traits::Hessian::ScalarT ScalarT
std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > colIndexers_
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_
Pushes residual values into the residual vector for a Newton-based solve.
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.
std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > rowIndexers_