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

Go to the source code of this file.

Functions

template<typename T >
__global__ void entropy_visc_compute_residual_kernel (T *__restrict__ entropy_residual, const T *__restrict__ S, const T *__restrict__ S_lag1, const T *__restrict__ S_lag2, const T *__restrict__ S_lag3, const T bdf1, const T bdf2, const T bdf3, const T bdf4, const T dt, const int n)
 
template<typename T >
__global__ void entropy_visc_compute_viscosity_kernel (T *__restrict__ reg_coeff, const T *__restrict__ entropy_residual, const T *__restrict__ h, const T c_avisc_entropy, const T n_S, const int n)
 
template<typename T >
__global__ void entropy_visc_apply_element_max_kernel (T *__restrict__ reg_coeff, const int lx3, const int nelv)
 
template<typename T >
__global__ void entropy_visc_clamp_to_low_order_kernel (T *__restrict__ reg_coeff, const T *__restrict__ h, const T *__restrict__ max_wave_speed, const T c_avisc_low, const int n)
 
template<typename T >
__global__ void entropy_visc_smooth_divide_kernel (T *__restrict__ reg_coeff, const T *__restrict__ temp_field, const T *__restrict__ mult_field, const int n)
 

Function Documentation

◆ entropy_visc_apply_element_max_kernel()

template<typename T >
__global__ void entropy_visc_apply_element_max_kernel ( T *__restrict__  reg_coeff,
const int  lx3,
const int  nelv 
)

Kernel for applying element-wise maximum Each block handles one element

Definition at line 89 of file entropy_viscosity_kernel.h.

Here is the call graph for this function:

◆ entropy_visc_clamp_to_low_order_kernel()

template<typename T >
__global__ void entropy_visc_clamp_to_low_order_kernel ( T *__restrict__  reg_coeff,
const T *__restrict__  h,
const T *__restrict__  max_wave_speed,
const T  c_avisc_low,
const int  n 
)

Kernel for clamping to low-order viscosity

Definition at line 128 of file entropy_viscosity_kernel.h.

Here is the call graph for this function:

◆ entropy_visc_compute_residual_kernel()

template<typename T >
__global__ void entropy_visc_compute_residual_kernel ( T *__restrict__  entropy_residual,
const T *__restrict__  S,
const T *__restrict__  S_lag1,
const T *__restrict__  S_lag2,
const T *__restrict__  S_lag3,
const T  bdf1,
const T  bdf2,
const T  bdf3,
const T  bdf4,
const T  dt,
const int  n 
)

Kernel for computing entropy residual from BDF time derivative

Definition at line 44 of file entropy_viscosity_kernel.h.

Here is the call graph for this function:

◆ entropy_visc_compute_viscosity_kernel()

template<typename T >
__global__ void entropy_visc_compute_viscosity_kernel ( T *__restrict__  reg_coeff,
const T *__restrict__  entropy_residual,
const T *__restrict__  h,
const T  c_avisc_entropy,
const T  n_S,
const int  n 
)

Kernel for computing viscosity from entropy residual

Definition at line 70 of file entropy_viscosity_kernel.h.

Here is the call graph for this function:

◆ entropy_visc_smooth_divide_kernel()

template<typename T >
__global__ void entropy_visc_smooth_divide_kernel ( T *__restrict__  reg_coeff,
const T *__restrict__  temp_field,
const T *__restrict__  mult_field,
const int  n 
)

Kernel for dividing by multiplicity (smoothing)

Definition at line 146 of file entropy_viscosity_kernel.h.

Here is the call graph for this function: