11#ifndef PANZER_EVALUATOR_SCALAR_DECL_HPP
12#define PANZER_EVALUATOR_SCALAR_DECL_HPP
16#include "Phalanx_Evaluator_Macros.hpp"
17#include "Phalanx_MDField.hpp"
18#include "Kokkos_DynRankView.hpp"
37template<
typename EvalT,
typename Traits>
41 public PHX::EvaluatorDerived<EvalT, Traits>
47 const Teuchos::ParameterList& p);
66 PHX::MDField<const ScalarT,Cell,IP>
scalar;
77 Kokkos::DynRankView<ScalarT,typename PHX::DevLayout<ScalarT>::type,PHX::Device>
tmp;
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
const PHX::FieldTag & getFieldTag() const
Returns the FieldTag of the integral output field. For testing purposes.
typename EvalT::ScalarT ScalarT
PHX::MDField< const ScalarT, Cell, IP > scalar
PHX::View< PHX::UnmanagedView< constScalarT ** > * >::host_mirror_type field_multipliers_h
Teuchos::RCP< Teuchos::ParameterList > getValidParameters() const
Returns the ParameterList of valid parameters/defaults for this evaluator's constructor.
PHX::View< PHX::UnmanagedView< const ScalarT ** > * > field_multipliers
PHX::MDField< ScalarT > integral
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
Looks up the quadrature index/order and integration weights needed by evaluateFields()....
Kokkos::DynRankView< ScalarT, typename PHX::DevLayout< ScalarT >::type, PHX::Device > tmp
void evaluateFields(typename Traits::EvalData d)
Computes the "Integral Name" field for this workset per the class description.
User-defined data passed to PHX::Evaluator::postRegistrationSetup() during the one-time setup phase.