43 #ifndef __Panzer_GatherSolution_Epetra_decl_hpp__
44 #define __Panzer_GatherSolution_Epetra_decl_hpp__
59 #include "Phalanx_Evaluator_Macros.hpp"
60 #include "Phalanx_MDField.hpp"
83 template<
typename EvalT,
typename TRAITS,
typename LO,
typename GO>
96 template<
typename TRAITS,
typename LO,
typename GO>
100 public PHX::EvaluatorDerived<panzer::Traits::Residual, TRAITS>,
116 globalIndexer_(indexer)
145 postRegistrationSetup(
146 typename TRAITS::SetupData d,
163 typename TRAITS::PreEvalData d);
175 typename TRAITS::EvalData d);
196 (globalIndexer_, pl));
270 std::vector<std::vector<PHX::MDField<const ScalarT, Cell, NODE>>>
290 template<
typename TRAITS,
typename LO,
typename GO>
294 public PHX::EvaluatorDerived<panzer::Traits::Tangent, TRAITS>,
310 globalIndexer_(indexer)
339 postRegistrationSetup(
340 typename TRAITS::SetupData d,
357 typename TRAITS::PreEvalData d);
370 typename TRAITS::EvalData d);
391 (globalIndexer_, pl));
460 std::vector<std::vector<PHX::MDField<const ScalarT, Cell, NODE>>>
480 template<
typename TRAITS,
typename LO,
typename GO>
484 public PHX::EvaluatorDerived<panzer::Traits::Jacobian, TRAITS>,
500 globalIndexer_(indexer)
528 postRegistrationSetup(
529 typename TRAITS::SetupData d,
547 typename TRAITS::PreEvalData d);
560 typename TRAITS::EvalData d);
581 (globalIndexer_, pl));
672 #ifdef Panzer_BUILD_HESSIAN_SUPPORT
674 #endif // Panzer_BUILD_HESSIAN_SUPPORT
676 #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.