43 #ifndef __Panzer_GatherSolution_Epetra_Hessian_hpp__
44 #define __Panzer_GatherSolution_Epetra_Hessian_hpp__
47 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
64 template<
typename TRAITS,
typename LO,
typename GO>
68 public PHX::EvaluatorDerived<panzer::Traits::Hessian, TRAITS>,
84 globalIndexer_(indexer)
112 postRegistrationSetup(
113 typename TRAITS::SetupData d,
134 typename TRAITS::PreEvalData d);
147 typename TRAITS::EvalData d);
168 (globalIndexer_, pl));
289 #endif // Panzer_BUILD_HESSIAN_SUPPORT
291 #endif // __Panzer_GatherSolution_Epetra_Hessian_hpp__
bool secondApplySensitivities_
Used by evaluateFields() to turn on/off the second derivative sensitivities.
panzer::Traits::Hessian::ScalarT ScalarT
The scalar type.
panzer::Traits::Hessian EvalT
The evaluation type.
std::vector< PHX::MDField< ScalarT, Cell, NODE > > sensFields_
The sensitivity fields.
Gathers solution values from the Newton solution vector into the nodal fields of the field manager...
GatherSolution_Epetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO >> &indexer)
Constructor.
std::string sensitivities2ndPrefix_
The prefix for the field containing the second sensitivities.
std::string sensitivitiesName_
Sets which gather operations have sensitivities.
std::vector< int > fieldIds_
Field IDs, which need to be mapped.
int gatherSeedIndex_
Which gather seed in the workset to use.
Teuchos::RCP< Epetra_Vector > x_
The solution vector.
bool secondSensitivitiesAvailable_
A flag indicating whether or not we're to be working with the second derivative sensitivities.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Teuchos::RCP< panzer::EpetraVector_ReadOnly_GlobalEvaluationData > xEvRoGed_
The GlobalEvaluationData containing both the owned and ghosted solution vectors.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
bool firstApplySensitivities_
Used by evaluateFields() to turn on/off the first derivative sensitivities.
bool useTimeDerivativeSolutionVector_
A flag indicating whether we're to be working with or .
std::vector< std::string > indexerNames_
A list of the names of the fields to be gathered.
bool firstSensitivitiesAvailable_
A flag indicating whether or not we're to be working with the first derivative sensitivities.
Teuchos::RCP< panzer::EpetraVector_ReadOnly_GlobalEvaluationData > dxEvRoGed_
The GlobalEvaluationData containing both the owned and ghosted derivative vectors.
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Maps the local (field, element, basis) triplet to a global ID for scattering.
std::string globalDataKey_
The key identifying the GlobalEvaluationData.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Create a copy.
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
The fields to be gathered.
Non-templated empty base class for template managers.