1 #ifndef VERTEXCFD_BOUNDARYSTATE_INCOMPRESSIBLELSVOFNOSLIP_HPP
2 #define VERTEXCFD_BOUNDARYSTATE_INCOMPRESSIBLELSVOFNOSLIP_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_FieldManager.hpp>
13 #include <Phalanx_config.hpp>
15 #include <Teuchos_ParameterList.hpp>
17 #include <Kokkos_Core.hpp>
21 namespace BoundaryCondition
24 template<
class EvalType,
class Traits,
int NumSpaceDim>
26 :
public panzer::EvaluatorWithBaseImpl<Traits>,
27 public PHX::EvaluatorDerived<EvalType, Traits>
30 using scalar_type =
typename EvalType::ScalarT;
31 static constexpr
int num_space_dim = NumSpaceDim;
34 const int& num_lsvof_dofs,
35 const std::string& continuity_model_name,
36 const bool& build_mom_equ);
38 void evaluateFields(
typename Traits::EvalData workset)
override;
40 KOKKOS_INLINE_FUNCTION
42 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
45 Teuchos::RCP<PHX::DataLayout> _phase_layout;
48 PHX::MDField<scalar_type, panzer::Cell, panzer::Point>
49 _boundary_lagrange_pressure;
51 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
52 _boundary_grad_lagrange_pressure;
54 Kokkos::Array<PHX::MDField<scalar_type, panzer::Cell, panzer::Point>,
59 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim>,
61 _boundary_grad_velocity;
63 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, PhaseIndex>
67 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _lagrange_pressure;
69 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
70 _grad_lagrange_pressure;
73 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>,
77 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
80 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, PhaseIndex>
92 #endif // VERTEXCFD_BOUNDARYSTATE_INCOMPRESSIBLELSVOFNOSLIP_HPP