11#ifndef PANZER_EVALUATOR_GATHER_ORIENTATION_DECL_HPP
12#define PANZER_EVALUATOR_GATHER_ORIENTATION_DECL_HPP
14#include "Phalanx_config.hpp"
15#include "Phalanx_Evaluator_Macros.hpp"
16#include "Phalanx_MDField.hpp"
18#include "Teuchos_ParameterList.hpp"
33template<
typename EvalT,
typename TRAITS,
typename LO,
typename GO>
36 public PHX::EvaluatorDerived<EvalT, TRAITS>,
45 const Teuchos::ParameterList& p);
50 GatherOrientation(
const std::vector<Teuchos::RCP<const GlobalIndexer>> & indexers,
51 const Teuchos::ParameterList& p);
58 virtual Teuchos::RCP<CloneableEvaluator>
clone(
const Teuchos::ParameterList & pl)
const
69 std::vector<Teuchos::RCP<const GlobalIndexer>>
indexers_;
Non-templated empty base class for template managers.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Gathers orientations per field from the global indexer and stores them in the field manager.
GatherOrientation(const Teuchos::RCP< const panzer::GlobalIndexer > &indexer)
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFieldOrientations_
std::vector< int > subFieldIds_
void postRegistrationSetup(typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm)
std::vector< int > indexerIds_
void evaluateFields(typename TRAITS::EvalData d)
Teuchos::RCP< const panzer::GlobalIndexer > globalIndexer_
GatherOrientation(const std::vector< Teuchos::RCP< const GlobalIndexer > > &indexers)
std::vector< Teuchos::RCP< const GlobalIndexer > > indexers_
virtual Teuchos::RCP< CloneableEvaluator > clone(const Teuchos::ParameterList &pl) const
Teuchos::RCP< std::vector< std::string > > indexerNames_