|
Panzer
Version of the Day
|
Go to the documentation of this file.
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.
Teuchos::RCP< Epetra_Vector > x_
The solution vector.
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
The fields to be gathered.
std::vector< PHX::MDField< ScalarT, Cell, NODE > > sensFields_
The sensitivity fields.
GatherSolution_Epetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO >> &indexer)
Constructor.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
std::vector< int > fieldIds_
Field IDs, which need to be mapped.
Non-templated empty base class for template managers.
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Maps the local (field, element, basis) triplet to a global ID for scattering.
Teuchos::RCP< panzer::EpetraVector_ReadOnly_GlobalEvaluationData > xEvRoGed_
The GlobalEvaluationData containing both the owned and ghosted solution vectors.
bool useTimeDerivativeSolutionVector_
A flag indicating whether we're to be working with or .
bool secondSensitivitiesAvailable_
A flag indicating whether or not we're to be working with the second derivative sensitivities.
Gathers solution values from the Newton solution vector into the nodal fields of the field manager.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Create a copy.
panzer::Traits::Hessian EvalT
The evaluation type.
bool firstApplySensitivities_
Used by evaluateFields() to turn on/off the first derivative sensitivities.
int gatherSeedIndex_
Which gather seed in the workset to use.
Teuchos::RCP< panzer::EpetraVector_ReadOnly_GlobalEvaluationData > dxEvRoGed_
The GlobalEvaluationData containing both the owned and ghosted derivative vectors.
panzer::Traits::Hessian::ScalarT ScalarT
The scalar type.
std::vector< std::string > indexerNames_
A list of the names of the fields to be gathered.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
bool firstSensitivitiesAvailable_
A flag indicating whether or not we're to be working with the first derivative sensitivities.
std::string sensitivities2ndPrefix_
The prefix for the field containing the second sensitivities.
std::string sensitivitiesName_
Sets which gather operations have sensitivities.
std::string globalDataKey_
The key identifying the GlobalEvaluationData.