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

Functions

template<class T , class F >
void InitArrayBUQ (Param XParam, BlockP< F > XBlock, T initval, T *&Arr)
 
template void InitArrayBUQ< float, float > (Param XParam, BlockP< float > XBlock, float initval, float *&Arr)
 
template void InitArrayBUQ< double, float > (Param XParam, BlockP< float > XBlock, double initval, double *&Arr)
 
template void InitArrayBUQ< int, float > (Param XParam, BlockP< float > XBlock, int initval, int *&Arr)
 
template void InitArrayBUQ< bool, float > (Param XParam, BlockP< float > XBlock, bool initval, bool *&Arr)
 
template void InitArrayBUQ< float, double > (Param XParam, BlockP< double > XBlock, float initval, float *&Arr)
 
template void InitArrayBUQ< double, double > (Param XParam, BlockP< double > XBlock, double initval, double *&Arr)
 
template void InitArrayBUQ< int, double > (Param XParam, BlockP< double > XBlock, int initval, int *&Arr)
 
template void InitArrayBUQ< bool, double > (Param XParam, BlockP< double > XBlock, bool initval, bool *&Arr)
 
template<class T , class F >
void InitBlkBUQ (Param XParam, BlockP< F > XBlock, T initval, T *&Arr)
 
template void InitBlkBUQ< bool, float > (Param XParam, BlockP< float > XBlock, bool initval, bool *&Arr)
 
template void InitBlkBUQ< int, float > (Param XParam, BlockP< float > XBlock, int initval, int *&Arr)
 
template void InitBlkBUQ< float, float > (Param XParam, BlockP< float > XBlock, float initval, float *&Arr)
 
template void InitBlkBUQ< double, float > (Param XParam, BlockP< float > XBlock, double initval, double *&Arr)
 
template void InitBlkBUQ< bool, double > (Param XParam, BlockP< double > XBlock, bool initval, bool *&Arr)
 
template void InitBlkBUQ< int, double > (Param XParam, BlockP< double > XBlock, int initval, int *&Arr)
 
template void InitBlkBUQ< float, double > (Param XParam, BlockP< double > XBlock, float initval, float *&Arr)
 
template void InitBlkBUQ< double, double > (Param XParam, BlockP< double > XBlock, double initval, double *&Arr)
 
template<class T , class F >
void CopyArrayBUQ (Param XParam, BlockP< F > XBlock, T *source, T *&dest)
 
template void CopyArrayBUQ< bool, float > (Param XParam, BlockP< float > XBlock, bool *source, bool *&dest)
 
template void CopyArrayBUQ< int, float > (Param XParam, BlockP< float > XBlock, int *source, int *&dest)
 
template void CopyArrayBUQ< float, float > (Param XParam, BlockP< float > XBlock, float *source, float *&dest)
 
template void CopyArrayBUQ< double, float > (Param XParam, BlockP< float > XBlock, double *source, double *&dest)
 
template void CopyArrayBUQ< bool, double > (Param XParam, BlockP< double > XBlock, bool *source, bool *&dest)
 
template void CopyArrayBUQ< int, double > (Param XParam, BlockP< double > XBlock, int *source, int *&dest)
 
template void CopyArrayBUQ< float, double > (Param XParam, BlockP< double > XBlock, float *source, float *&dest)
 
template void CopyArrayBUQ< double, double > (Param XParam, BlockP< double > XBlock, double *source, double *&dest)
 
template<class T >
void CopyArrayBUQ (Param XParam, BlockP< T > XBlock, EvolvingP< T > source, EvolvingP< T > &dest)
 
template void CopyArrayBUQ< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > source, EvolvingP< float > &dest)
 
template void CopyArrayBUQ< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > source, EvolvingP< double > &dest)
 
template<class T >
void CopyArrayBUQ (Param XParam, BlockP< T > XBlock, EvolvingP< T > source, EvolvingP_M< T > &dest)
 
template void CopyArrayBUQ< float > (Param XParam, BlockP< float > XBlock, EvolvingP< float > source, EvolvingP_M< float > &dest)
 
