|
VirtualFluids 0.2.0
Parallel CFD LBM Solver
|
manage the cuda kernel calls More...
#include <GridScalingKernelManager.h>
Public Member Functions | |
| GridScalingKernelManager (SPtr< Parameter > parameter, GridScalingFactory *gridScalingFactory) | |
| void | runFineToCoarseKernelLB (const int level, InterpolationCells *fineToCoarse, ICellNeigh &neighborFineToCoarse, CudaStreamIndex streamIndex) const |
| calls the device function of the fine to coarse grid interpolation kernelH | |
| void | runCoarseToFineKernelLB (const int level, InterpolationCells *coarseToFine, ICellNeigh &neighborCoarseToFine, CudaStreamIndex streamIndex) const |
| calls the device function of the coarse to fine grid interpolation kernel | |
manage the cuda kernel calls
Definition at line 60 of file GridScalingKernelManager.h.
| vf::gpu::GridScalingKernelManager::GridScalingKernelManager | ( | SPtr< Parameter > | parameter, |
| GridScalingFactory * | gridScalingFactory | ||
| ) |
Class constructor
| parameter | shared pointer to instance of class Parameter |
| std::runtime_error | when the user forgets to specify a scaling function |
Definition at line 47 of file GridScalingKernelManager.cpp.
| void vf::gpu::GridScalingKernelManager::runCoarseToFineKernelLB | ( | const int | level, |
| InterpolationCells * | coarseToFine, | ||
| ICellNeigh & | neighborCoarseToFine, | ||
| CudaStreamIndex | streamIndex | ||
| ) | const |
calls the device function of the coarse to fine grid interpolation kernel
Definition at line 87 of file GridScalingKernelManager.cpp.
| void vf::gpu::GridScalingKernelManager::runFineToCoarseKernelLB | ( | const int | level, |
| InterpolationCells * | fineToCoarse, | ||
| ICellNeigh & | neighborFineToCoarse, | ||
| CudaStreamIndex | streamIndex | ||
| ) | const |
calls the device function of the fine to coarse grid interpolation kernelH
Definition at line 79 of file GridScalingKernelManager.cpp.