1 #ifndef VERTEXCFD_BOUNDARYSTATE_INCOMPRESSIBLEDIRICHLET_HPP
2 #define VERTEXCFD_BOUNDARYSTATE_INCOMPRESSIBLEDIRICHLET_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>
14 namespace BoundaryCondition
17 template<
class EvalType,
class Traits,
int NumSpaceDim>
19 public PHX::EvaluatorDerived<EvalType, Traits>
22 using scalar_type =
typename EvalType::ScalarT;
23 static constexpr
int num_space_dim = NumSpaceDim;
26 const Teuchos::ParameterList& fluid_params,
27 const Teuchos::ParameterList& bc_params,
30 void evaluateFields(
typename Traits::EvalData workset)
override;
32 KOKKOS_INLINE_FUNCTION
34 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
37 PHX::MDField<scalar_type, panzer::Cell, panzer::Point>
38 _boundary_lagrange_pressure;
39 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
40 _boundary_grad_lagrange_pressure;
41 Kokkos::Array<PHX::MDField<scalar_type, panzer::Cell, panzer::Point>,
44 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _boundary_temperature;
47 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim>,
49 _boundary_grad_velocity;
51 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
52 _boundary_grad_temperature;
58 Kokkos::Array<double, num_space_dim> _a_vel;
59 Kokkos::Array<double, num_space_dim> _b_vel;
62 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _lagrange_pressure;
63 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
64 _grad_lagrange_pressure;
66 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>,
69 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
81 #endif // VERTEXCFD_BOUNDARYSTATE_INCOMPRESSIBLEDIRICHLET_HPP