VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
vf::gpu::Kernel Class Referenceabstract

#include <Kernel.h>

Inheritance diagram for vf::gpu::Kernel:
vf::gpu::KernelImp vf::gpu::AdvectionDiffusionKernel vf::gpu::B15CompressibleNavierStokesBGKplus vf::gpu::B15IncompressibleNavierStokesBGKplus vf::gpu::B92CompressibleNavierStokes vf::gpu::B92IncompressibleNavierStokes vf::gpu::K15CompressibleNavierStokes vf::gpu::K15IncompressibleNavierStokes vf::gpu::K17CompressibleNavierStokes< turbulenceModel >

Public Member Functions

virtual ~Kernel ()=default
 
virtual void run ()=0
 
virtual void runOnIndices (const unsigned int *indices, unsigned int size_indices, CollisionTemplate collisionTemplate, CudaStreamIndex streamIdx=CudaStreamIndex::Legacy)=0
 
virtual void checkKernelParameters (uint maxLevel, real velocityLB, real viscosityLBOnFinestLevel) const =0
 check if velocityLB and viscosityLB are not too high, as this can lead to inaccurate results or a crash of the kernel
 
virtual std::vector< PreProcessorTypegetPreProcessorTypes ()=0
 

Detailed Description

Definition at line 46 of file Kernel.h.

Constructor & Destructor Documentation

◆ ~Kernel()

virtual vf::gpu::Kernel::~Kernel ( )
virtualdefault

Member Function Documentation

◆ checkKernelParameters()

virtual void vf::gpu::Kernel::checkKernelParameters ( uint  maxLevel,
real  velocityLB,
real  viscosityLBOnFinestLevel 
) const
pure virtual

check if velocityLB and viscosityLB are not too high, as this can lead to inaccurate results or a crash of the kernel

Implemented in vf::gpu::KernelImp.

◆ getPreProcessorTypes()

virtual std::vector< PreProcessorType > vf::gpu::Kernel::getPreProcessorTypes ( )
pure virtual

Implemented in vf::gpu::KernelImp.

◆ run()

◆ runOnIndices()


The documentation for this class was generated from the following file: