|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|
Declarations of functions for the cuda roe riemann solver kernel. More...
#include "../global/global.h"

Go to the source code of this file.
Functions | |
| template<int reconstruction, uint direction> | |
| __global__ void | Calculate_Roe_Fluxes_CUDA (Real const *dev_conserved, Real const *dev_bounds_L, Real const *dev_bounds_R, Real *dev_flux, int const nx, int const ny, int const nz, int const n_cells, Real const gamma, int const n_fields) |
| Roe Riemann solver. | |
Declarations of functions for the cuda roe riemann solver kernel.
| __global__ void Calculate_Roe_Fluxes_CUDA | ( | Real const * | dev_conserved, |
| Real const * | dev_bounds_L, | ||
| Real const * | dev_bounds_R, | ||
| Real * | dev_flux, | ||
| int const | nx, | ||
| int const | ny, | ||
| int const | nz, | ||
| int const | n_cells, | ||
| Real const | gamma, | ||
| int const | n_fields | ||
| ) |
Roe Riemann solver.
| reconstruction | What kind of reconstruction to use, PCM, PLMC, etc. This argument should always be a member of the reconstruction::Kind enum, behaviour is undefined otherwise. |
| direction | The direction that the solve is taking place in. 0=X, 1=Y, 2=Z |
| [in] | dev_bounds_L | The interface states on the left side of the interface |
| [in] | dev_bounds_R | The interface states on the right side of the interface |
| [out] | dev_flux | The output flux |
| [in] | n_cells | Total number of cells |
| [in] | n_ghost | Number of ghost cells on each side |
| [in] | n_fields | The total number of fields |