cholla
ppmp_cuda.h
Go to the documentation of this file.
1 
4 #ifdef CUDA
5 
6 #ifndef PPMP_CUDA_H
7 #define PPMP_CUDA_H
8 
9 
10 #include"global.h"
11 
15 __global__ void PPMP_cuda(Real *dev_conserved, Real *dev_bounds_L, Real *dev_bounds_R, int nx, int ny, int nz, int n_ghost, Real dx, Real dt, Real gamma, int dir, int n_fields);
16 
19 __device__ Real Calculate_Slope(Real q_imo, Real q_i, Real q_ipo);
20 
24 __device__ void Interface_Values_PPM(Real q_imo, Real q_i, Real q_ipo, Real del_q_imo, Real del_q_i, Real del_q_ipo, Real *q_L, Real *q_R);
25 
28 __device__ Real calc_d2_rho(Real rho_imo, Real rho_i, Real rho_ipo, Real dx);
29 
33 __device__ Real calc_eta(Real d2rho_imo, Real d2rho_ipo, Real dx, Real rho_imo, Real rho_ipo);
34 
35 #endif // PPMP_CUDA_H
36 #endif // CUDA