cholla
h_correction_2D_cuda.h
Go to the documentation of this file.
1 
4 #ifdef CUDA
5 #ifdef H_CORRECTION
6 #ifndef H_CORRECTION_2D_H
7 #define H_CORRECTION_2D_H
8 
9 #include<cuda.h>
10 #include<math.h>
11 #include"global.h"
12 #include"global_cuda.h"
13 
14 
15 
19 __global__ void calc_eta_x_2D(Real *dev_bounds_L, Real *dev_bounds_R, Real *eta_x, int nx, int ny, int n_ghost, Real gamma);
20 
21 
25 __global__ void calc_eta_y_2D(Real *dev_bounds_L, Real *dev_bounds_R, Real *eta_y, int nx, int ny, int n_ghost, Real gamma);
26 
27 
31 __global__ void calc_etah_x_2D(Real *eta_x, Real *eta_y, Real *etah_x, int nx, int ny, int n_ghost);
32 
33 
37 __global__ void calc_etah_y_2D(Real *eta_x, Real *eta_y, Real *etah_y, int nx, int ny, int n_ghost);
38 
39 
40 #endif //H_CORRECTION_2D_H
41 #endif //H_CORRECTION
42 #endif //CUDA