template void CopyArrayBUQ< double > (Param XParam, BlockP< double > XBlock, EvolvingP< double > source, EvolvingP_M< double > &dest)
 
template<class T >
void setedges (Param XParam, BlockP< T > XBlock, T *&zb)
 
template void setedges< float > (Param XParam, BlockP< float > XBlock, float *&zb)
 
template void setedges< double > (Param XParam, BlockP< double > XBlock, double *&zb)
 
template<class T >
void setedgessideLR (Param XParam, int ib, int blkA, int blkB, int iread, int iwrite, T *&zb)
 
template<class T >
void setedgessideBT (Param XParam, int ib, int blkA, int blkB, int jread, int jwrite, T *&zb)
 
template<class T , class F >
void interp2BUQ (Param XParam, BlockP< T > XBlock, F forcing, T *&z)
 
template void interp2BUQ< float, StaticForcingP< float > > (Param XParam, BlockP< float > XBlock, StaticForcingP< float > forcing, float *&z)
 
template void interp2BUQ< double, StaticForcingP< float > > (Param XParam, BlockP< double > XBlock, StaticForcingP< float > forcing, double *&z)
 
template void interp2BUQ< float, deformmap< float > > (Param XParam, BlockP< float > XBlock, deformmap< float > forcing, float *&z)
 
template void interp2BUQ< double, deformmap< float > > (Param XParam, BlockP< double > XBlock, deformmap< float > forcing, double *&z)
 
template void interp2BUQ< float, DynForcingP< float > > (Param XParam, BlockP< float > XBlock, DynForcingP< float > forcing, float *&z)
 
template void interp2BUQ< double, DynForcingP< float > > (Param XParam, BlockP< double > XBlock, DynForcingP< float > forcing, double *&z)
 
template<class T >
void interp2BUQ (Param XParam, BlockP< T > XBlock, std::vector< StaticForcingP< float >> forcing, T *z)
 
template void interp2BUQ< float > (Param XParam, BlockP< float > XBlock, std::vector< StaticForcingP< float >> forcing, float *z)
 
template void interp2BUQ< double > (Param XParam, BlockP< double > XBlock, std::vector< StaticForcingP< float >> forcing, double *z)
 
template<class T , class F >
interp2BUQ (T x, T y, T dx, F forcing)
 
template<class T , class F >
blockmean (T x, T y, T dx, F forcing)
 
template<class T , class F >
interp2BUQ (T x, T y, F forcing)
 
template float interp2BUQ< float, StaticForcingP< float > > (float x, float y, StaticForcingP< float > forcing)
 
template double interp2BUQ< double, StaticForcingP< float > > (double x, double y, StaticForcingP< float > forcing)
 
template float interp2BUQ< float, StaticForcingP< int > > (float x, float y, StaticForcingP< int > forcing)
 
template double interp2BUQ< double, StaticForcingP< int > > (double x, double y, StaticForcingP< int > forcing)
 
template float interp2BUQ< float, deformmap< float > > (float x, float y, deformmap< float > forcing)
 
template double interp2BUQ< double, deformmap< float > > (double x, double y, deformmap< float > forcing)
 
template float interp2BUQ< float, DynForcingP< float > > (float x, float y, DynForcingP< float > forcing)
 
template double interp2BUQ< double, DynForcingP< float > > (double x, double y, DynForcingP< float > forcing)
 
template<class T , class F >
void InterpstepCPU (int nx, int ny, int hdstep, F totaltime, F hddt, T *&Ux, T *Uo, T *Un)
 
template void InterpstepCPU< int, float > (int nx, int ny, int hdstep, float totaltime, float hddt, int *&Ux, int *Uo, int *Un)
 
template void InterpstepCPU< float, float > (int nx, int ny, int hdstep, float totaltime, float hddt, float *&Ux, float *Uo, float *Un)
 
template void InterpstepCPU< double, float > (int nx, int ny, int hdstep, float totaltime, float hddt, double *&Ux, double *Uo, double *Un)
 
