|
Panzer
Version of the Day
|
Go to the documentation of this file.
43 #ifndef __Panzer_GatherSolution_Tpetra_Hessian_hpp__
44 #define __Panzer_GatherSolution_Tpetra_Hessian_hpp__
47 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
57 template<
typename TRAITS,
typename LO,
typename GO,
typename NodeT>
60 public PHX::EvaluatorDerived<panzer::Traits::Hessian, TRAITS>,
67 globalIndexer_(indexer) {}
84 {
TEUCHOS_ASSERT(i < Teuchos::as<int>(gatherFields_.size()));
return gatherFields_[i].fieldTag(); }
108 std::vector< std::vector< PHX::MDField<const ScalarT,Cell,NODE> > >
tangentFields_;
115 #endif // end hessian support
Teuchos::RCP< const TpetraLinearObjContainer< double, LO, GO, NodeT > > tpetraContainer_
const PHX::FieldTag & getFieldTag(int i) const
GatherSolution_Tpetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &indexer)
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
#define TEUCHOS_ASSERT(assertion_test)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Non-templated empty base class for template managers.
panzer::Traits::Hessian::ScalarT ScalarT
std::vector< std::vector< PHX::MDField< const ScalarT, Cell, NODE > > > tangentFields_
std::vector< int > fieldIds_
bool useTimeDerivativeSolutionVector_
void postRegistrationSetup(typename TRAITS::SetupData, PHX::FieldManager< TRAITS > &)
Teuchos::RCP< std::vector< std::string > > indexerNames_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
void preEvaluate(typename TRAITS::PreEvalData)
GatherSolution_Tpetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > &, const Teuchos::ParameterList &)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
void evaluateFields(typename TRAITS::EvalData)
std::string globalDataKey_
Gathers solution values from the Newton solution vector into the nodal fields of the field manager.