45 void *uu,
void *vv,
void *ww,
46 void *ulag1,
void *ulag2,
void *vlag1,
47 void *vlag2,
void *wlag1,
void *wlag2,
50 const dim3 nthrds(1024, 1, 1);
51 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
59 *ab1, *ab2, *ab3, *nab, *n);
64 void *abx2,
void *aby2,
void *abz2,
65 void *bfx,
void *bfy,
void *bfz,
68 const dim3 nthrds(1024, 1, 1);
69 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
73 <<<nblcks, nthrds, 0, stream>>>((
real *) abx1, (
real *) aby1,
77 (
real *) bfz, *rho, *ab1,
85 const dim3 nthrds(1024, 1, 1);
86 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
90 <<<nblcks, nthrds, 0, stream>>>((
real *) fs_lag,
93 *ext1, *ext2, *ext3, *n);
98 void *vlag2,
void *wlag1,
void *wlag2,
99 void *bfx,
void *bfy,
void *bfz,
100 void *
u,
void *
v,
void *
w,
void *B,
101 void *Blag,
void *Blaglag,
103 real *bd3,
real *bd4,
int *nbd,
int *n) {
105 const dim3 nthrds(1024, 1, 1);
106 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
110 <<<nblcks, nthrds, 0, stream>>>((
real *) ulag1, (
real *) ulag2,
116 *rho, *
dt, *bd2, *bd3, *bd4, *nbd, *n);
124 real *bd3,
real *bd4,
int *nbd,
int *n) {
126 const dim3 nthrds(1024, 1, 1);
127 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
131 <<<nblcks, nthrds, 0, stream>>>((
real *) s_lag,
137 *
dt, *bd2, *bd3, *bd4, *nbd, *n);
142 void *bf_x,
void *bf_y,
void *bf_z,
145 const dim3 nthrds(1024, 1, 1);
146 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
150 <<<nblcks, nthrds, 0, stream>>>((
real *) phi_x, (
real *) phi_y,
159 void *rho_cp,
real *
dt,
int *n) {
161 const dim3 nthrds(1024, 1, 1);
162 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
166 <<<nblcks, nthrds, 0, stream>>>((
real *) phi_s, (
real *) bf_s,
167 (
real *) rho_cp, *
dt, *n);
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ w
__global__ void const T *__restrict__ u
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ v
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dt
__global__ void makebdf_kernel(const T *__restrict__ ulag1, const T *__restrict__ ulag2, const T *__restrict__ vlag1, const T *__restrict__ vlag2, const T *__restrict__ wlag1, const T *__restrict__ wlag2, T *__restrict__ bfx, T *__restrict__ bfy, T *__restrict__ bfz, const T *__restrict__ u, const T *__restrict__ v, const T *__restrict__ w, const T *__restrict__ B, const T *__restrict__ Blag, const T *__restrict__ Blaglag, const T rho, const T dt, const T bd2, const T bd3, const T bd4, const int nbd, const int n)
__global__ void scalar_makebdf_kernel(const T *__restrict__ s_lag, const T *__restrict__ s_laglag, T *__restrict__ fs, const T *__restrict__ s, const T *__restrict__ B, const T *__restrict__ rho_cp, const T dt, const T bd2, const T bd3, const T bd4, const int nbd, const int n)
__global__ void scalar_makeext_kernel(T *__restrict__ fs_lag, T *__restrict__ fs_laglag, T *__restrict__ fs, const T ext1, const T ext2, const T ext3, const int n)
__global__ void makeext_kernel(T *__restrict__ abx1, T *__restrict__ aby1, T *__restrict__ abz1, T *__restrict__ abx2, T *__restrict__ aby2, T *__restrict__ abz2, T *__restrict__ bfx, T *__restrict__ bfy, T *__restrict__ bfz, const T rho, const T ab1, const T ab2, const T ab3, const int n)
__global__ void makeoifs_kernel(const T *__restrict__ phi_x, const T *__restrict__ phi_y, const T *__restrict__ phi_z, T *__restrict__ bf_x, T *__restrict__ bf_y, T *__restrict__ bf_z, const T rho, const T dt, const int n)
__global__ void scalar_makeoifs_kernel(const T *__restrict__ phi_s, T *__restrict__ bf_s, const T *__restrict__ rho_cp, const T dt, const int n)
__global__ void sumab_kernel(T *__restrict__ u, T *__restrict__ v, T *__restrict__ w, const T *__restrict__ uu, const T *__restrict__ vv, const T *__restrict__ ww, const T *__restrict__ ulag1, const T *__restrict__ ulag2, const T *__restrict__ vlag1, const T *__restrict__ vlag2, const T *__restrict__ wlag1, const T *__restrict__ wlag2, const T ab1, const T ab2, const T ab3, const int nab, const int n)
void scalar_rhs_maker_oifs_cuda(void *phi_s, void *bf_s, void *rho_cp, real *dt, int *n)
void rhs_maker_oifs_cuda(void *phi_x, void *phi_y, void *phi_z, void *bf_x, void *bf_y, void *bf_z, real *rho, real *dt, int *n)
void scalar_rhs_maker_bdf_cuda(void *s_lag, void *s_laglag, void *fs, void *s, void *B, void *rho_cp, real *dt, real *bd2, real *bd3, real *bd4, int *nbd, int *n)
void rhs_maker_ext_cuda(void *abx1, void *aby1, void *abz1, void *abx2, void *aby2, void *abz2, void *bfx, void *bfy, void *bfz, real *rho, real *ab1, real *ab2, real *ab3, int *n)
void rhs_maker_sumab_cuda(void *u, void *v, void *w, void *uu, void *vv, void *ww, void *ulag1, void *ulag2, void *vlag1, void *vlag2, void *wlag1, void *wlag2, real *ab1, real *ab2, real *ab3, int *nab, int *n)
void scalar_rhs_maker_ext_cuda(void *fs_lag, void *fs_laglag, void *fs, real *ext1, real *ext2, real *ext3, int *n)
void rhs_maker_bdf_cuda(void *ulag1, void *ulag2, void *vlag1, void *vlag2, void *wlag1, void *wlag2, void *bfx, void *bfy, void *bfz, void *u, void *v, void *w, void *B, void *Blag, void *Blaglag, real *rho, real *dt, real *bd2, real *bd3, real *bd4, int *nbd, int *n)