43 #ifndef __Panzer_GatherSolution_BlockedEpetra_Hessian_hpp__
44 #define __Panzer_GatherSolution_BlockedEpetra_Hessian_hpp__
47 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
61 template<
typename TRAITS,
typename LO,
typename GO>
65 public PHX::EvaluatorDerived<panzer::Traits::Hessian, TRAITS>,
114 typename TRAITS::SetupData d,
129 typename TRAITS::PreEvalData d);
141 typename TRAITS::EvalData d);
193 std::vector<Teuchos::RCP<const GlobalIndexer<LO, int>>>
indexers_;
285 #endif // Panzer_BUILD_HESSIAN_SUPPORT
287 #endif // __Panzer_GatherSolution_BlockedEpetra_Hessian_hpp__
std::vector< std::string > indexerNames_
A list of the names of the fields to be gathered.
bool useTimeDerivativeSolutionVector_
A flag indicating whether we should be working with or .
panzer::Traits::Hessian::ScalarT ScalarT
The scalar type.
int gatherSeedIndex_
Which gather seed in the workset to use.
std::string globalDataKey_
The key identifying the GlobalEvaluationData.
std::vector< int > indexerIds_
The block index into indexers_.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Create a copy.
Teuchos::RCP< panzer::BlockedVector_ReadOnly_GlobalEvaluationData > xBvRoGed_
The GlobalEvaluationData containing both the owned and ghosted solution vectors.
Teuchos::RCP< panzer::BlockedVector_ReadOnly_GlobalEvaluationData > dxBvRoGed_
The GlobalEvaluationData containing both the owned and ghosted derivative vectors.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
bool firstSensitivitiesAvailable_
A flag indicating whether or not first sensitivities information is available.
panzer::Traits::Hessian EvalT
The evaluation type.
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &fm)
Post-Registration Setup.
bool firstApplySensitivities_
Used by evaluateFields() to turn on/off the first sensitivities.
bool secondApplySensitivities_
Used by evaluateFields() to turn on/off the second sensitivities.
GatherSolution_BlockedEpetra(const Teuchos::ParameterList &p)
Constructor.
std::string sensitivities2ndPrefix_
The prefix for the field containing the second sensitivities.
std::string sensitivitiesName_
Sets which gather operations have sensitivities.
Gathers solution values from the Newton solution vector into the nodal fields of the field manager...
std::vector< Teuchos::RCP< const GlobalIndexer< LO, int > > > indexers_
These map the local (field, element, basis) triplet to a global ID for scattering.
void evaluateFields(typename TRAITS::EvalData d)
Evaluate Fields.
Teuchos::RCP< Thyra::ProductVectorBase< double > > x_
The solution vector.
std::vector< int > subFieldIds_
Sub-field IDs, which need to be mapped.
bool secondSensitivitiesAvailable_
A flag indicating whether or not second sensitivities information is available.
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
The fields to be gathered.
Non-templated empty base class for template managers.
GatherSolution_BlockedEpetra(const std::vector< Teuchos::RCP< const GlobalIndexer< LO, int >>> &indexers)
Constructor.