|
Neko 1.99.6
A portable framework for high-order spectral element flow simulations
|
#include <device/device_config.h>

Go to the source code of this file.
Macros | |
| #define | MAX(a, b) (((a)>(b))?(a):(b)) |
| __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.

| __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.

| __global__ void ns_flux_finalize_kernel | ( | T *__restrict__ | visc_m_x, |
| T *__restrict__ | visc_m_y, | ||
| T *__restrict__ | visc_m_z, | ||
| T *__restrict__ | visc_E, | ||
| T *__restrict__ | f_x, | ||
| T *__restrict__ | f_y, | ||
| T *__restrict__ | f_z, | ||
| const T *__restrict__ | opgrad_x, | ||
| const T *__restrict__ | opgrad_y, | ||
| const T *__restrict__ | opgrad_z, | ||
| const T *__restrict__ | u, | ||
| const T *__restrict__ | v, | ||
| const T *__restrict__ | w, | ||
| const T *__restrict__ | B, | ||
| const T *__restrict__ | dissipation, | ||
| const int | n | ||
| ) |
Device kernel for finalizing physical Navier-Stokes flux terms.
Definition at line 232 of file compressible_ops_kernel.h.

| __global__ void ns_flux_prepare_kernel | ( | T *__restrict__ | div_flux, |
| T *__restrict__ | dissipation, | ||
| T *__restrict__ | h1, | ||
| const T *__restrict__ | dudx, | ||
| const T *__restrict__ | dudy, | ||
| const T *__restrict__ | dudz, | ||
| const T *__restrict__ | dvdx, | ||
| const T *__restrict__ | dvdy, | ||
| const T *__restrict__ | dvdz, | ||
| const T *__restrict__ | dwdx, | ||
| const T *__restrict__ | dwdy, | ||
| const T *__restrict__ | dwdz, | ||
| const T *__restrict__ | mu, | ||
| const int | n | ||
| ) |
Device kernel for preparing physical Navier-Stokes flux terms.
Definition at line 189 of file compressible_ops_kernel.h.

| __global__ void ns_flux_temperature_kernel | ( | T *__restrict__ | div_flux, |
| T *__restrict__ | h1, | ||
| const T *__restrict__ | p, | ||
| const T *__restrict__ | rho, | ||
| const T *__restrict__ | kappa, | ||
| const T | gamma, | ||
| const int | n | ||
| ) |
Device kernel for preparing conductive energy flux terms.
Definition at line 268 of file compressible_ops_kernel.h.

| __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.

| __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.

| __global__ void update_temperature_kernel | ( | T *__restrict__ | T_field, |
| const T *__restrict__ | p, | ||
| const T *__restrict__ | rho, | ||
| const T | gamma, | ||
| const int | n | ||
| ) |
Device kernel for update T = p / (rho * (gamma - 1))
Definition at line 171 of file compressible_ops_kernel.h.

| __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.
