1 #ifndef VERTEXCFD_CLOSURE_INCOMPRESSIBLEKEPSILONDIFFUSIVITYCOEFFICIENT_HPP
2 #define VERTEXCFD_CLOSURE_INCOMPRESSIBLEKEPSILONDIFFUSIVITYCOEFFICIENT_HPP
4 #include <Panzer_Dimension.hpp>
5 #include <Panzer_Evaluator_WithBaseImpl.hpp>
7 #include <Phalanx_Evaluator_Derived.hpp>
8 #include <Phalanx_Evaluator_WithBaseImpl.hpp>
9 #include <Phalanx_FieldManager.hpp>
10 #include <Phalanx_config.hpp>
12 #include <Kokkos_Core.hpp>
16 namespace ClosureModel
21 template<
class EvalType,
class Traits>
23 :
public panzer::EvaluatorWithBaseImpl<Traits>,
24 public PHX::EvaluatorDerived<EvalType, Traits>
27 using scalar_type =
typename EvalType::ScalarT;
30 const panzer::IntegrationRule& ir,
31 const double sigma_k = 1.0,
32 const double sigma_e = 1.3,
33 const std::string field_prefix =
"");
35 void evaluateFields(
typename Traits::EvalData workset)
override;
37 KOKKOS_INLINE_FUNCTION
39 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
42 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _nu;
43 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _nu_t;
50 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _diffusivity_var_k;
51 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _diffusivity_var_e;