template void InterpstepCPU< int, double > (int nx, int ny, int hdstep, double totaltime, double hddt, int *&Ux, int *Uo, int *Un)
 
template void InterpstepCPU< float, double > (int nx, int ny, int hdstep, double totaltime, double hddt, float *&Ux, float *Uo, float *Un)
 
template void InterpstepCPU< double, double > (int nx, int ny, int hdstep, double totaltime, double hddt, double *&Ux, double *Uo, double *Un)
 
template<class T >
__global__ void InterpstepGPU (int nx, int ny, int hdstp, T totaltime, T hddt, T *Ux, T *Uo, T *Un)
 
template __global__ void InterpstepGPU< float > (int nx, int ny, int hdstp, float totaltime, float hddt, float *Ux, float *Uo, float *Un)
 
template __global__ void InterpstepGPU< double > (int nx, int ny, int hdstp, double totaltime, double hddt, double *Ux, double *Uo, double *Un)
 
template<class T >
void Copy2CartCPU (int nx, int ny, T *dest, T *src)
 
template void Copy2CartCPU< int > (int nx, int ny, int *dest, int *src)
 
template void Copy2CartCPU< bool > (int nx, int ny, bool *dest, bool *src)
 
template void Copy2CartCPU< float > (int nx, int ny, float *dest, float *src)
 
template void Copy2CartCPU< double > (int nx, int ny, double *dest, double *src)
 

Function Documentation

◆ blockmean()

template<class T , class F >
T blockmean ( x,
y,
dx,
forcing 
)

◆ Copy2CartCPU()

template<class T >
void Copy2CartCPU ( int  nx,
int  ny,
T *  dest,
T *  src 
)

◆ Copy2CartCPU< bool >()

template void Copy2CartCPU< bool > ( int  nx,
int  ny,
bool *  dest,
bool *  src 
)

◆ Copy2CartCPU< double >()

template void Copy2CartCPU< double > ( int  nx,
int  ny,
double *  dest,
double *  src 
)

◆ Copy2CartCPU< float >()

template void Copy2CartCPU< float > ( int  nx,
int  ny,
float *  dest,
float *  src 
)

◆ Copy2CartCPU< int >()

template void Copy2CartCPU< int > ( int  nx,
int  ny,
int *  dest,
int *  src 
)

◆ CopyArrayBUQ() [1/3]

template<class T , class F >
void CopyArrayBUQ ( Param  XParam,
BlockP< F >  XBlock,
T *  source,
T *&  dest 
)

◆ CopyArrayBUQ() [2/3]

template<class T >
void CopyArrayBUQ ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  source,
EvolvingP< T > &  dest 
)

◆ CopyArrayBUQ() [3/3]

template<class T >
void CopyArrayBUQ ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  source,
EvolvingP_M< T > &  dest 
)

◆ CopyArrayBUQ< bool, double >()

template void CopyArrayBUQ< bool, double > ( Param  XParam,
BlockP< double >  XBlock,
bool *  source,
bool *&  dest 
)

◆ CopyArrayBUQ< bool, float >()

template void CopyArrayBUQ< bool, float > ( Param  XParam,
BlockP< float >  XBlock,
bool *  source,
bool *&  dest 
)

◆ CopyArrayBUQ< double >() [1/2]

template void CopyArrayBUQ< double > ( Param  XParam,
BlockP< double >  XBlock,
EvolvingP< double >  source,
EvolvingP< double > &  dest 
)

◆ CopyArrayBUQ< double >() [2/2]

template void CopyArrayBUQ< double > ( Param  XParam,
BlockP< double >  XBlock,
EvolvingP< double >  source,
EvolvingP_M< double > &  dest 
)

◆ CopyArrayBUQ< double, double >()

template void CopyArrayBUQ< double, double > ( Param  XParam,
BlockP< double >  XBlock,
double *  source,
double *&  dest 
)

◆ CopyArrayBUQ< double, float >()

template void CopyArrayBUQ< double, float > ( Param  XParam,
BlockP< float >  XBlock,
double *  source,
double *&  dest 
)

