12 #ifndef __Panzer_ScatterResidual_BlockedEpetra_Hessian_hpp__
13 #define __Panzer_ScatterResidual_BlockedEpetra_Hessian_hpp__
16 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
26 template<
typename TRAITS,
typename LO,
typename GO>
36 bool useDiscreteAdjoint=
false)
37 : rowIndexers_(rIndexers), colIndexers_(cIndexers), useDiscreteAdjoint_(useDiscreteAdjoint) {}
42 bool useDiscreteAdjoint=
false);
63 std::vector<Teuchos::RCP<const GlobalIndexer<LO,int> > >
rowIndexers_;
64 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_
virtual void preEvaluate(typename Traits::PreEvalData d)=0
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.