11 #ifndef __Panzer_GatherTangent_BlockedEpetra_decl_hpp__
12 #define __Panzer_GatherTangent_BlockedEpetra_decl_hpp__
24 #include "PanzerDiscFE_config.hpp"
29 #include "Phalanx_config.hpp"
30 #include "Phalanx_Evaluator_Macros.hpp"
31 #include "Phalanx_MDField.hpp"
65 template<
typename EvalT,
typename TRAITS,
typename LO,
typename GO>
117 typename TRAITS::SetupData d,
130 typename TRAITS::PreEvalData d);
142 typename TRAITS::EvalData d);
175 std::vector<Teuchos::RCP<const GlobalIndexer>>
indexers_;
224 #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.