|
Neko 1.99.11
A portable framework for high-order spectral element flow simulations
|

Go to the source code of this file.
Functions | |
| template<typename T, const int LX, const int CHUNKS> | |
| __global__ void | coef_generate_geo_kernel (T *__restrict__ G11, T *__restrict__ G12, T *__restrict__ G13, T *__restrict__ G22, T *__restrict__ G23, T *__restrict__ G33, const T *__restrict__ drdx, const T *__restrict__ drdy, const T *__restrict__ drdz, const T *__restrict__ dsdx, const T *__restrict__ dsdy, const T *__restrict__ dsdz, const T *__restrict__ dtdx, const T *__restrict__ dtdy, const T *__restrict__ dtdz, const T *__restrict__ jacinv, const T *__restrict__ w3, const int gdim) |
| template<typename T, const int LX, const int CHUNKS> | |
| __global__ void | coef_generate_dxyz_kernel (T *__restrict__ dxdr, T *__restrict__ dydr, T *__restrict__ dzdr, T *__restrict__ dxds, T *__restrict__ dyds, T *__restrict__ dzds, T *__restrict__ dxdt, T *__restrict__ dydt, T *__restrict__ dzdt, const T *__restrict__ dx, const T *__restrict__ dy, const T *__restrict__ dz, const T *__restrict__ x, const T *__restrict__ y, const T *__restrict__ z) |
| template<typename T> | |
| __global__ void | coef_generate_drst_kernel (T *__restrict__ jac, T *__restrict__ jacinv, T *__restrict__ drdx, T *__restrict__ drdy, T *__restrict__ drdz, T *__restrict__ dsdx, T *__restrict__ dsdy, T *__restrict__ dsdz, T *__restrict__ dtdx, T *__restrict__ dtdy, T *__restrict__ dtdz, const T *__restrict__ dxdr, const T *__restrict__ dydr, const T *__restrict__ dzdr, const T *__restrict__ dxds, const T *__restrict__ dyds, const T *__restrict__ dzds, const T *__restrict__ dxdt, const T *__restrict__ dydt, const T *__restrict__ dzdt, const int n) |
| template<typename T> | |
| __global__ void | coef_generate_mass_kernel (T *__restrict__ B, T *__restrict__ Binv, const T *__restrict__ jac, const T *__restrict__ w3, int lxyz, int nel) |
| template<typename T, const int LX> | |
| __global__ void | coef_generate_area_and_normal_kernel (T *__restrict__ area, T *__restrict__ nx, T *__restrict__ ny, T *__restrict__ nz, const T *__restrict__ dxdr, const T *__restrict__ dydr, const T *__restrict__ dzdr, const T *__restrict__ dxds, const T *__restrict__ dyds, const T *__restrict__ dzds, const T *__restrict__ dxdt, const T *__restrict__ dydt, const T *__restrict__ dzdt, const T *__restrict__ wx, const T *__restrict__ wy, const T *__restrict__ wz, const T eps) |
| template<typename T> | |
| __device__ void | coef_get_normal_device (const T *__restrict__ nx, const T *__restrict__ ny, const T *__restrict__ nz, const int i, const int j, const int k, const int e, const int facet, const int lx, T &normal_x, T &normal_y, T &normal_z) |
| template<typename T> | |
| __global__ void | coef_get_normal_kernel (T *__restrict__ normal_x, T *__restrict__ normal_y, T *__restrict__ normal_z, const T *__restrict__ nx, const T *__restrict__ ny, const T *__restrict__ nz, const int *__restrict__ i_idx, const int *__restrict__ j_idx, const int *__restrict__ k_idx, const int *__restrict__ e_idx, const int *__restrict__ facet_idx, const int lx, const int n) |
| __global__ void coef_generate_area_and_normal_kernel | ( | T *__restrict__ | area, |
| T *__restrict__ | nx, | ||
| T *__restrict__ | ny, | ||
| T *__restrict__ | nz, | ||
| const T *__restrict__ | dxdr, | ||
| const T *__restrict__ | dydr, | ||
| const T *__restrict__ | dzdr, | ||
| const T *__restrict__ | dxds, | ||
| const T *__restrict__ | dyds, | ||
| const T *__restrict__ | dzds, | ||
| const T *__restrict__ | dxdt, | ||
| const T *__restrict__ | dydt, | ||
| const T *__restrict__ | dzdt, | ||
| const T *__restrict__ | wx, | ||
| const T *__restrict__ | wy, | ||
| const T *__restrict__ | wz, | ||
| const T | eps ) |
Device kernel for coef_generate_area_and_normal
Definition at line 313 of file coef_kernel.h.
| __global__ void coef_generate_drst_kernel | ( | T *__restrict__ | jac, |
| T *__restrict__ | jacinv, | ||
| T *__restrict__ | drdx, | ||
| T *__restrict__ | drdy, | ||
| T *__restrict__ | drdz, | ||
| T *__restrict__ | dsdx, | ||
| T *__restrict__ | dsdy, | ||
| T *__restrict__ | dsdz, | ||
| T *__restrict__ | dtdx, | ||
| T *__restrict__ | dtdy, | ||
| T *__restrict__ | dtdz, | ||
| const T *__restrict__ | dxdr, | ||
| const T *__restrict__ | dydr, | ||
| const T *__restrict__ | dzdr, | ||
| const T *__restrict__ | dxds, | ||
| const T *__restrict__ | dyds, | ||
| const T *__restrict__ | dzds, | ||
| const T *__restrict__ | dxdt, | ||
| const T *__restrict__ | dydt, | ||
| const T *__restrict__ | dzdt, | ||
| const int | n ) |
Device kernel for coef drst
Definition at line 237 of file coef_kernel.h.
| __global__ void coef_generate_dxyz_kernel | ( | T *__restrict__ | dxdr, |
| T *__restrict__ | dydr, | ||
| T *__restrict__ | dzdr, | ||
| T *__restrict__ | dxds, | ||
| T *__restrict__ | dyds, | ||
| T *__restrict__ | dzds, | ||
| T *__restrict__ | dxdt, | ||
| T *__restrict__ | dydt, | ||
| T *__restrict__ | dzdt, | ||
| const T *__restrict__ | dx, | ||
| const T *__restrict__ | dy, | ||
| const T *__restrict__ | dz, | ||
| const T *__restrict__ | x, | ||
| const T *__restrict__ | y, | ||
| const T *__restrict__ | z ) |
Device kernel for coef dxyz
Definition at line 107 of file coef_kernel.h.

