8 #ifndef MOMENTUMNSOELEMKERNEL_H 9 #define MOMENTUMNSOELEMKERNEL_H 14 #include <stk_mesh/base/BulkData.hpp> 15 #include <stk_mesh/base/Entity.hpp> 17 #include <Kokkos_Core.hpp> 22 class SolutionOptions;
24 class ElemDataRequests;
29 template<
typename AlgTraits>
34 const stk::mesh::BulkData&,
83 Kokkos::View<DoubleType[AlgTraits::numScsIp_][AlgTraits::nodesPerElement_]>
v_shape_function_{
"v_shape_function"};
84 Kokkos::View<DoubleType[AlgTraits::nDim_][AlgTraits::nDim_]>
v_kd_{
"v_kd"};
NSO for momentum equation.
Definition: MomentumNSOElemKernel.h:30
Definition: TimeIntegrator.h:26
Definition: ABLForcingAlgorithm.C:26
double dt_
Definition: MomentumNSOElemKernel.h:69
VectorFieldType * velocityN_
Definition: MomentumNSOElemKernel.h:56
double gamma2_
Definition: MomentumNSOElemKernel.h:71
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
ScalarFieldType * pressure_
Definition: MomentumNSOElemKernel.h:61
virtual void setup(const TimeIntegrator &)
Perform pre-timestep work for the computational kernel.
Definition: MomentumNSOElemKernel.C:116
MomentumNSOElemKernel()=delete
const double includeDivU_
Definition: MomentumNSOElemKernel.h:78
Definition: ElemDataRequests.h:66
const bool shiftedGradOp_
Definition: MomentumNSOElemKernel.h:79
VectorFieldType * velocityNp1_
Definition: MomentumNSOElemKernel.h:57
Definition: SolutionOptions.h:38
double gamma3_
Definition: MomentumNSOElemKernel.h:72
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
const double nonConservedForm_
Definition: MomentumNSOElemKernel.h:77
ScalarFieldType * viscosity_
Definition: MomentumNSOElemKernel.h:64
const double small_
Definition: MomentumNSOElemKernel.h:80
Kokkos::View< DoubleType[AlgTraits::nDim_][AlgTraits::nDim_]> v_kd_
Definition: MomentumNSOElemKernel.h:84
VectorFieldType * coordinates_
Definition: MomentumNSOElemKernel.h:63
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
ScalarFieldType * densityNp1_
Definition: MomentumNSOElemKernel.h:60
const double altResFac_
Definition: MomentumNSOElemKernel.h:75
virtual ~MomentumNSOElemKernel()
Definition: MomentumNSOElemKernel.h:43
const int * lrscv_
Definition: MomentumNSOElemKernel.h:67
const double fourthFac_
Definition: MomentumNSOElemKernel.h:74
Definition: UnitTestMasterElements.C:367
Base class for computational kernels in Nalu.
Definition: Kernel.h:63
virtual void execute(SharedMemView< DoubleType ** > &, SharedMemView< DoubleType * > &, ScratchViews< DoubleType > &)
Execute the kernel within a Kokkos loop and populate the LHS and RHS for the linear solve...
Definition: MomentumNSOElemKernel.C:126
ScalarFieldType * densityN_
Definition: MomentumNSOElemKernel.h:59
Kokkos::View< T, Kokkos::LayoutRight, DeviceShmem, Kokkos::MemoryUnmanaged > SharedMemView
Definition: KokkosInterface.h:25
ScalarFieldType * densityNm1_
Definition: MomentumNSOElemKernel.h:58
double gamma1_
Definition: MomentumNSOElemKernel.h:70
VectorFieldType * velocityNm1_
Definition: MomentumNSOElemKernel.h:55
Kokkos::View< DoubleType[AlgTraits::numScsIp_][AlgTraits::nodesPerElement_]> v_shape_function_
Definition: MomentumNSOElemKernel.h:83
const double om_altResFac_
Definition: MomentumNSOElemKernel.h:76
Definition: ScratchViews.h:82
GenericFieldType * Gju_
Definition: MomentumNSOElemKernel.h:65
VectorFieldType * velocityRTM_
Definition: MomentumNSOElemKernel.h:62
const double Cupw_
Definition: MomentumNSOElemKernel.h:73