1#ifndef __MATH_SCHWARZ_KERNEL_H__
2#define __MATH_SCHWARZ_KERNEL_H__
45template<
typename T, const
int NX>
55 const int x = idx%(
NX-2) + 1;
56 const int y = idx/(
NX-2) + 1;
106 const int jk =
ijk / nx;
107 const int i =
ijk -
jk * nx;
108 const int k =
jk / nx;
109 const int j =
jk -
k * nx;
120 const int nx2 = nx+2;
124 const int jk =
ijk / nx;
125 const int i =
ijk -
jk * nx;
126 const int k =
jk / nx;
127 const int j =
jk -
k * nx;
__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 schwarz_extrude_kernel(T *a1, const int l1, const T f1, T *a2, const int l2, const T f2)
__global__ void schwarz_toreg3d_kernel(T *__restrict__ b, T *__restrict__ a, const int nx)
__global__ void schwarz_toext3d_kernel(T *__restrict__ a, T *__restrict__ b, const int nx)