43 #ifndef __Panzer_GatherTangent_Epetra_decl_hpp__ 44 #define __Panzer_GatherTangent_Epetra_decl_hpp__ 58 #include "Phalanx_Evaluator_Macros.hpp" 59 #include "Phalanx_MDField.hpp" 90 template<
typename EvalT,
typename TRAITS,
typename LO,
typename GO>
94 public PHX::EvaluatorDerived<EvalT, TRAITS>,
108 const Teuchos::RCP<const panzer::GlobalIndexer>& indexer)
125 const Teuchos::RCP<const panzer::GlobalIndexer>& indexer,
126 const Teuchos::ParameterList& p);
138 typename TRAITS::SetupData d,
152 typename TRAITS::PreEvalData d);
164 typename TRAITS::EvalData d);
177 virtual Teuchos::RCP<CloneableEvaluator>
179 const Teuchos::ParameterList& pl)
const 229 Teuchos::RCP<panzer::EpetraVector_ReadOnly_GlobalEvaluationData>
241 #endif // __Panzer_GatherTangent_Epetra_decl_hpp__ GatherTangent_Epetra(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer)
Constructor.
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
The fields to be gathered.
std::string globalDataKey_
The key identifying the GlobalEvaluationData.
Teuchos::RCP< panzer::EpetraVector_ReadOnly_GlobalEvaluationData > dxdpEvRoGed_
The GlobalEvaluationData containing both the owned and ghosted tangent vectors.
Teuchos::RCP< std::vector< std::string > > indexerNames_
A list of the names of the fields to be gathered.
GatherTangent_Epetra()
Default Constructor (disabled).
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
Maps the local (field, element, basis) triplet to a global ID for scattering.
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &fm)
Post-Registration Setup.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Create a copy.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
EvalT::ScalarT ScalarT
The scalar type.
std::vector< int > fieldIds_
Field IDs, which need to be mapped.
void preEvaluate(typename TRAITS::PreEvalData d)
Pre-Evaluate: Sets the tangent vector.
Non-templated empty base class for template managers.
void evaluateFields(typename TRAITS::EvalData d)
Evaluate Fields: Gather operation.
bool useTimeDerivativeSolutionVector_
A flag indicating whether we should be working with or .