|
Neko 1.99.1
A portable framework for high-order spectral element flow simulations
|
#include "bc_utils.h"

Go to the source code of this file.
Macros | |
| #define | coef_normal_area_idx(i, j, k, l, lx, nf) (((i) + (lx) * (((j) - 1) + (lx) * (((k) - 1) + (nf) * (((l) - 1))))) - 1) |
Functions | |
| template<typename T > | |
| __global__ void | neumann_apply_scalar_kernel (const int *__restrict__ msk, const int *__restrict__ facet, T *__restrict__ x, const T *__restrict__ flux, const T *__restrict__ area, const int lx, const int m) |
| #define coef_normal_area_idx | ( | i, | |
| j, | |||
| k, | |||
| l, | |||
| lx, | |||
| nf | |||
| ) | (((i) + (lx) * (((j) - 1) + (lx) * (((k) - 1) + (nf) * (((l) - 1))))) - 1) |
Computes the linear index for area and normal arrays
Definition at line 45 of file neumann_kernel.h.
| __global__ void neumann_apply_scalar_kernel | ( | const int *__restrict__ | msk, |
| const int *__restrict__ | facet, | ||
| T *__restrict__ | x, | ||
| const T *__restrict__ | flux, | ||
| const T *__restrict__ | area, | ||
| const int | lx, | ||
| const int | m | ||
| ) |
Device kernel for neumann scalar boundary condition
Definition at line 54 of file neumann_kernel.h.
