1 #ifndef VERTEXCFD_BOUNDARYSTATE_INCOMPRESSIBLECAVITYLID_HPP
2 #define VERTEXCFD_BOUNDARYSTATE_INCOMPRESSIBLECAVITYLID_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
23 template<
class EvalType,
class Traits,
int NumSpaceDim>
25 public PHX::EvaluatorDerived<EvalType, Traits>
28 using scalar_type =
typename EvalType::ScalarT;
29 static constexpr
int num_space_dim = NumSpaceDim;
32 const Teuchos::ParameterList& fluid_params,
33 const Teuchos::ParameterList& bc_params,
36 void postRegistrationSetup(
typename Traits::SetupData sd,
37 PHX::FieldManager<Traits>& fm)
override;
39 void evaluateFields(
typename Traits::EvalData workset)
override;
41 KOKKOS_INLINE_FUNCTION
43 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
46 PHX::MDField<scalar_type, panzer::Cell, panzer::Point>
47 _boundary_lagrange_pressure;
48 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
49 _boundary_grad_lagrange_pressure;
50 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _boundary_temperature;
51 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
52 _boundary_grad_temperature;
53 Kokkos::Array<PHX::MDField<scalar_type, panzer::Cell, panzer::Point>,
58 PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim>,
60 _boundary_grad_velocity;
66 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _lagrange_pressure;
67 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
68 _grad_lagrange_pressure;
69 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>
73 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, panzer::Dim>,
77 PHX::MDField<const double, panzer::Cell, panzer::Point, panzer::Dim> _ip_coords;
93 #endif // VERTEXCFD_BOUNDARYSTATE_INCOMPRESSIBLECAVITYLID_HPP