43 #ifndef __Panzer_GatherTangent_BlockedEpetra_decl_hpp__
44 #define __Panzer_GatherTangent_BlockedEpetra_decl_hpp__
56 #include "PanzerDiscFE_config.hpp"
61 #include "Phalanx_config.hpp"
62 #include "Phalanx_Evaluator_Macros.hpp"
63 #include "Phalanx_MDField.hpp"
76 template <
typename LocalOrdinalT,
typename GlobalOrdinalT>
77 class UniqueGlobalIndexer;
98 template<
typename EvalT,
typename TRAITS,
typename LO,
typename GO>
102 public PHX::EvaluatorDerived<EvalT, TRAITS>,
150 typename TRAITS::SetupData d,
163 typename TRAITS::PreEvalData d);
175 typename TRAITS::EvalData d);
208 std::vector<Teuchos::RCP<const UniqueGlobalIndexer<LO, int>>>
indexers_;
257 #endif // __Panzer_GatherTangent_BlockedEpetra_decl_hpp__
bool useTimeDerivativeSolutionVector_
A flag indicating whether we're to be working with or .
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Create a copy.
GatherTangent_BlockedEpetra.
Teuchos::RCP< panzer::BlockedVector_ReadOnly_GlobalEvaluationData > xBvRoGed_
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.
std::vector< int > indexerIds_
The block index into indexers_.
std::string globalDataKey_
The key identifying the GlobalEvaluationData.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
void preEvaluate(typename TRAITS::PreEvalData d)
Pre-Evaluate: Sets the tangent vector.
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
The fields to be gathered.
GatherTangent_BlockedEpetra(const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int >>> &indexers)
Constructor.
EvalT::ScalarT ScalarT
The scalar type.
GatherTangent_BlockedEpetra()
Default Constructor (disabled)
std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > indexers_
These map the local (field, element, basis) triplet to a global ID for scattering.
std::vector< int > subFieldIds_
Sub-field IDs, which need to be mapped.
void evaluateFields(typename TRAITS::EvalData d)
Evaluate Fields: Gather operation.
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm)
Post-Registration Setup.
Non-templated empty base class for template managers.