46 void *n_x_d,
void *n_y_d,
void *n_z_d,
void *h_d,
47 void *tau_x_d,
void *tau_y_d,
void *tau_z_d,
48 int *n_nodes,
real *kappa,
void *mu_w_d,
void *rho_w_d,
real *g,
50 void *Ri_b_diagn,
void *L_ob_diagn,
void *utau_diagn,
51 void *magu_diagn,
void *ti_diagn,
void *ts_diagn,
54 const dim3 nthrds(256, 1, 1);
55 const dim3 nblcks(((*n_nodes) + 256 - 1) / 256, 1, 1);
58 real g1 = g[0], g2 = g[1], g3 = g[2];
63 <<<nblcks, nthrds, 0, stream>>>(
68 *n_nodes, *kappa, (
real *) mu_w_d, (
real *) rho_w_d, g1, g2, g3,
69 *Pr, *z0, *z0h_in, *bc_value, (
real *) Ri_b_diagn, (
real *) L_ob_diagn,
70 (
real *) utau_diagn, (
real *) magu_diagn, (
real *) ti_diagn,
71 (
real *) ts_diagn, (
real *) q_diagn);
72 }
else if (*bc_type == 1) {
74 <<<nblcks, nthrds, 0, stream>>>(
79 *n_nodes, *kappa, (
real *) mu_w_d, (
real *) rho_w_d, g1, g2, g3,
80 *Pr, *z0, *z0h_in, *bc_value, (
real *) Ri_b_diagn, (
real *) L_ob_diagn,
81 (
real *) utau_diagn, (
real *) magu_diagn, (
real *) ti_diagn, (
real *) ts_diagn,
__global__ void most_compute(const T *__restrict__ u_d, const T *__restrict__ v_d, const T *__restrict__ w_d, const T *__restrict__ temp_d, const T *__restrict__ temp_w_d, const T *__restrict__ h_d, const T *__restrict__ n_x_d, const T *__restrict__ n_y_d, const T *__restrict__ n_z_d, T *__restrict__ tau_x_d, T *__restrict__ tau_y_d, T *__restrict__ tau_z_d, int n_nodes, T kappa, const T *__restrict__ mu_w_d, const T *__restrict__ rho_w_d, T g1, T g2, T g3, T Pr, T z0, T z0h_in, T bc_value, T *__restrict__ Ri_b_diagn, T *__restrict__ L_ob_diagn, T *__restrict__ utau_diagn, T *__restrict__ magu_diagn, T *__restrict__ ti_diagn, T *__restrict__ ts_diagn, T *__restrict__ q_diagn)
void cuda_most_compute(void *u_d, void *v_d, void *w_d, void *temp_d, void *temp_w_d, void *n_x_d, void *n_y_d, void *n_z_d, void *h_d, void *tau_x_d, void *tau_y_d, void *tau_z_d, int *n_nodes, real *kappa, void *mu_w_d, void *rho_w_d, real *g, real *Pr, real *z0, real *z0h_in, int *bc_type, real *bc_value, int *tstep, void *Ri_b_diagn, void *L_ob_diagn, void *utau_diagn, void *magu_diagn, void *ti_diagn, void *ts_diagn, void *q_diagn)