11#ifndef PANZER_COORDINATESEVALUTOR_HPP
12#define PANZER_COORDINATESEVALUTOR_HPP
14#include "PanzerDiscFE_config.hpp"
16#include "Phalanx_Evaluator_Macros.hpp"
17#include "Phalanx_MDField.hpp"
28template<
typename EvalT,
typename Traits>
32 public PHX::EvaluatorDerived<EvalT, Traits>
38 const Teuchos::ParameterList& p);
void evaluateFields(typename Traits::EvalData d)
Copies the selected spatial dimension of this workset's cell node coordinates into the field.
CoordinatesEvaluator(const Teuchos::ParameterList &p)
Construct from a ParameterList specifying the field name, data layout, and which spatial dimension to...
typename EvalT::ScalarT ScalarT
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
Sets up the field data handle used by evaluateFields(). Called once before the first evaluation.
PHX::MDField< ScalarT, Cell, BASIS > coordinate
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
const panzer::Workset & EvalData
Data type passed to PHX::Evaluator::evaluateFields(): a single workset holding the cell data for one ...
const SD & SetupData
Data type passed to PHX::Evaluator::postRegistrationSetup().