1 #ifndef VERTEXCFD_CLOSURE_INCOMPRESSIBLELSVOFNTHPHASEFRACTION_HPP
2 #define VERTEXCFD_CLOSURE_INCOMPRESSIBLELSVOFNTHPHASEFRACTION_HPP
4 #include "utils/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_Field.hpp>
13 #include <Phalanx_FieldManager.hpp>
14 #include <Phalanx_KokkosDeviceTypes.hpp>
15 #include <Phalanx_MDField.hpp>
16 #include <Phalanx_config.hpp>
18 #include <Kokkos_Core.hpp>
24 namespace ClosureModel
30 template<
class EvalType,
class Traits>
32 :
public panzer::EvaluatorWithBaseImpl<Traits>,
33 public PHX::EvaluatorDerived<EvalType, Traits>
36 using scalar_type =
typename EvalType::ScalarT;
39 const panzer::IntegrationRule& ir,
40 const std::vector<std::string>& phase_names,
41 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;
49 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _alpha_n;
52 Teuchos::RCP<PHX::DataLayout> _phase_layout;
54 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, PhaseIndex>
63 #endif // end VERTEXCFD_CLOSURE_INCOMPRESSIBLELSVOFNTHPHASEFRACTION_HPP