11 #ifndef __Panzer_GatherSolution_Epetra_decl_hpp__
12 #define __Panzer_GatherSolution_Epetra_decl_hpp__
27 #include "Phalanx_Evaluator_Macros.hpp"
28 #include "Phalanx_MDField.hpp"
51 template<
typename EvalT,
typename TRAITS,
typename LO,
typename GO>
64 template<
typename TRAITS,
typename LO,
typename GO>
84 globalIndexer_(indexer)
113 postRegistrationSetup(
114 typename TRAITS::SetupData d,
131 typename TRAITS::PreEvalData d);
143 typename TRAITS::EvalData d);
164 (globalIndexer_, pl));
238 std::vector<std::vector<PHX::MDField<const ScalarT, Cell, NODE>>>
258 template<
typename TRAITS,
typename LO,
typename GO>
278 globalIndexer_(indexer)
307 postRegistrationSetup(
308 typename TRAITS::SetupData d,
325 typename TRAITS::PreEvalData d);
338 typename TRAITS::EvalData d);
359 (globalIndexer_, pl));
428 std::vector<std::vector<PHX::MDField<const ScalarT, Cell, NODE>>>
448 template<
typename TRAITS,
typename LO,
typename GO>
468 globalIndexer_(indexer)
496 postRegistrationSetup(
497 typename TRAITS::SetupData d,
515 typename TRAITS::PreEvalData d);
528 typename TRAITS::EvalData d);
549 (globalIndexer_, pl));
640 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
642 #endif // Panzer_BUILD_HESSIAN_SUPPORT
644 #endif // __Panzer_GatherSolution_Epetra_decl_hpp__
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
The fields to be gathered.
GatherSolution_Epetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer)
Constructor.
std::vector< int > fieldIds_
Field IDs, which need to be mapped.
bool hasTangentFields_
A flag indicating whether or not we have tangent fields.
GatherSolution_Epetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer)
Constructor.
Gathers solution values from the Newton solution vector into the nodal fields of the field manager...
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Maps the local (field, element, basis) triplet to a global ID for scattering.
std::vector< std::string > indexerNames_
A list of the names of the fields to be gathered.
bool hasTangentFields_
A flag indicating whether or not we have tangent fields.
std::string globalDataKey_
The key identifying the GlobalEvaluationData.
std::string sensitivitiesName_
Sets which gather operations have sensitivities.
std::vector< std::string > indexerNames_
A list of the names of the fields to be gathered.
Teuchos::RCP< panzer::EpetraVector_ReadOnly_GlobalEvaluationData > xEvRoGed_
The GlobalEvaluationData containing both the owned and ghosted vectors.
std::vector< std::string > indexerNames_
A list of the names of the fields to be gathered.
panzer::Traits::Tangent EvalT
The evaluation type.
Teuchos::RCP< panzer::EpetraVector_ReadOnly_GlobalEvaluationData > xEvRoGed_
The GlobalEvaluationData containing both the owned and ghosted vectors.
panzer::Traits::Tangent::ScalarT ScalarT
The scalar type.
int gatherSeedIndex_
Which gather seed in the workset to use.
std::vector< std::vector< PHX::MDField< const ScalarT, Cell, NODE > > > tangentFields_
Fields for storing the tangent components of the solution vector .
panzer::Traits::Residual::ScalarT ScalarT
The scalar type.
bool useTimeDerivativeSolutionVector_
A flag indicating whether we're to be working with or .
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Maps the local (field, element, basis) triplet to a global ID for scattering.
bool applySensitivities_
Used by evaluateFields() to turn on/off a certain set of sensitivities.
bool useTimeDerivativeSolutionVector_
A flag indicating whether we should be working with or .
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Teuchos::RCP< Epetra_Vector > x_
The solution vector.
Teuchos::RCP< panzer::EpetraVector_ReadOnly_GlobalEvaluationData > xEvRoGed_
The GlobalEvaluationData containing both the owned and ghosted vectors.
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
The fields to be gathered.
panzer::Traits::Jacobian EvalT
The evaluation type.
Teuchos::RCP< Epetra_Vector > x_
The solution vector.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Create a copy.
std::string globalDataKey_
The key identifying the GlobalEvaluationData.
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Maps the local (field, element, basis) triplet to a global ID for scattering.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Create a copy.
bool useTimeDerivativeSolutionVector_
A flag indicating whether we're to be working with or .
bool disableSensitivities_
Flag to disable sensitivities absolutely.
panzer::Traits::Jacobian::ScalarT ScalarT
The scalar type.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Create a copy.
std::vector< int > fieldIds_
Field IDs, which need to be mapped.
std::vector< int > fieldIds_
Field IDs, which need to be mapped.
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
The fields to be gathered.
GatherSolution_Epetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer)
Constructor.
panzer::Traits::Residual EvalT
The evaluation type.
Teuchos::RCP< Epetra_Vector > x_
The solution vector.
std::vector< std::vector< PHX::MDField< const ScalarT, Cell, NODE > > > tangentFields_
Fields for storing the tangent components of the solution vector .
Non-templated empty base class for template managers.
std::string globalDataKey_
The key identifying the GlobalEvaluationData.