BG_Flood  0.8
Documentation (Work-in-progress)
Boundary.cu File Reference
#include "Boundary.h"
Include dependency graph for Boundary.cu:

Functions

template<class T >
void Flowbnd (Param XParam, Loop< T > &XLoop, BlockP< T > XBlock, bndparam side, EvolvingP< T > XEv)
 
template void Flowbnd< float > (Param XParam, Loop< float > &XLoop, BlockP< float > XBlock, bndparam side, EvolvingP< float > XEv)
 
template void Flowbnd< double > (Param XParam, Loop< double > &XLoop, BlockP< double > XBlock, bndparam side, EvolvingP< double > XEv)
 
template<class T >
__global__ void bndGPU (Param XParam, bndparam side, BlockP< T > XBlock, float itime, T *zs, T *h, T *un, T *ut)
 
template __global__ void bndGPU< float > (Param XParam, bndparam side, BlockP< float > XBlock, float itime, float *zs, float *h, float *un, float *ut)
 
template __global__ void bndGPU< double > (Param XParam, bndparam side, BlockP< double > XBlock, float itime, double *zs, double *h, double *un, double *ut)
 
template<class T >
__host__ void bndCPU (Param XParam, bndparam side, BlockP< T > XBlock, std::vector< double > zsbndvec, std::vector< double > uubndvec, std::vector< double > vvbndvec, T *zs, T *h, T *un, T *ut)
 
template __host__ void bndCPU< float > (Param XParam, bndparam side, BlockP< float > XBlock, std::vector< double > zsbndvec, std::vector< double > uubndvec, std::vector< double > vvbndvec, float *zs, float *h, float *un, float *ut)
 
template __host__ void bndCPU< double > (Param XParam, bndparam side, BlockP< double > XBlock, std::vector< double > zsbndvec, std::vector< double > uubndvec, std::vector< double > vvbndvec, double *zs, double *h, double *un, double *ut)
 
template<class T >
__host__ void maskbnd (Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb)
 
template __host__ void maskbnd< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > Xev, float *zb)
 
template __host__ void maskbnd< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > Xev, double *zb)
 
template<class T >
__global__ void maskbndGPUleft (Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb)
 
template __global__ void maskbndGPUleft< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > Xev, float *zb)
 
template __global__ void maskbndGPUleft< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > Xev, double *zb)
 
template<class T >
__global__ void maskbndGPUtop (Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb)
 
template __global__ void maskbndGPUtop< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > Xev, float *zb)
 
template __global__ void maskbndGPUtop< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > Xev, double *zb)
 
template<class T >
__global__ void maskbndGPUright (Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb)
 
template __global__ void maskbndGPUright< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > Xev, float *zb)
 
template __global__ void maskbndGPUright< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > Xev, double *zb)
 
template<class T >
__global__ void maskbndGPUbot (Param XParam, BlockP< T > XBlock, EvolvingP< T > Xev, T *zb)
 
template __global__ void maskbndGPUbot< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > Xev, float *zb)
 
template __global__ void maskbndGPUbot< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > Xev, double *zb)
 
__device__ __host__ void findmaskside (int side, bool &isleftbot, bool &islefttop, bool &istopleft, bool &istopright, bool &isrighttop, bool &isrightbot, bool &isbotright, bool &isbotleft)
 
template<class T >
__device__ __host__ void halowall (T zsinside, T &un, T &ut, T &zs, T &h, T &zb)
 
template<class T >
__device__ __host__ void noslipbnd (T zsinside, T hinside, T &un, T &ut, T &zs, T &h)
 
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)
 
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__ int Inside (int halowidth, int blkmemwidth, int isright, int istop, int ix, int iy, int ib)
 
__host__ __device__ bool isbnd (int isright, int istop, int blkwidth, int ix, int iy)
 

Function Documentation

◆ ABS1D()

template<class T >
__device__ __host__ void ABS1D ( g,
sign,
zsbnd,
zsinside,
hinside,
utbnd,
unbnd,
T &  un,
T &  ut,
T &  zs,
T &  h 
)

◆ bndCPU()

template<class T >
__host__ void bndCPU ( Param  XParam,
bndparam  side,
BlockP< T >  XBlock,
std::vector< double >  zsbndvec,
std::vector< double >  uubndvec,
std::vector< double >  vvbndvec,
T *  zs,
T *  h,
T *  un,
T *  ut 
)

◆ bndCPU< double >()

template __host__ void bndCPU< double > ( Param  XParam,
bndparam  side,
BlockP< double >  XBlock,
std::vector< double >  zsbndvec,
std::vector< double >  uubndvec,
std::vector< double >  vvbndvec,
double *  zs,
double *  h,
double *  un,
double *  ut 
)

◆ bndCPU< float >()

template __host__ void bndCPU< float > ( Param  XParam,
bndparam  side,
BlockP< float >  XBlock,
std::vector< double >  zsbndvec,
std::vector< double >  uubndvec,
std::vector< double >  vvbndvec,
float *  zs,
float *  h,
float *  un,
float *  ut 
)

◆ bndGPU()

