35#ifndef __BC_DONG_OUTFLOW_KERNEL__
36#define __BC_DONG_OUTFLOW_KERNEL__
58 for (
int i = idx;
i < m;
i +=
str) {
59 const int k = msk[
i + 1] - 1;
64 const T S0 = 0.5*(1.0 -
tanh(
vn/(uinf*delta)));
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ const T *__restrict__ w
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ u
__global__ void T *__restrict__ T *__restrict__ const T *__restrict__ const T *__restrict__ v
__global__ void const T *__restrict__ x
__global__ void dirichlet_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T g, const int m)
__global__ void dong_outflow_apply_scalar_kernel(const int *__restrict__ msk, T *__restrict__ x, const T *normal_x, const T *normal_y, const T *normal_z, const T *u, const T *v, const T *w, const T uinf, const T delta, const int m)