BG_Flood
0.8
Documentation (Work-in-progress)
|
#include "Boundary.h"
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) |
__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 | ||
) |
__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< 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 __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 | ||
) |
__global__ void bndGPU | ( | Param | XParam, |
bndparam | side, | ||
BlockP< T > | XBlock, | ||
float | itime, | ||
T * | zs, | ||
T * | h, | ||
T * | un, | ||
T * | ut | ||
) |
template __global__ void bndGPU< double > | ( | Param | XParam, |
bndparam | side, | ||
BlockP< double > | XBlock, | ||
float | itime, | ||
double * | zs, | ||
double * | h, | ||
double * | un, | ||
double * | ut | ||
) |
template __global__ void bndGPU< float > | ( | Param | XParam, |
bndparam | side, | ||
BlockP< float > | XBlock, | ||
float | itime, | ||
float * | zs, | ||
float * | h, | ||
float * | un, | ||
float * | ut | ||
) |
__device__ __host__ void Dirichlet1D | ( | T | g, |
T | sign, | ||
T | zsbnd, | ||
T | zsinside, | ||
T | hinside, | ||
T | uninside, | ||
T & | un, | ||
T & | ut, | ||
T & | zs, | ||
T & | h | ||
) |
__device__ __host__ void findmaskside | ( | int | side, |
bool & | isleftbot, | ||
bool & | islefttop, | ||
bool & | istopleft, | ||
bool & | istopright, | ||
bool & | isrighttop, | ||
bool & | isrightbot, | ||
bool & | isbotright, | ||
bool & | isbotleft | ||
) |
void Flowbnd | ( | Param | XParam, |
Loop< T > & | XLoop, | ||
BlockP< T > | XBlock, | ||
bndparam | side, | ||
EvolvingP< T > | XEv | ||
) |
template void Flowbnd< double > | ( | Param | XParam, |
Loop< double > & | XLoop, | ||
BlockP< double > | XBlock, | ||
bndparam | side, | ||
EvolvingP< double > | XEv | ||
) |
template void Flowbnd< float > | ( | Param | XParam, |
Loop< float > & | XLoop, | ||
BlockP< float > | XBlock, | ||
bndparam | side, | ||
EvolvingP< float > | XEv | ||
) |
__device__ __host__ void halowall | ( | T | zsinside, |
T & | un, | ||
T & | ut, | ||
T & | zs, | ||
T & | h, | ||
T & | zb | ||
) |
__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 | ||
) |
__host__ void maskbnd | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | Xev, | ||
T * | zb | ||
) |
template __host__ void maskbnd< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
EvolvingP< double > | Xev, | ||
double * | zb | ||
) |
template __host__ void maskbnd< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
EvolvingP< float > | Xev, | ||
float * | zb | ||
) |
__global__ void maskbndGPUbot | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | Xev, | ||
T * | zb | ||
) |
template __global__ void maskbndGPUbot< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
EvolvingP< double > | Xev, | ||
double * | zb | ||
) |
template __global__ void maskbndGPUbot< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
EvolvingP< float > | Xev, | ||
float * | zb | ||
) |
__global__ void maskbndGPUleft | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | Xev, | ||
T * | zb | ||
) |
template __global__ void maskbndGPUleft< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
EvolvingP< double > | Xev, | ||
double * | zb | ||
) |
template __global__ void maskbndGPUleft< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
EvolvingP< float > | Xev, | ||
float * | zb | ||
) |
__global__ void maskbndGPUright | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | Xev, | ||
T * | zb | ||
) |
template __global__ void maskbndGPUright< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
EvolvingP< double > | Xev, | ||
double * | zb | ||
) |
template __global__ void maskbndGPUright< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
EvolvingP< float > | Xev, | ||
float * | zb | ||
) |
__global__ void maskbndGPUtop | ( | Param | XParam, |
BlockP< T > | XBlock, | ||
EvolvingP< T > | Xev, | ||
T * | zb | ||
) |
template __global__ void maskbndGPUtop< double > | ( | Param | XParam, |
BlockP< double > | XBlock, | ||
EvolvingP< double > | Xev, | ||
double * | zb | ||
) |
template __global__ void maskbndGPUtop< float > | ( | Param | XParam, |
BlockP< float > | XBlock, | ||
EvolvingP< float > | Xev, | ||
float * | zb | ||
) |
__device__ __host__ void noslipbnd | ( | T | zsinside, |
T | hinside, | ||
T & | un, | ||
T & | ut, | ||
T & | zs, | ||
T & | h | ||
) |