4 #include "cuKernels.cuh" 8 double memoryAllocate(CUDApointers& ptrs,
int nnodes,
int nbodies,
int nbodiesOld,
int blocks,
int order);
29 double wrapperInfluence(
const realVortex* vtxl, realPoint* vell, real* epsastl, CUDApointers& ptrs,
int nbodies,
30 double* timing, real eps, real theta,
size_t& nbodiesOld,
int nbodiesUp,
int order,
31 size_t nAfls,
size_t* nVtxs,
double** ptrVtxs);
35 const realVortex* vtxl,
const realVortex* pointsl, realPoint* vell, real* epsastl,
36 CUDApointers& ptrs,
bool rebuild,
37 int nbodies,
int npoints,
double* timing, real eps, real theta,
38 size_t& nbodiesOld,
int nbodiesUp,
int order,
39 size_t nAfls,
size_t* nVtxs,
double** ptrVtxs);
43 const realVortex* dev_ptr_vt,
44 const double* dev_ptr_pt,
46 double* dev_ptr_rhslin,
56 size_t& nbodiesOld,
int nbodiesUp,
int order,
int scheme);
double 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 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)
double 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 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 - число точек наблюдения
double memoryAllocate(CUDApointers &ptrs, int nnodes, int nbodies, int nbodiesOld, int blocks, int order)