◆ CopyArrayBUQ< float >() [1/2]

template void CopyArrayBUQ< float > ( Param  XParam,
BlockP< float >  XBlock,
EvolvingP< float >  source,
EvolvingP< float > &  dest 
)

◆ CopyArrayBUQ< float >() [2/2]

template void CopyArrayBUQ< float > ( Param  XParam,
BlockP< float >  XBlock,
EvolvingP< float >  source,
EvolvingP_M< float > &  dest 
)

◆ CopyArrayBUQ< float, double >()

template void CopyArrayBUQ< float, double > ( Param  XParam,
BlockP< double >  XBlock,
float *  source,
float *&  dest 
)

◆ CopyArrayBUQ< float, float >()

template void CopyArrayBUQ< float, float > ( Param  XParam,
BlockP< float >  XBlock,
float *  source,
float *&  dest 
)

◆ CopyArrayBUQ< int, double >()

template void CopyArrayBUQ< int, double > ( Param  XParam,
BlockP< double >  XBlock,
int *  source,
int *&  dest 
)

◆ CopyArrayBUQ< int, float >()

template void CopyArrayBUQ< int, float > ( Param  XParam,
BlockP< float >  XBlock,
int *  source,
int *&  dest 
)

◆ InitArrayBUQ()

template<class T , class F >
void InitArrayBUQ ( Param  XParam,
BlockP< F >  XBlock,
initval,
T *&  Arr 
)

◆ InitArrayBUQ< bool, double >()

template void InitArrayBUQ< bool, double > ( Param  XParam,
BlockP< double >  XBlock,
bool  initval,
bool *&  Arr 
)

◆ InitArrayBUQ< bool, float >()

template void InitArrayBUQ< bool, float > ( Param  XParam,
BlockP< float >  XBlock,
bool  initval,
bool *&  Arr 
)

◆ InitArrayBUQ< double, double >()

template void InitArrayBUQ< double, double > ( Param  XParam,
BlockP< double >  XBlock,
double  initval,
double *&  Arr 
)

◆ InitArrayBUQ< double, float >()

template void InitArrayBUQ< double, float > ( Param  XParam,
BlockP< float >  XBlock,
double  initval,
double *&  Arr 
)

◆ InitArrayBUQ< float, double >()

template void InitArrayBUQ< float, double > ( Param  XParam,
BlockP< double >  XBlock,
float  initval,
float *&  Arr 
)

◆ InitArrayBUQ< float, float >()

template void InitArrayBUQ< float, float > ( Param  XParam,
BlockP< float >  XBlock,
float  initval,
float *&  Arr 
)

◆ InitArrayBUQ< int, double >()

template void InitArrayBUQ< int, double > ( Param  XParam,
BlockP< double >  XBlock,
int  initval,
int *&  Arr 
)

◆ InitArrayBUQ< int, float >()

template void InitArrayBUQ< int, float > ( Param  XParam,
BlockP< float >  XBlock,
int  initval,
int *&  Arr 
)

◆ InitBlkBUQ()

template<class T , class F >
void InitBlkBUQ ( Param  XParam,
BlockP< F >  XBlock,
initval,
T *&  Arr 
)

◆ InitBlkBUQ< bool, double >()

template void InitBlkBUQ< bool, double > ( Param  XParam,
BlockP< double >  XBlock,
bool  initval,
bool *&  Arr 
)

◆ InitBlkBUQ< bool, float >()

template void InitBlkBUQ< bool, float > ( Param  XParam,
BlockP< float >  XBlock,
bool  initval,
bool *&  Arr 
)

◆ InitBlkBUQ< double, double >()

template void InitBlkBUQ< double, double > ( Param  XParam,
BlockP< double >  XBlock,
double  initval,
double *&  Arr 
)

◆ InitBlkBUQ< double, float >()

template void InitBlkBUQ< double, float > ( Param  XParam,
BlockP< float >  XBlock,
double  initval,
double *&  Arr 
)

◆ InitBlkBUQ< float, double >()

