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"
69 template <
typename LocalOrdinalT,
typename GlobalOrdinalT>
70 class UniqueGlobalIndexer;
91 template<
typename EvalT,
typename TRAITS,
typename LO,
typename GO>
95 public PHX::EvaluatorDerived<EvalT, TRAITS>,
139 typename TRAITS::SetupData d,
153 typename TRAITS::PreEvalData d);
165 typename TRAITS::EvalData d);
242 #endif // __Panzer_GatherTangent_Epetra_decl_hpp__
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
The fields to be gathered.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Create a copy.
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.
GatherTangent_Epetra(const Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO >> &indexer)
Constructor.
Teuchos::RCP< std::vector< std::string > > indexerNames_
A list of the names of the fields to be gathered.
GatherTangent_Epetra()
Default Constructor (disabled).
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &fm)
Post-Registration Setup.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Teuchos::RCP< const panzer::UniqueGlobalIndexer< LO, GO > > globalIndexer_
Maps the local (field, element, basis) triplet to a global ID for scattering.
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 .