VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
vf::gpu::B92CompressibleNavierStokes Class Reference

#include <B92CompressibleNavierStokes.h>

Inheritance diagram for vf::gpu::B92CompressibleNavierStokes:
vf::gpu::KernelImp vf::gpu::Kernel

Public Member Functions

void run ()
 
- Public Member Functions inherited from vf::gpu::KernelImp
void runOnIndices (const unsigned int *indices, unsigned int sizeIndices, CollisionTemplate collisionTemplate, CudaStreamIndex streamIndex=CudaStreamIndex::Legacy) override
 
void checkKernelParameters (uint maxLevel, real velocityLB, real viscosityLBOnFinestLevel) const override
 check if velocityLB and viscosityLB are not too high, as this can lead to inaccurate results or a crash of the kernel
 
std::vector< PreProcessorTypegetPreProcessorTypes () override
 
bool getKernelUsesFluidNodeIndices () const
 
- Public Member Functions inherited from vf::gpu::Kernel
virtual ~Kernel ()=default
 

Static Public Member Functions

static std::shared_ptr< B92CompressibleNavierStokesgetNewInstance (std::shared_ptr< Parameter > para, int level)
 

Additional Inherited Members

- Protected Member Functions inherited from vf::gpu::KernelImp
 KernelImp (std::shared_ptr< Parameter > para, int level)
 
 KernelImp (std::shared_ptr< Parameter > para, int level, real viscosityMaximumRecommended)
 
 KernelImp (std::shared_ptr< Parameter > para, int level, real viscosityMaximumRecommended, real viscosityMaximumHard)
 
 KernelImp ()=default
 
- Protected Attributes inherited from vf::gpu::KernelImp
const real velocityMaximumHard = 1 - std::sqrt(vf::basics::constant::c1o3)
 
const real velocityMaximumRecommended = 0.1
 
const std::optional< realviscosityMaximumHard = std::nullopt
 
const std::optional< realviscosityMaximumRecommended = std::nullopt
 
std::shared_ptr< Parameterpara
 
int level
 
std::vector< PreProcessorTypemyPreProcessorTypes
 
vf::cuda::CudaGrid cudaGrid
 
bool kernelUsesFluidNodeIndices = false
 

Detailed Description

Definition at line 39 of file B92CompressibleNavierStokes.h.

Member Function Documentation

◆ getNewInstance()

static std::shared_ptr< B92CompressibleNavierStokes > vf::gpu::B92CompressibleNavierStokes::getNewInstance ( std::shared_ptr< Parameter para,
int  level 
)
static

◆ run()

void vf::gpu::B92CompressibleNavierStokes::run ( )
virtual

Implements vf::gpu::Kernel.


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