43 void *rhs_m_y,
void *rhs_m_z,
void *rhs_E,
44 void *visc_rho,
void *visc_m_x,
void *visc_m_y,
45 void *visc_m_z,
void *visc_E,
46 void *Binv,
void *
h1,
int *n) {
48 const dim3 nthrds(1024, 1, 1);
49 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
53 <<<nblcks, nthrds, 0, stream>>>((
real *) rhs_rho, (
real *) rhs_m_x,
56 (
real *) visc_m_x, (
real *) visc_m_y,
63 void *m_x,
void *m_y,
void *m_z,
64 void *rho_field,
void *p,
int *n) {
66 const dim3 nthrds(1024, 1, 1);
67 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
71 <<<nblcks, nthrds, 0, stream>>>((
real *) f_x, (
real *) f_y, (
real *) f_z,
78 void *m_x,
void *m_y,
void *m_z,
79 void *rho_field,
void *p,
int *n) {
81 const dim3 nthrds(1024, 1, 1);
82 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
86 <<<nblcks, nthrds, 0, stream>>>((
real *) f_x, (
real *) f_y, (
real *) f_z,
93 void *m_x,
void *m_y,
void *m_z,
94 void *rho_field,
void *p,
int *n) {
96 const dim3 nthrds(1024, 1, 1);
97 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
101 <<<nblcks, nthrds, 0, stream>>>((
real *) f_x, (
real *) f_y, (
real *) f_z,
103 (
real *) rho_field, (
real *) p, *n);
108 void *m_x,
void *m_y,
void *m_z,
109 void *rho_field,
void *p,
void *E,
112 const dim3 nthrds(1024, 1, 1);
113 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
117 <<<nblcks, nthrds, 0, stream>>>((
real *) f_x, (
real *) f_y, (
real *) f_z,
124 void *rhs_m_y,
void *rhs_m_z,
125 void *rhs_E,
void *mult,
int *n) {
127 const dim3 nthrds(1024, 1, 1);
128 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
132 <<<nblcks, nthrds, 0, stream>>>((
real *) rhs_rho, (
real *) rhs_m_x,
140 void *k_rho_i,
void *k_m_x_i,
void *k_m_y_i,
141 void *k_m_z_i,
void *k_E_i,
143 const dim3 nthrds(1024, 1, 1);
144 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
148 <<<nblcks, nthrds, 0, stream>>>((
real *) rho, (
real *) m_x, (
real *) m_y,
void inviscid_res_part_my_flux_cuda(void *f_x, void *f_y, void *f_z, void *m_x, void *m_y, void *m_z, void *rho_field, void *p, int *n)
void compressible_res_part_coef_mult_cuda(void *rhs_rho, void *rhs_m_x, void *rhs_m_y, void *rhs_m_z, void *rhs_E, void *mult, int *n)
void compressible_res_part_visc_cuda(void *rhs_rho, void *rhs_m_x, void *rhs_m_y, void *rhs_m_z, void *rhs_E, void *visc_rho, void *visc_m_x, void *visc_m_y, void *visc_m_z, void *visc_E, void *Binv, void *h1, int *n)
void inviscid_res_part_E_flux_cuda(void *f_x, void *f_y, void *f_z, void *m_x, void *m_y, void *m_z, void *rho_field, void *p, void *E, int *n)
void compressible_res_part_rk_sum_cuda(void *rho, void *m_x, void *m_y, void *m_z, void *E, void *k_rho_i, void *k_m_x_i, void *k_m_y_i, void *k_m_z_i, void *k_E_i, real *dt, real *c, int *n)
void inviscid_res_part_mz_flux_cuda(void *f_x, void *f_y, void *f_z, void *m_x, void *m_y, void *m_z, void *rho_field, void *p, int *n)
void inviscid_res_part_mx_flux_cuda(void *f_x, void *f_y, void *f_z, void *m_x, void *m_y, void *m_z, void *rho_field, void *p, int *n)
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ h1
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dt
__global__ void compressible_res_part_coef_mult_kernel(T *__restrict__ rhs_rho, T *__restrict__ rhs_m_x, T *__restrict__ rhs_m_y, T *__restrict__ rhs_m_z, T *__restrict__ rhs_E, const T *__restrict__ mult, const int n)
__global__ void inviscid_res_part_my_flux_kernel(T *__restrict__ f_x, T *__restrict__ f_y, T *__restrict__ f_z, const T *__restrict__ m_x, const T *__restrict__ m_y, const T *__restrict__ m_z, const T *__restrict__ rho_field, const T *__restrict__ p, const int n)
__global__ void compressible_res_part_visc_kernel(T *__restrict__ rhs_rho, T *__restrict__ rhs_m_x, T *__restrict__ rhs_m_y, T *__restrict__ rhs_m_z, T *__restrict__ rhs_E, const T *__restrict__ visc_rho, const T *__restrict__ visc_m_x, const T *__restrict__ visc_m_y, const T *__restrict__ visc_m_z, const T *__restrict__ visc_E, const T *__restrict__ Binv, T *__restrict__ h1, const int n)
__global__ void inviscid_res_part_mz_flux_kernel(T *__restrict__ f_x, T *__restrict__ f_y, T *__restrict__ f_z, const T *__restrict__ m_x, const T *__restrict__ m_y, const T *__restrict__ m_z, const T *__restrict__ rho_field, const T *__restrict__ p, const int n)
__global__ void compressible_res_part_rk_sum_kernel(T *__restrict__ rho, T *__restrict__ m_x, T *__restrict__ m_y, T *__restrict__ m_z, T *__restrict__ E, const T *__restrict__ k_rho_i, const T *__restrict__ k_m_x_i, const T *__restrict__ k_m_y_i, const T *__restrict__ k_m_z_i, const T *__restrict__ k_E_i, const T dt, const T c, const int n)
__global__ void inviscid_res_part_E_flux_kernel(T *__restrict__ f_x, T *__restrict__ f_y, T *__restrict__ f_z, const T *__restrict__ m_x, const T *__restrict__ m_y, const T *__restrict__ m_z, const T *__restrict__ rho_field, const T *__restrict__ p, const T *__restrict__ E, const int n)
__global__ void inviscid_res_part_mx_flux_kernel(T *__restrict__ f_x, T *__restrict__ f_y, T *__restrict__ f_z, const T *__restrict__ m_x, const T *__restrict__ m_y, const T *__restrict__ m_z, const T *__restrict__ rho_field, const T *__restrict__ p, const int n)