template void InitBlkBUQ< float, double > ( Param  XParam,
BlockP< double >  XBlock,
float  initval,
float *&  Arr 
)

◆ InitBlkBUQ< float, float >()

template void InitBlkBUQ< float, float > ( Param  XParam,
BlockP< float >  XBlock,
float  initval,
float *&  Arr 
)

◆ InitBlkBUQ< int, double >()

template void InitBlkBUQ< int, double > ( Param  XParam,
BlockP< double >  XBlock,
int  initval,
int *&  Arr 
)

◆ InitBlkBUQ< int, float >()

template void InitBlkBUQ< int, float > ( Param  XParam,
BlockP< float >  XBlock,
int  initval,
int *&  Arr 
)

◆ interp2BUQ() [1/4]

template<class T , class F >
void interp2BUQ ( Param  XParam,
BlockP< T >  XBlock,
forcing,
T *&  z 
)

◆ interp2BUQ() [2/4]

template<class T >
void interp2BUQ ( Param  XParam,
BlockP< T >  XBlock,
std::vector< StaticForcingP< float >>  forcing,
T *  z 
)

◆ interp2BUQ() [3/4]

template<class T , class F >
T interp2BUQ ( x,
y,
forcing 
)

◆ interp2BUQ() [4/4]

template<class T , class F >
T interp2BUQ ( x,
y,
dx,
forcing 
)

◆ interp2BUQ< double >()

template void interp2BUQ< double > ( Param  XParam,
BlockP< double >  XBlock,
std::vector< StaticForcingP< float >>  forcing,
double *  z 
)

◆ interp2BUQ< double, deformmap< float > >() [1/2]

template double interp2BUQ< double, deformmap< float > > ( double  x,
double  y,
deformmap< float >  forcing 
)

◆ interp2BUQ< double, deformmap< float > >() [2/2]

template void interp2BUQ< double, deformmap< float > > ( Param  XParam,
BlockP< double >  XBlock,
deformmap< float >  forcing,
double *&  z 
)

◆ interp2BUQ< double, DynForcingP< float > >() [1/2]

template double interp2BUQ< double, DynForcingP< float > > ( double  x,
double  y,
DynForcingP< float >  forcing 
)

◆ interp2BUQ< double, DynForcingP< float > >() [2/2]

template void interp2BUQ< double, DynForcingP< float > > ( Param  XParam,
BlockP< double >  XBlock,
DynForcingP< float >  forcing,
double *&  z 
)

◆ interp2BUQ< double, StaticForcingP< float > >() [1/2]

template double interp2BUQ< double, StaticForcingP< float > > ( double  x,
double  y,
StaticForcingP< float >  forcing 
)

◆ interp2BUQ< double, StaticForcingP< float > >() [2/2]

template void interp2BUQ< double, StaticForcingP< float > > ( Param  XParam,
BlockP< double >  XBlock,
StaticForcingP< float >  forcing,
double *&  z 
)

◆ interp2BUQ< double, StaticForcingP< int > >()

template double interp2BUQ< double, StaticForcingP< int > > ( double  x,
double  y,
StaticForcingP< int >  forcing 
)

◆ interp2BUQ< float >()

template void interp2BUQ< float > ( Param  XParam,
BlockP< float >  XBlock,
std::vector< StaticForcingP< float >>  forcing,
float *  z 
)

◆ interp2BUQ< float, deformmap< float > >() [1/2]

template float interp2BUQ< float, deformmap< float > > ( float  x,
float  y,
deformmap< float >  forcing 
)

◆ interp2BUQ< float, deformmap< float > >() [2/2]

template void interp2BUQ< float, deformmap< float > > ( Param  XParam,
BlockP< float >  XBlock,
deformmap< float >  forcing,
float *&  z 
)

◆ interp2BUQ< float, DynForcingP< float > >() [1/2]

template float interp2BUQ< float, DynForcingP< float > > ( float  x,
float  y,
DynForcingP< float >  forcing 
)

◆ interp2BUQ< float, DynForcingP< float > >() [2/2]

