1 #ifndef VERTEXCFD_BOUNDARYSTATE_INCOMPRESSIBLENOSLIP_HPP
2 #define VERTEXCFD_BOUNDARYSTATE_INCOMPRESSIBLENOSLIP_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 <Teuchos_ParameterList.hpp>
14 #include <Kokkos_Core.hpp>
18 namespace BoundaryCondition
21 template<
class EvalType,
class Traits,
int NumSpaceDim>
23 public PHX::EvaluatorDerived<EvalType, Traits>
26 using scalar_type =
typename EvalType::ScalarT;
27 static constexpr
int num_space_dim = NumSpaceDim;
30 const Teuchos::ParameterList& fluid_params,
31 const Teuchos::ParameterList& bc_params,
34 void evaluateFields(
typename Traits::EvalData workset)
override;
36 KOKKOS_INLINE_FUNCTION
38 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
41 PHX::MDField<scalar_type, panzer::Cell, panzer::Point>
42 _boundary_lagrange_pressure;
43 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
44 _boundary_grad_lagrange_pressure;
45 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _boundary_temperature;
46 Kokkos::Array<PHX::MDField<scalar_type, panzer::Cell, panzer::Point>,
51 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim>,
53 _boundary_grad_velocity;
54 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
55 _boundary_grad_temperature;
58 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _lagrange_pressure;
59 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _temperature;
60 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
61 _grad_lagrange_pressure;
63 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>,
66 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
68 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
70 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _kappa;
73 bool _set_lagrange_pressure;
86 TempProfile _temperature_profile;
94 #endif // VERTEXCFD_BOUNDARYSTATE_INCOMPRESSIBLENOSLIP_HPP