11#ifndef __PANZER_STK_GatherFields_decl_HPP__
12#define __PANZER_STK_GatherFields_decl_HPP__
14#include "Phalanx_config.hpp"
15#include "Phalanx_Evaluator_Macros.hpp"
16#include "Phalanx_MDField.hpp"
18#include "Teuchos_ParameterList.hpp"
37template<
typename EvalT,
typename Traits>
40 public PHX::EvaluatorDerived<EvalT, Traits> {
44 GatherFields(
const Teuchos::RCP<const panzer_stk::STK_Interface> & mesh,
const Teuchos::ParameterList & p);
57 std::vector< PHX::MDField<ScalarT,panzer::Cell,panzer::NODE> >
gatherFields_;
60 Teuchos::RCP<const STK_Interface>
mesh_;
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
std::vector< VariableField * > stkFields_
Teuchos::RCP< const STK_Interface > mesh_
GatherFields(const Teuchos::RCP< const panzer_stk::STK_Interface > &mesh, const Teuchos::ParameterList &p)
Construct from the mesh and a ParameterList as documented in the class description.
void evaluateFields(typename Traits::EvalData d)
Gathers this workset's field values from the STK mesh per the class description.
panzer_stk::STK_Interface::SolutionFieldType VariableField
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &vm)
Looks up the STK field pointers needed by evaluateFields(). Called once before the first evaluation.
std::vector< PHX::MDField< ScalarT, panzer::Cell, panzer::NODE > > gatherFields_
stk::mesh::Field< double > SolutionFieldType