template void interp2BUQ< float, DynForcingP< float > > ( Param  XParam,
BlockP< float >  XBlock,
DynForcingP< float >  forcing,
float *&  z 
)

◆ interp2BUQ< float, StaticForcingP< float > >() [1/2]

template float interp2BUQ< float, StaticForcingP< float > > ( float  x,
float  y,
StaticForcingP< float >  forcing 
)

◆ interp2BUQ< float, StaticForcingP< float > >() [2/2]

template void interp2BUQ< float, StaticForcingP< float > > ( Param  XParam,
BlockP< float >  XBlock,
StaticForcingP< float >  forcing,
float *&  z 
)

◆ interp2BUQ< float, StaticForcingP< int > >()

template float interp2BUQ< float, StaticForcingP< int > > ( float  x,
float  y,
StaticForcingP< int >  forcing 
)

◆ InterpstepCPU()

template<class T , class F >
void InterpstepCPU ( int  nx,
int  ny,
int  hdstep,
totaltime,
hddt,
T *&  Ux,
T *  Uo,
T *  Un 
)

◆ InterpstepCPU< double, double >()

template void InterpstepCPU< double, double > ( int  nx,
int  ny,
int  hdstep,
double  totaltime,
double  hddt,
double *&  Ux,
double *  Uo,
double *  Un 
)

◆ InterpstepCPU< double, float >()

template void InterpstepCPU< double, float > ( int  nx,
int  ny,
int  hdstep,
float  totaltime,
float  hddt,
double *&  Ux,
double *  Uo,
double *  Un 
)

◆ InterpstepCPU< float, double >()

template void InterpstepCPU< float, double > ( int  nx,
int  ny,
int  hdstep,
double  totaltime,
double  hddt,
float *&  Ux,
float *  Uo,
float *  Un 
)

◆ InterpstepCPU< float, float >()

template void InterpstepCPU< float, float > ( int  nx,
int  ny,
int  hdstep,
float  totaltime,
float  hddt,
float *&  Ux,
float *  Uo,
float *  Un 
)

◆ InterpstepCPU< int, double >()

template void InterpstepCPU< int, double > ( int  nx,
int  ny,
int  hdstep,
double  totaltime,
double  hddt,
int *&  Ux,
int *  Uo,
int *  Un 
)

◆ InterpstepCPU< int, float >()

template void InterpstepCPU< int, float > ( int  nx,
int  ny,
int  hdstep,
float  totaltime,
float  hddt,
int *&  Ux,
int *  Uo,
int *  Un 
)

◆ InterpstepGPU()

template<class T >
__global__ void InterpstepGPU ( int  nx,
int  ny,
int  hdstp,
totaltime,
hddt,
T *  Ux,
T *  Uo,
T *  Un 
)

Ums[tx]

Ums[tx]

◆ InterpstepGPU< double >()

template __global__ void InterpstepGPU< double > ( int  nx,
int  ny,
int  hdstp,
double  totaltime,
double  hddt,
double *  Ux,
double *  Uo,
double *  Un 
)

◆ InterpstepGPU< float >()

template __global__ void InterpstepGPU< float > ( int  nx,
int  ny,
int  hdstp,
float  totaltime,
float  hddt,
float *  Ux,
float *  Uo,
float *  Un 
)

◆ setedges()

template<class T >
void setedges ( Param  XParam,
BlockP< T >  XBlock,
T *&  zb 
)

◆ setedges< double >()

template void setedges< double > ( Param  XParam,
BlockP< double >  XBlock,
double *&  zb 
)

◆ setedges< float >()

template void setedges< float > ( Param  XParam,
BlockP< float >  XBlock,
float *&  zb 
)

◆ setedgessideBT()

template<class T >
void setedgessideBT ( Param  XParam,
int  ib,
int  blkA,
int  blkB,
int  jread,
int  jwrite,
T *&  zb 
)

◆ setedgessideLR()

template<class T >
void setedgessideLR ( Param  XParam,
int  ib,
int  blkA,
int  blkB,
int  iread,
int  iwrite,
T *&  zb 
)