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"
66#include "Teuchos_ParameterList.hpp"
97 template<
typename EvalT,
typename TRAITS,
typename LO,
typename GO>
101 public PHX::EvaluatorDerived<EvalT, TRAITS>,
115 const std::vector<Teuchos::RCP<const GlobalIndexer>>&
134 const std::vector<Teuchos::RCP<const GlobalIndexer>>&
136 const Teuchos::ParameterList& p);
149 typename TRAITS::SetupData d,
162 typename TRAITS::PreEvalData d);
174 typename TRAITS::EvalData d);
187 virtual Teuchos::RCP<CloneableEvaluator>
189 const Teuchos::ParameterList& pl)
const
207 std::vector<Teuchos::RCP<const GlobalIndexer>>
indexers_;
244 Teuchos::RCP<panzer::BlockedVector_ReadOnly_GlobalEvaluationData>
Non-templated empty base class for template managers.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
GatherTangent_BlockedEpetra.
std::vector< Teuchos::RCP< const GlobalIndexer > > indexers_
These map the local (field, element, basis) triplet to a global ID for scattering.
Teuchos::RCP< std::vector< std::string > > indexerNames_
A list of the names of the fields to be gathered.
Teuchos::RCP< panzer::BlockedVector_ReadOnly_GlobalEvaluationData > xBvRoGed_
The GlobalEvaluationData containing both the owned and ghosted tangent vectors.
void preEvaluate(typename TRAITS::PreEvalData d)
Pre-Evaluate: Sets the tangent vector.
GatherTangent_BlockedEpetra(const std::vector< Teuchos::RCP< const GlobalIndexer > > &indexers)
Constructor.
bool useTimeDerivativeSolutionVector_
A flag indicating whether we're to be working with or .
std::vector< int > indexerIds_
The block index into indexers_.
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
The fields to be gathered.
GatherTangent_BlockedEpetra()
Default Constructor (disabled)
std::string globalDataKey_
The key identifying the GlobalEvaluationData.
EvalT::ScalarT ScalarT
The scalar type.
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm)
Post-Registration Setup.
void evaluateFields(typename TRAITS::EvalData d)
Evaluate Fields: Gather operation.
std::vector< int > subFieldIds_
Sub-field IDs, which need to be mapped.
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Create a copy.