template<class T >
__global__ void bndGPU ( Param  XParam,
bndparam  side,
BlockP< T >  XBlock,
float  itime,
T *  zs,
T *  h,
T *  un,
T *  ut 
)

◆ bndGPU< double >()

template __global__ void bndGPU< double > ( Param  XParam,
bndparam  side,
BlockP< double >  XBlock,
float  itime,
double *  zs,
double *  h,
double *  un,
double *  ut 
)

◆ bndGPU< float >()

template __global__ void bndGPU< float > ( Param  XParam,
bndparam  side,
BlockP< float >  XBlock,
float  itime,
float *  zs,
float *  h,
float *  un,
float *  ut 
)

◆ Dirichlet1D()

template<class T >
__device__ __host__ void Dirichlet1D ( g,
sign,
zsbnd,
zsinside,
hinside,
uninside,
T &  un,
T &  ut,
T &  zs,
T &  h 
)

◆ findmaskside()

__device__ __host__ void findmaskside ( int  side,
bool &  isleftbot,
bool &  islefttop,
bool &  istopleft,
bool &  istopright,
bool &  isrighttop,
bool &  isrightbot,
bool &  isbotright,
bool &  isbotleft 
)

◆ Flowbnd()

template<class T >
void Flowbnd ( Param  XParam,
Loop< T > &  XLoop,
BlockP< T >  XBlock,
bndparam  side,
EvolvingP< T >  XEv 
)

◆ Flowbnd< double >()

template void Flowbnd< double > ( Param  XParam,
Loop< double > &  XLoop,
BlockP< double >  XBlock,
bndparam  side,
EvolvingP< double >  XEv 
)

◆ Flowbnd< float >()

template void Flowbnd< float > ( Param  XParam,
Loop< float > &  XLoop,
BlockP< float >  XBlock,
bndparam  side,
EvolvingP< float >  XEv 
)

◆ halowall()

template<class T >
__device__ __host__ void halowall ( zsinside,
T &  un,
T &  ut,
T &  zs,
T &  h,
T &  zb 
)

◆ Inside()

__host__ __device__ int Inside ( int  halowidth,
int  blkmemwidth,
int  isright,
int  istop,
int  ix,
int  iy,
int  ib 
)

◆ isbnd()

__host__ __device__ bool isbnd ( int  isright,
int  istop,
int  blkwidth,
int  ix,
int  iy 
)

◆ maskbnd()

template<class T >
__host__ void maskbnd ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  Xev,
T *  zb 
)

◆ maskbnd< double >()

template __host__ void maskbnd< double > ( Param  XParam,
BlockP< double >  XBlock,
EvolvingP< double >  Xev,
double *  zb 
)

◆ maskbnd< float >()

template __host__ void maskbnd< float > ( Param  XParam,
BlockP< float >  XBlock,
EvolvingP< float >  Xev,
float *  zb 
)

◆ maskbndGPUbot()

template<class T >
__global__ void maskbndGPUbot ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  Xev,
T *  zb 
)

◆ maskbndGPUbot< double >()

template __global__ void maskbndGPUbot< double > ( Param  XParam,
BlockP< double >  XBlock,
EvolvingP< double >  Xev,
double *  zb 
)

◆ maskbndGPUbot< float >()

template __global__ void maskbndGPUbot< float > ( Param  XParam,
BlockP< float >  XBlock,
EvolvingP< float >  Xev,
float *  zb 
)

◆ maskbndGPUleft()

template<class T >
__global__ void maskbndGPUleft ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  Xev,
T *  zb 
)

◆ maskbndGPUleft< double >()

template __global__ void maskbndGPUleft< double > ( Param  XParam,
BlockP< double >  XBlock,
EvolvingP< double >  Xev,
double *  zb 
)

◆ maskbndGPUleft< float >()

template __global__ void maskbndGPUleft< float > ( Param  XParam,
BlockP< float >  XBlock,
EvolvingP< float >  Xev,
float *  zb 
)

◆ maskbndGPUright()

template<class T >
__global__ void maskbndGPUright ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  Xev,
T *  zb 
)

◆ maskbndGPUright< double >()

template __global__ void maskbndGPUright< double > ( Param  XParam,
BlockP< double >  XBlock,
EvolvingP< double >  Xev,
double *  zb 
)

◆ maskbndGPUright< float >()

template __global__ void maskbndGPUright< float > ( Param  XParam,
BlockP< float >  XBlock,
EvolvingP< float >  Xev,
float *  zb 
)

◆ maskbndGPUtop()

template<class T >
__global__ void maskbndGPUtop ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  Xev,
T *  zb 
)

◆ maskbndGPUtop< double >()

template __global__ void maskbndGPUtop< double > ( Param  XParam,
BlockP< double >  XBlock,
EvolvingP< double >  Xev,
double *  zb 
)

◆ maskbndGPUtop< float >()

template __global__ void maskbndGPUtop< float > ( Param  XParam,
BlockP< float >  XBlock,
EvolvingP< float >  Xev,
float *  zb 
)

◆ noslipbnd()

template<class T >
__device__ __host__ void noslipbnd ( zsinside,
hinside,
T &  un,
T &  ut,
T &  zs,
T &  h 
)