43 #ifndef PANZER_EVALUATOR_SCALAR_TO_VECTOR_DECL_HPP
44 #define PANZER_EVALUATOR_SCALAR_TO_VECTOR_DECL_HPP
47 #include "Phalanx_Evaluator_Macros.hpp"
48 #include "Phalanx_MDField.hpp"
54 template<
typename EvalT,
typename Traits>
58 public PHX::EvaluatorDerived<EvalT, Traits>
81 typedef Kokkos::View<const ScalarT**,typename PHX::DevLayout<ScalarT>::type,PHX::Device>
KokkosScalarFields_t;
90 const PHX::FieldTag & output);
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
Interpolates basis DOF values to IP DOF values.
std::vector< PHX::MDField< const ScalarT, Cell, Point > > scalar_fields
PHX::MDField< ScalarT, Cell, Point, Dim > vector_field
typename EvalT::ScalarT ScalarT
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
void evaluateFields(typename Traits::EvalData d)
ScalarToVector(const Teuchos::ParameterList &p)
void operator()(const size_t &cell) const
Kokkos::View< const ScalarT **, typename PHX::DevLayout< ScalarT >::type, PHX::Device > KokkosScalarFields_t
Kokkos::View< KokkosScalarFields_t * > internal_scalar_fields