8 #ifndef SCALARDIFFFEMKERNEL_H 9 #define SCALARDIFFFEMKERNEL_H 14 #include <stk_mesh/base/BulkData.hpp> 15 #include <stk_mesh/base/Entity.hpp> 17 #include <Kokkos_Core.hpp> 23 class ElemDataRequests;
26 class SolutionOptions;
30 template<
typename AlgTraits>
35 const stk::mesh::BulkData&,
65 Kokkos::View<DoubleType[AlgTraits::numScsIp_][AlgTraits::nodesPerElement_]>
v_shape_function_ {
"v_shape_func" };
Kokkos::View< DoubleType[AlgTraits::numScsIp_][AlgTraits::nodesPerElement_]> v_shape_function_
Shape functions.
Definition: ScalarDiffFemKernel.h:65
ScalarDiffFemKernel()=delete
const bool shiftedGradOp_
Definition: ScalarDiffFemKernel.h:62
Definition: ABLForcingAlgorithm.C:26
ScalarFieldType * scalarQ_
Definition: ScalarDiffFemKernel.h:55
Hex8FEM * meFEM_
Definition: ScalarDiffFemKernel.h:60
Definition: ElemDataRequests.h:66
Definition: SolutionOptions.h:38
stk::mesh::Field< double, stk::mesh::Cartesian > VectorFieldType
Definition: FieldTypeDef.h:24
const stk::mesh::BulkData * bulkData_
Definition: ScalarDiffFemKernel.h:54
stk::mesh::Field< double > ScalarFieldType
Definition: FieldTypeDef.h:19
double * ipWeight_
Definition: ScalarDiffFemKernel.h:61
ScalarFieldType * diffFluxCoeff_
Definition: ScalarDiffFemKernel.h:56
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: ScalarDiffFemKernel.C:74
Definition: UnitTestMasterElements.C:367
Base class for computational kernels in Nalu.
Definition: Kernel.h:63
VectorFieldType * coordinates_
Definition: ScalarDiffFemKernel.h:57
Kokkos::View< T, Kokkos::LayoutRight, DeviceShmem, Kokkos::MemoryUnmanaged > SharedMemView
Definition: KokkosInterface.h:25
CVFEM scalar advection/diffusion kernel.
Definition: ScalarDiffFemKernel.h:31
virtual ~ScalarDiffFemKernel()
Definition: ScalarDiffFemKernel.C:67
Definition: ScratchViews.h:82