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"
97 template<
typename EvalT,
typename TRAITS,
typename LO,
typename GO>
101 public PHX::EvaluatorDerived<EvalT, TRAITS>,
149 typename TRAITS::SetupData d,
162 typename TRAITS::PreEvalData d);
174 typename TRAITS::EvalData d);
207 std::vector<Teuchos::RCP<const GlobalIndexer>>
indexers_;
256 #endif // __Panzer_GatherTangent_BlockedEpetra_decl_hpp__
bool useTimeDerivativeSolutionVector_
A flag indicating whether we're to be working with or .
GatherTangent_BlockedEpetra(const std::vector< Teuchos::RCP< const GlobalIndexer >> &indexers)
Constructor.
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< Teuchos::RCP< const GlobalIndexer > > indexers_
These map the local (field, element, basis) triplet to a global ID for scattering.
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
The fields to be gathered.
EvalT::ScalarT ScalarT
The scalar type.
GatherTangent_BlockedEpetra()
Default Constructor (disabled)
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.