![]() |
VM2D
1.12
Vortex methods for 2D flows simulation
|
Barnes-Hut method (CUDA) for 2D vortex particles + Morton tree. More...
#include <algorithm>#include <fstream>#include <iostream>#include <math.h>#include <stdlib.h>#include <stdio.h>#include <vector>#include "omp.h"#include "types.cuh"#include "cuKernels.cuh"
Go to the source code of this file.
Classes | |
| struct | BHcu::CudaCalcGab |
| struct | BHcu::CudaSorter |
Namespaces | |
| BHcu | |
Functions | |
| void | BHcu::rebuildBaseTree (CUDApointers &ptrs, const int nbodies, const realVortex *vtxl, int nnodes, int order, double *timing) |
| double | BHcu::memoryAllocate (CUDApointers &ptrs, int nnodes, int nbodies, int nbodiesOld, int blocks, int order) |
| double | BHcu::wrapperInfluence (const realVortex *vtxl, realPoint *vell, real *epsastl, CUDApointers &ptrs, int nbodies, double *timing, real eps, real theta, size_t &nbodiesOld, int nbodiesUp, int order, size_t nAfls, size_t *nVtxs, double **ptrVtxs) |
| double | BHcu::wrapperInfluenceToPoints (const realVortex *vtxl, const realVortex *pointsl, realPoint *vell, real *epsastl, CUDApointers &ptrs, bool rebuild, int nbodies, int npoints, double *timing, real eps, real theta, size_t &nbodiesOld, int nbodiesUp, int order, size_t nAfls, size_t *nVtxs, double **ptrVtxs) |
| npoints - More... | |
| double | BHcu::wrapperInfluenceToRHS (const realVortex *dev_ptr_vt, const double *dev_ptr_pt, double *dev_ptr_rhs, double *dev_ptr_rhslin, CUDApointers &ptrs, bool rebuild, int nvt, int nTotPan, double *timingsToRHS, double theta, size_t &nbodiesOld, int nbodiesUp, int order, int scheme) |
| double | BHcu::wrapperDiffusiveVelo (const realVortex *vtxl, real *i1l, realPoint *i2l, real *epsastl, CUDApointers &ptrs, bool rebuild, int nbodies, double *timing, real eps, real theta, size_t &nbodiesOld, int nbodiesUp, int order, size_t nAfls, size_t *nVtxs, double **ptrVtxs) |
Variables | |
| const real | BHcu::IDPI = (real)0.15915494309189534 |
Barnes-Hut method (CUDA) for 2D vortex particles + Morton tree.
Definition in file wrapper.cpp.