8 #ifndef SCALARADVDIFFELEMKERNEL_H 9 #define SCALARADVDIFFELEMKERNEL_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;
28 template<
typename AlgTraits>
33 const stk::mesh::BulkData&,
63 Kokkos::View<DoubleType[AlgTraits::numScsIp_][AlgTraits::nodesPerElement_]>
v_shape_function_ {
"view_shape_func" };
const bool shiftedGradOp_
Definition: ScalarAdvDiffElemKernel.h:60
Definition: ABLForcingAlgorithm.C:26
stk::mesh::Field< double, stk::mesh::SimpleArrayTag > GenericFieldType
Definition: FieldTypeDef.h:27
virtual ~ScalarAdvDiffElemKernel()
Definition: ScalarAdvDiffElemKernel.C:65
ScalarAdvDiffElemKernel()=delete
Definition: ElemDataRequests.h:66
Definition: SolutionOptions.h:38
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
CVFEM scalar advection/diffusion kernel.
Definition: ScalarAdvDiffElemKernel.h:29
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
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: ScalarAdvDiffElemKernel.C:70
ScalarFieldType * diffFluxCoeff_
Definition: ScalarAdvDiffElemKernel.h:53
const int * lrscv_
Left right node indicators.
Definition: ScalarAdvDiffElemKernel.h:58
Definition: UnitTestMasterElements.C:367
Base class for computational kernels in Nalu.
Definition: Kernel.h:63
ScalarFieldType * scalarQ_
Definition: ScalarAdvDiffElemKernel.h:52
VectorFieldType * coordinates_
Definition: ScalarAdvDiffElemKernel.h:54
Kokkos::View< T, Kokkos::LayoutRight, DeviceShmem, Kokkos::MemoryUnmanaged > SharedMemView
Definition: KokkosInterface.h:25
Kokkos::View< DoubleType[AlgTraits::numScsIp_][AlgTraits::nodesPerElement_]> v_shape_function_
Shape functions.
Definition: ScalarAdvDiffElemKernel.h:63
GenericFieldType * massFlowRate_
Definition: ScalarAdvDiffElemKernel.h:55
Definition: ScratchViews.h:82