1 #ifndef VERTEXCFD_CLOSURE_RADERRORNORMS_HPP
2 #define VERTEXCFD_CLOSURE_RADERRORNORMS_HPP
4 #include "rad_solver/species_properties/VertexCFD_ConstantSpeciesProperties.hpp"
5 #include "utils/VertexCFD_Utils_Constants.hpp"
7 #include <Panzer_Dimension.hpp>
8 #include <Panzer_Evaluator_WithBaseImpl.hpp>
10 #include <Phalanx_Evaluator_Derived.hpp>
11 #include <Phalanx_Evaluator_WithBaseImpl.hpp>
12 #include <Phalanx_FieldManager.hpp>
13 #include <Phalanx_config.hpp>
15 #include <Teuchos_ParameterList.hpp>
17 #include <Kokkos_Core.hpp>
21 namespace ClosureModel
26 template<
class EvalType,
class Traits>
28 public PHX::EvaluatorDerived<EvalType, Traits>
31 using scalar_type =
typename EvalType::ScalarT;
34 const panzer::IntegrationRule& ir,
37 void evaluateFields(
typename Traits::EvalData workset)
override;
39 KOKKOS_INLINE_FUNCTION
41 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
47 Kokkos::Array<PHX::MDField<scalar_type, panzer::Cell, panzer::Point>,
48 VertexCFD::Constants::MAX_NUM_VIEW>
50 Kokkos::Array<PHX::MDField<scalar_type, panzer::Cell, panzer::Point>,
51 VertexCFD::Constants::MAX_NUM_VIEW>
53 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _volume;
56 Kokkos::Array<PHX::MDField<const scalar_type, panzer::Cell, panzer::Point>,
57 VertexCFD::Constants::MAX_NUM_VIEW>
59 Kokkos::Array<PHX::MDField<const scalar_type, panzer::Cell, panzer::Point>,
60 VertexCFD::Constants::MAX_NUM_VIEW>
69 #include "VertexCFD_Closure_RADErrorNorms_impl.hpp"
71 #endif // VERTEXCFD_CLOSURE_RADERRORNORMS_HPP