42 void *S,
void *S_lag1,
43 void *S_lag2,
void *S_lag3,
47 const dim3 nthrds(1024, 1, 1);
48 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
52 nblcks, nthrds, 0, stream,
53 (
real *) entropy_residual,
56 *bdf1, *bdf2, *bdf3, *bdf4, *
dt, *n);
61 void *entropy_residual,
63 real *c_avisc_entropy,
66 const dim3 nthrds(1024, 1, 1);
67 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
71 nblcks, nthrds, 0, stream,
73 (
real *) entropy_residual,
75 *c_avisc_entropy, *n_S, *n);
82 const int lx3 = (*lx) * (*lx) * (*lx);
83 const int nthrds_x = min(1024, lx3);
84 const dim3 nthrds(nthrds_x, 1, 1);
85 const dim3 nblcks(*
nelv, 1, 1);
89 nblcks, nthrds, 0, stream,
99 const dim3 nthrds(1024, 1, 1);
100 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
104 nblcks, nthrds, 0, stream,
107 (
real *) max_wave_speed,
116 const dim3 nthrds(1024, 1, 1);
117 const dim3 nblcks(((*n) + 1024 - 1) / 1024, 1, 1);
121 nblcks, nthrds, 0, stream,
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ const int *__restrict__ const int nelv
__global__ void const T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ dt
__global__ void entropy_visc_clamp_to_low_order_kernel(T *__restrict__ reg_coeff, const T *__restrict__ h, const T *__restrict__ max_wave_speed, const T c_avisc_low, const int n)
__global__ void entropy_visc_compute_viscosity_kernel(T *__restrict__ reg_coeff, const T *__restrict__ entropy_residual, const T *__restrict__ h, const T c_avisc_entropy, const T n_S, const int n)
__global__ void entropy_visc_compute_residual_kernel(T *__restrict__ entropy_residual, const T *__restrict__ S, const T *__restrict__ S_lag1, const T *__restrict__ S_lag2, const T *__restrict__ S_lag3, const T bdf1, const T bdf2, const T bdf3, const T bdf4, const T dt, const int n)
__global__ void entropy_visc_apply_element_max_kernel(T *__restrict__ reg_coeff, const int lx3, const int nelv)
__global__ void entropy_visc_smooth_divide_kernel(T *__restrict__ reg_coeff, const T *__restrict__ temp_field, const T *__restrict__ mult_field, const int n)
void hip_entropy_visc_compute_viscosity(void *reg_coeff, void *entropy_residual, void *h, real *c_avisc_entropy, real *n_S, int *n)
void hip_entropy_visc_smooth_divide(void *reg_coeff, void *temp_field, void *mult_field, int *n)
void hip_entropy_visc_compute_residual(void *entropy_residual, void *S, void *S_lag1, void *S_lag2, void *S_lag3, real *bdf1, real *bdf2, real *bdf3, real *bdf4, real *dt, int *n)
void hip_entropy_visc_clamp_to_low_order(void *reg_coeff, void *h, void *max_wave_speed, real *c_avisc_low, int *n)
void hip_entropy_visc_apply_element_max(void *reg_coeff, int *lx, int *nelv)