13 __host__ __device__
int Inside(
int halowidth,
int blkmemwidth,
int isright,
int istop,
int ix,
int iy,
int ib);
14 __host__ __device__
bool isbnd(
int isright,
int istop,
int blkwidth,
int ix,
int iy);
25 __device__ __host__
void findmaskside(
int side,
bool &isleftbot,
bool& islefttop,
bool& istopleft,
bool& istopright,
bool& isrighttop,
bool& isrightbot,
bool& isbotright,
bool& isbotleft);
26 template <
class T> __device__ __host__
void halowall(T zsinside, T& un, T& ut, T& zs, T& h,T&zb);
27 template <
class T> __device__ __host__
void noslipbnd(T zsinside,T hinside,T &un, T &ut,T &zs, T &h);
28 template <
class T> __device__ __host__
void ABS1D(T g, T sign, T zsbnd, T zsinside, T hinside, T utbnd,T unbnd, T& un, T& ut, T& zs, T& h);
29 template <
class T> __device__ __host__
void Dirichlet1D(T g, T sign, T zsbnd, T zsinside, T hinside, T uninside, T& un, T& ut, T& zs, T& h);
__host__ __device__ bool isbnd(int isright, int istop, int blkwidth, int ix, int iy)
Definition: Boundary.cu:1000
__device__ __host__ void ABS1D(T g, T sign, T zsbnd, T zsinside, T hinside, T utbnd, T unbnd, T &un, T &ut, T &zs, T &h)
Definition: Boundary.cu:802
__host__ __device__ int Inside(int halowidth, int blkmemwidth, int isright, int istop, int ix, int iy, int ib)
Definition: Boundary.cu:963
__global__ void bndGPU(Param XParam, bndparam side, BlockP< T > XBlock, float itime, T *zs, T *h, T *un, T *ut)
Definition: Boundary.cu:81
__device__ __host__ void Dirichlet1D(T g, T sign, T zsbnd, T zsinside, T hinside, T uninside, T &un, T &ut, T &zs, T &h)
Definition: Boundary.cu:813
__global__ void maskbndGPUbot(Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb)
Definition: Boundary.cu:691
__host__ void maskbnd(Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb)
Definition: Boundary.cu:335
__device__ __host__ void noslipbnd(T zsinside, T hinside, T &un, T &ut, T &zs, T &h)
Definition: Boundary.cu:790
void Flowbnd(Param XParam, Loop< T > &XLoop, BlockP< T > XBlock, bndparam side, EvolvingP< T > XEv)
Definition: Boundary.cu:4
__global__ void maskbndGPUright(Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb)
Definition: Boundary.cu:629
__device__ __host__ void halowall(T zsinside, T &un, T &ut, T &zs, T &h, T &zb)
Definition: Boundary.cu:777
__global__ void maskbndGPUleft(Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb)
Definition: Boundary.cu:504
__device__ __host__ void findmaskside(int side, bool &isleftbot, bool &islefttop, bool &istopleft, bool &istopright, bool &isrighttop, bool &isrightbot, bool &isbotright, bool &isbotleft)
Definition: Boundary.cu:752
__global__ void maskbndGPUtop(Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb)
Definition: Boundary.cu:568