Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
plm_cuda.h File Reference

Declarations of the cuda plm kernels. More...

#include "../global/global.h"
#include "../grid/grid_enum.h"
#include "../reconstruction/reconstruction_internals.h"
#include "../utils/hydro_utilities.h"
#include "../utils/mhd_utilities.h"
Include dependency graph for plm_cuda.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  reconstruction
 Namespace to contain various utilities for the interface reconstruction kernels.
 

Functions

template<int dir>
__global__ __launch_bounds__ (TPB) void PLM_cuda(Real *dev_conserved
 Performs second order reconstruction using limiting in the characteristic or primitive variables.
 
void __device__ __host__ reconstruction::PLM_Characteristic_Evolution (hydro_utilities::Primitive const &cell_i, hydro_utilities::Primitive const &del_m, Real const dt, Real const dx, Real const gamma, hydro_utilities::Primitive &interface_R_imh, hydro_utilities::Primitive &interface_L_iph)
 Perform characteristic tracing/evolution on an interface.
 
template<uint direction>
auto __device__ reconstruction::PLM_Reconstruction (Real *dev_conserved, int const xid, int const yid, int const zid, int const nx, int const ny, int const nz, Real const dx, Real const dt, Real const gamma)
 This is the device function that actually does the piecewise linear reconstruction.
 

Variables

__global__ Real * dev_bounds_L
 
__global__ Real Real * dev_bounds_R
 
__global__ Real Real int nx
 
__global__ Real Real int int ny
 
__global__ Real Real int int int nz
 
__global__ Real Real int int int Real dx
 
__global__ Real Real int int int Real Real dt
 
__global__ Real Real int int int Real Real Real gamma
 

Detailed Description

Declarations of the cuda plm kernels.

Function Documentation

◆ __launch_bounds__()

template<int dir>
__global__ __launch_bounds__ ( TPB  )

Performs second order reconstruction using limiting in the characteristic or primitive variables.

Template Parameters
dirThe direction that the solve is taking place in. 0=X, 1=Y, 2=Z