Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Functions
h_correction_3D_cuda.h File Reference

Functions declarations for the H correction kernels. Written following Sanders et al. 1998. More...

#include "../global/global.h"
#include "../utils/gpu.hpp"
Include dependency graph for h_correction_3D_cuda.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

__global__ void calc_eta_x_3D (Real *dev_bounds_L, Real *dev_bounds_R, Real *eta_x, int nx, int ny, int nz, int n_ghost, Real gamma)
 When passed the left and right boundary values at an interface, calculates the eta value for the interface according to the forumulation in Sanders et al, 1998.
 
__global__ void calc_eta_y_3D (Real *dev_bounds_L, Real *dev_bounds_R, Real *eta_y, int nx, int ny, int nz, int n_ghost, Real gamma)
 
__global__ void calc_eta_z_3D (Real *dev_bounds_L, Real *dev_bounds_R, Real *eta_z, int nx, int ny, int nz, int n_ghost, Real gamma)
 
__global__ void calc_etah_x_3D (Real *eta_x, Real *eta_y, Real *eta_z, Real *etah_x, int nx, int ny, int nz, int n_ghost)
 When passed the eta values at every interface, calculates the eta_h value for the interface according to the forumulation in Sanders et al, 1998.
 
__global__ void calc_etah_y_3D (Real *eta_x, Real *eta_y, Real *eta_z, Real *etah_y, int nx, int ny, int nz, int n_ghost)
 When passed the eta values at every interface, calculates the eta_h value for the interface according to the forumulation in Sanders et al, 1998.
 
__global__ void calc_etah_z_3D (Real *eta_x, Real *eta_y, Real *eta_z, Real *etah_z, int nx, int ny, int nz, int n_ghost)
 When passed the eta values at every interface, calculates the eta_h value for the interface according to the forumulation in Sanders et al, 1998.
 

Detailed Description

Functions declarations for the H correction kernels. Written following Sanders et al. 1998.