1 #ifndef VERTEXCFD_CLOSURE_INCOMPRESSIBLELSVOFSCALARCONVECTIVEFLUX_HPP
2 #define VERTEXCFD_CLOSURE_INCOMPRESSIBLELSVOFSCALARCONVECTIVEFLUX_HPP
4 #include "VertexCFD_Utils_PhaseIndex.hpp"
6 #include <Panzer_Dimension.hpp>
7 #include <Panzer_Evaluator_WithBaseImpl.hpp>
9 #include <Phalanx_DataLayout.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 <Kokkos_Core.hpp>
21 namespace ClosureModel
26 template<
class EvalType,
class Traits,
int NumSpaceDim>
28 :
public panzer::EvaluatorWithBaseImpl<Traits>,
29 public PHX::EvaluatorDerived<EvalType, Traits>
32 using scalar_type =
typename EvalType::ScalarT;
33 static constexpr
int num_space_dim = NumSpaceDim;
36 const int& phase_index,
37 const int& num_lsvof_dofs,
38 const std::string& equation_name,
39 const std::string& flux_prefix =
"",
40 const std::string& field_prefix
43 void evaluateFields(
typename Traits::EvalData workset)
override;
45 KOKKOS_INLINE_FUNCTION
47 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
50 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
55 Teuchos::RCP<PHX::DataLayout> _phase_layout;
57 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, PhaseIndex>
59 Kokkos::Array<PHX::MDField<const scalar_type, panzer::Cell, panzer::Point>,
69 #endif // end VERTEXCFD_CLOSURE_INCOMPRESSIBLELSVOFSCALARCONVECTIVEFLUX_HPP