Neko 1.99.2
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
compressible_ops_kernel.h File Reference
Include dependency graph for compressible_ops_kernel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX(a, b)   (((a)>(b))?(a):(b))
 

Functions

template<typename T >
__global__ void compute_max_wave_speed_kernel (T *__restrict__ max_wave_speed, const T *__restrict__ u, const T *__restrict__ v, const T *__restrict__ w, const T gamma, const T *__restrict__ p, const T *__restrict__ rho, const int n)
 
template<typename T >
__global__ void compute_entropy_kernel (T *__restrict__ S, const T *__restrict__ p, const T *__restrict__ rho, const T gamma, const int n)
 
template<typename T >
__global__ void update_uvw_kernel (T *__restrict__ u, T *__restrict__ v, T *__restrict__ w, const T *__restrict__ m_x, const T *__restrict__ m_y, const T *__restrict__ m_z, const T *__restrict__ rho, const int n)
 
template<typename T >
__global__ void update_mxyz_p_ruvw_kernel (T *__restrict__ m_x, T *__restrict__ m_y, T *__restrict__ m_z, T *__restrict__ p, T *__restrict__ ruvw, const T *__restrict__ u, const T *__restrict__ v, const T *__restrict__ w, const T *__restrict__ E, const T *__restrict__ rho, const T gamma, const int n)
 
template<typename T >
__global__ void update_e_kernel (T *__restrict__ E, T *__restrict__ p, const T *__restrict__ ruvw, const T gamma, const int n)
 

Macro Definition Documentation

◆ MAX

#define MAX (   a,
 
)    (((a)>(b))?(a):(b))

Definition at line 144 of file compressible_ops_kernel.h.

Function Documentation

◆ compute_entropy_kernel()

template<typename T >
__global__ void compute_entropy_kernel ( T *__restrict__  S,
const T *__restrict__  p,
const T *__restrict__  rho,
const T  gamma,
const int  n 
)

Device kernel for compute_entropy

Definition at line 68 of file compressible_ops_kernel.h.

Here is the call graph for this function:

◆ compute_max_wave_speed_kernel()

template<typename T >
__global__ void compute_max_wave_speed_kernel ( T *__restrict__  max_wave_speed,
const T *__restrict__  u,
const T *__restrict__  v,
const T *__restrict__  w,
const T  gamma,
const T *__restrict__  p,
const T *__restrict__  rho,
const int  n 
)

Device kernel for compute_max_wave_speed

Definition at line 44 of file compressible_ops_kernel.h.

Here is the call graph for this function:

◆ update_e_kernel()

template<typename T >
__global__ void update_e_kernel ( T *__restrict__  E,
T *__restrict__  p,
const T *__restrict__  ruvw,
const T  gamma,
const int  n 
)

Device kernel for update E

Definition at line 150 of file compressible_ops_kernel.h.

Here is the call graph for this function:

◆ update_mxyz_p_ruvw_kernel()

template<typename T >
__global__ void update_mxyz_p_ruvw_kernel ( T *__restrict__  m_x,
T *__restrict__  m_y,
T *__restrict__  m_z,
T *__restrict__  p,
T *__restrict__  ruvw,
const T *__restrict__  u,
const T *__restrict__  v,
const T *__restrict__  w,
const T *__restrict__  E,
const T *__restrict__  rho,
const T  gamma,
const int  n 
)

Device kernel for update m_x, m_y, m_z, ruvw

Definition at line 116 of file compressible_ops_kernel.h.

Here is the call graph for this function:

◆ update_uvw_kernel()

template<typename T >
__global__ void update_uvw_kernel ( T *__restrict__  u,
T *__restrict__  v,
T *__restrict__  w,
const T *__restrict__  m_x,
const T *__restrict__  m_y,
const T *__restrict__  m_z,
const T *__restrict__  rho,
const int  n 
)

Device kernel for update u,v,w

Definition at line 90 of file compressible_ops_kernel.h.

Here is the call graph for this function: