12#ifndef __Panzer_GatherSolution_Tpetra_Hessian_hpp__
13#define __Panzer_GatherSolution_Tpetra_Hessian_hpp__
16#ifdef Panzer_BUILD_HESSIAN_SUPPORT
38template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
41 public PHX::EvaluatorDerived<panzer::Traits::Hessian, TRAITS>,
49 globalIndexer_(indexer) {}
53 const Teuchos::ParameterList& ) {}
66 virtual Teuchos::RCP<CloneableEvaluator>
clone(
const Teuchos::ParameterList & pl)
const
72 { TEUCHOS_ASSERT(i < Teuchos::as<int>(gatherFields_.size()));
return gatherFields_[i].fieldTag(); }
96 std::vector< std::vector< PHX::MDField<const ScalarT,Cell,NODE> > >
tangentFields_;
Non-templated empty base class for template managers.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Teuchos::RCP< const TpetraLinearObjContainer< double, LO, GO, NodeT > > tpetraContainer_
std::vector< std::vector< PHX::MDField< const ScalarT, Cell, NODE > > > tangentFields_
GatherSolution_Tpetra(const Teuchos::RCP< const panzer::GlobalIndexer > &, const Teuchos::ParameterList &)
No-op constructor (unimplemented for this specialization).
std::vector< int > fieldIds_
GatherSolution_Tpetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer)
Construct with a global indexer only; no-op beyond storing the indexer.
Teuchos::RCP< std::vector< std::string > > indexerNames_
void postRegistrationSetup(typename TRAITS::SetupData, PHX::FieldManager< TRAITS > &)
No-op (unimplemented for this specialization).
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
panzer::Traits::Hessian::ScalarT ScalarT
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
std::string globalDataKey_
void evaluateFields(typename TRAITS::EvalData)
No-op (unimplemented for this specialization).
bool useTimeDerivativeSolutionVector_
const PHX::FieldTag & getFieldTag(int i) const
Returns the FieldTag of the i-th gathered field. For testing purposes.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Creates a copy of this evaluator configured from a new ParameterList, sharing the same global indexer...
void preEvaluate(typename TRAITS::PreEvalData)
No-op (unimplemented for this specialization).
Gathers solution values from the Newton solution vector into the nodal fields of the field manager.
Evaluation type for computing second derivatives, using HessianType as the scalar type....