Neko
0.9.99
A portable framework for high-order spectral element flow simulations
|
Go to the source code of this file.
Functions | |
template<typename T > | |
__global__ void | smooth_step_kernel (T *__restrict__ x, const T edge0, const T edge1, const int n) |
template<typename T > | |
__global__ void | step_kernel (T *__restrict__ x, const T edge, const T left, const T right, const int n) |
template<typename T > | |
__global__ void | permeability_kernel (T *__restrict__ x, const T k_0, const T k_1, const T q, const int n) |
__global__ void permeability_kernel | ( | T *__restrict__ | x, |
const T | k_0, | ||
const T | k_1, | ||
const T | q, | ||
const int | n | ||
) |
Device kernel for the inverse permeability kernel.
x | input array |
k_0 | lower bound of the permeability |
k_1 | upper bound of the permeability |
q | parameter |
n | size of the input array |
Definition at line 91 of file filter_kernels.h.
__global__ void smooth_step_kernel | ( | T *__restrict__ | x, |
const T | edge0, | ||
const T | edge1, | ||
const int | n | ||
) |
Device kernel for smooth step function.
x | in/out array |
edge0 | lower edge |
edge1 | upper edge |
n | size of the input array |
Definition at line 46 of file filter_kernels.h.
__global__ void step_kernel | ( | T *__restrict__ | x, |
const T | edge, | ||
const T | left, | ||
const T | right, | ||
const int | n | ||
) |
Device kernel for step function.
x | input array |
edge | step location |
left | value to the left of the step |
right | value to the right of the step |
n | size of the input array |
Definition at line 69 of file filter_kernels.h.