BG_Flood  0.1
Documentation (Work-in-progress)
Adapt_Flow_kernel.cu File Reference
This graph shows which files directly or indirectly include this file:

Functions

template<class T >
__host__ __device__ T RightAda (int ix, int iy, int ibl, int rightibl, int rightofbotibl, int rightoftopibl, int botofrightibl, int topofrightibl, int *level, T *var)
 
template<class T >
__host__ __device__ T LeftAda (int ix, int iy, int ibl, int leftibl, int leftofbotibl, int leftoftopibl, int botofleftibl, int topofleftibl, int *level, T *var)
 
template<class T >
__host__ __device__ T TopAda (int ix, int iy, int ibl, int topibl, int topofrightibl, int topofleftibl, int leftoftopibl, int rightoftopibl, int *level, T *var)
 
template<class T >
__host__ __device__ T BotAda (int ix, int iy, int ibl, int botibl, int botofrightibl, int botofleftibl, int leftofbotibl, int rightofbotibl, int *level, T *var)
 
template<class T >
__global__ void gradientGPUXYBUQADASM (T theta, T dx, int *Activeblk, int *lev, int *leftblk, int *rightblk, int *topblk, int *botblk, T *a, T *dadx, T *dady)
 
template<class T >
void gradientADA (int nblk, int blksize, T theta, T dx, int *activeblk, int *level, int *leftblk, int *rightblk, int *topblk, int *botblk, T *a, T *&dadx, T *&dady)
 

Function Documentation

◆ BotAda()

template<class T >
__host__ __device__ T BotAda ( int  ix,
int  iy,
int  ibl,
int  botibl,
int  botofrightibl,
int  botofleftibl,
int  leftofbotibl,
int  rightofbotibl,
int *  level,
T *  var 
)

the top right block does not exist

◆ gradientADA()

template<class T >
void gradientADA ( int  nblk,
int  blksize,
theta,
dx,
int *  activeblk,
int *  level,
int *  leftblk,
int *  rightblk,
int *  topblk,
int *  botblk,
T *  a,
T *&  dadx,
T *&  dady 
)

◆ gradientGPUXYBUQADASM()

template<class T >
__global__ void gradientGPUXYBUQADASM ( theta,
dx,
int *  Activeblk,
int *  lev,
int *  leftblk,
int *  rightblk,
int *  topblk,
int *  botblk,
T *  a,
T *  dadx,
T *  dady 
)

◆ LeftAda()

template<class T >
__host__ __device__ T LeftAda ( int  ix,
int  iy,
int  ibl,
int  leftibl,
int  leftofbotibl,
int  leftoftopibl,
int  botofleftibl,
int  topofleftibl,
int *  level,
T *  var 
)

the bot left block does not exist

we are at the top

the top right block does not exist

we are at the bottom

◆ RightAda()

template<class T >
__host__ __device__ T RightAda ( int  ix,
int  iy,
int  ibl,
int  rightibl,
int  rightofbotibl,
int  rightoftopibl,
int  botofrightibl,
int  topofrightibl,
int *  level,
T *  var 
)

the bot right block does not exist

we are at the top

the top right block does not exist

we are at the bottom

◆ TopAda()

template<class T >
__host__ __device__ T TopAda ( int  ix,
int  iy,
int  ibl,
int  topibl,
int  topofrightibl,
int  topofleftibl,
int  leftoftopibl,
int  rightoftopibl,
int *  level,
T *  var 
)

the top right block does not exist