| __global__ void coef_generate_geo_kernel | ( | T *__restrict__ | G11, |
| T *__restrict__ | G12, | ||
| T *__restrict__ | G13, | ||
| T *__restrict__ | G22, | ||
| T *__restrict__ | G23, | ||
| T *__restrict__ | G33, | ||
| const T *__restrict__ | drdx, | ||
| const T *__restrict__ | drdy, | ||
| const T *__restrict__ | drdz, | ||
| const T *__restrict__ | dsdx, | ||
| const T *__restrict__ | dsdy, | ||
| const T *__restrict__ | dsdz, | ||
| const T *__restrict__ | dtdx, | ||
| const T *__restrict__ | dtdy, | ||
| const T *__restrict__ | dtdz, | ||
| const T *__restrict__ | jacinv, | ||
| const T *__restrict__ | w3, | ||
| const int | gdim ) |
Device kernel for coef geometry
Definition at line 41 of file coef_kernel.h.

| __global__ void coef_generate_mass_kernel | ( | T *__restrict__ | B, |
| T *__restrict__ | Binv, | ||
| const T *__restrict__ | jac, | ||
| const T *__restrict__ | w3, | ||
| int | lxyz, | ||
| int | nel ) |
Device kernel for coef_generate_mass
Definition at line 290 of file coef_kernel.h.
|
inline |
Definition at line 455 of file coef_kernel.h.
| __global__ void coef_get_normal_kernel | ( | T *__restrict__ | normal_x, |
| T *__restrict__ | normal_y, | ||
| T *__restrict__ | normal_z, | ||
| const T *__restrict__ | nx, | ||
| const T *__restrict__ | ny, | ||
| const T *__restrict__ | nz, | ||
| const int *__restrict__ | i_idx, | ||
| const int *__restrict__ | j_idx, | ||
| const int *__restrict__ | k_idx, | ||
| const int *__restrict__ | e_idx, | ||
| const int *__restrict__ | facet_idx, | ||
| const int | lx, | ||
| const int | n ) |
Device kernel for coef_get_normal.
Query indices use the Fortran coef_get_normal convention: i, j, k, e and facet are 1-based. Output arrays are 0-based device vectors of length n.
Definition at line 516 of file coef_kernel.h.
