11#ifndef __PANZER_STK_ScatterCellAvgQuantity_decl_HPP__
12#define __PANZER_STK_ScatterCellAvgQuantity_decl_HPP__
14#include "Phalanx_config.hpp"
15#include "Phalanx_Evaluator_Macros.hpp"
16#include "Phalanx_MDField.hpp"
18#include "Teuchos_ParameterList.hpp"
41template<
typename EvalT,
typename Traits>
45 public PHX::EvaluatorDerived<EvalT, Traits>
51 const Teuchos::ParameterList& p);
56 typename Traits::SetupData d,
62 typename Traits::EvalData d);
77 std::vector< PHX::MDField<const ScalarT,panzer::Cell,panzer::Point> >
scatterFields_;
78 Teuchos::RCP<STK_Interface>
mesh_;
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
stk::mesh::Field< double > SolutionFieldType
std::vector< VariableField * > stkFields_
void evaluateFields(typename Traits::EvalData d)
Averages this workset's field values over each cell's integration points and writes the (optionally s...
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
Looks up the STK field pointers needed by evaluateFields(). Called once before the first evaluation.
panzer_stk::STK_Interface::SolutionFieldType VariableField
Teuchos::RCP< STK_Interface > mesh_
Teuchos::RCP< std::map< std::string, double > > varScaleFactors_
typename EvalT::ScalarT ScalarT
std::vector< PHX::MDField< const ScalarT, panzer::Cell, panzer::Point > > scatterFields_