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

Functions

unsigned int nextPow2 (unsigned int x)
 
template<class T >
void Allocate1CPU (int nx, int ny, T *&zb)
 
template<class T >
void Allocate4CPU (int nx, int ny, T *&zs, T *&hh, T *&uu, T *&vv)
 
template<class T >
void InitArraySV (int nblk, int blksize, T initval, T *&Arr)
 
template<class T >
void CopyArray (int nblk, int blksize, T *source, T *&dest)
 
template<class T >
void ReallocArray (int nblk, int blksize, T *&zb)
 
template<class T >
void setedges (int nblk, int *leftblk, int *rightblk, int *topblk, int *botblk, T *&zb)
 
template<class T >
void carttoBUQ (int nblk, int nx, int ny, double xo, double yo, double dx, double *blockxo, double *blockyo, T *zb, T *&zb_buq)
 
template<class T >
void interp2BUQ (int nblk, double blksize, double blkdx, double *blockxo, double *blockyo, int nx, int ny, double xo, double xmax, double yo, double ymax, double dx, T *zb, T *&zb_buq)
 
template<class T >
void interp2BUQAda (int nblk, double blksize, double bdx, int *activeblk, int *level, double *blockxo, double *blockyo, int nx, int ny, double xo, double xmax, double yo, double ymax, double dx, T *zb, T *&zb_buq)
 
template<class T >
void interp2cf (Param XParam, float *cfin, T *blockxo, T *blockyo, T *&cf)
 
float maxdiff (int nxny, float *ref, float *pred)
 
float maxdiffID (int nx, int ny, int &im, int &jm, float *ref, float *pred)
 
int AllocMemCPU (Param XParam)
 
template<class T >
int coldstart (Param XParam, T *zb, T *&uu, T *&vv, T *&zs, T *&hh)
 
template<class T >
void warmstart (Param XParam, T *zb, T *&uu, T *&vv, T *&zs, T *&hh)
 
template<class T >
int AddZSoffset (Param XParam, T *&zb, T *&zs, T *&hh)
 

Function Documentation

◆ AddZSoffset()

template<class T >
int AddZSoffset ( Param  XParam,
T *&  zb,
T *&  zs,
T *&  hh 
)

◆ Allocate1CPU()

template<class T >
void Allocate1CPU ( int  nx,
int  ny,
T *&  zb 
)

◆ Allocate4CPU()

template<class T >
void Allocate4CPU ( int  nx,
int  ny,
T *&  zs,
T *&  hh,
T *&  uu,
T *&  vv 
)

◆ AllocMemCPU()

int AllocMemCPU ( Param  XParam)

◆ carttoBUQ()

template<class T >
void carttoBUQ ( int  nblk,
int  nx,
int  ny,
double  xo,
double  yo,
double  dx,
double *  blockxo,
double *  blockyo,
T *  zb,
T *&  zb_buq 
)

◆ coldstart()

template<class T >
int coldstart ( Param  XParam,
T *  zb,
T *&  uu,
T *&  vv,
T *&  zs,
T *&  hh 
)

◆ CopyArray()

template<class T >
void CopyArray ( int  nblk,
int  blksize,
T *  source,
T *&  dest 
)

◆ InitArraySV()

template<class T >
void InitArraySV ( int  nblk,
int  blksize,
initval,
T *&  Arr 
)

◆ interp2BUQ()

template<class T >
void interp2BUQ ( int  nblk,
double  blksize,
double  blkdx,
double *  blockxo,
double *  blockyo,
int  nx,
int  ny,
double  xo,
double  xmax,
double  yo,
double  ymax,
double  dx,
T *  zb,
T *&  zb_buq 
)

◆ interp2BUQAda()

template<class T >
void interp2BUQAda ( int  nblk,
double  blksize,
double  bdx,
int *  activeblk,
int *  level,
double *  blockxo,
double *  blockyo,
int  nx,
int  ny,
double  xo,
double  xmax,
double  yo,
double  ymax,
double  dx,
T *  zb,
T *&  zb_buq 
)

◆ interp2cf()

template<class T >
void interp2cf ( Param  XParam,
float *  cfin,
T *  blockxo,
T *  blockyo,
T *&  cf 
)

◆ maxdiff()

float maxdiff ( int  nxny,
float *  ref,
float *  pred 
)

◆ maxdiffID()

float maxdiffID ( int  nx,
int  ny,
int &  im,
int &  jm,
float *  ref,
float *  pred 
)

◆ nextPow2()

unsigned int nextPow2 ( unsigned int  x)

◆ ReallocArray()

template<class T >
void ReallocArray ( int  nblk,
int  blksize,
T *&  zb 
)

◆ setedges()

template<class T >
void setedges ( int  nblk,
int *  leftblk,
int *  rightblk,
int *  topblk,
int *  botblk,
T *&  zb 
)

◆ warmstart()

template<class T >
void warmstart ( Param  XParam,
T *  zb,
T *&  uu,
T *&  vv,
T *&  zs,
T *&  hh 
)