BG_Flood  0.8
Documentation (Work-in-progress)
InitialConditions.cu File Reference
Include dependency graph for InitialConditions.cu:

Functions

template<class T >
void InitialConditions (Param &XParam, Forcing< float > &XForcing, Model< T > &XModel)
 
template void InitialConditions< float > (Param &XParam, Forcing< float > &XForcing, Model< float > &XModel)
 
template void InitialConditions< double > (Param &XParam, Forcing< float > &XForcing, Model< double > &XModel)
 
template<class T >
void InitzbgradientCPU (Param XParam, Model< T > XModel)
 
template void InitzbgradientCPU< double > (Param XParam, Model< double > XModel)
 
template void InitzbgradientCPU< float > (Param XParam, Model< float > XModel)
 
template<class T >
void InitzbgradientGPU (Param XParam, Model< T > XModel)
 
template void InitzbgradientGPU< double > (Param XParam, Model< double > XModel)
 
template void InitzbgradientGPU< float > (Param XParam, Model< float > XModel)
 
template<class T >
void initoutput (Param &XParam, Model< T > &XModel)
 
void InitTSOutput (Param XParam)
 
template<class T >
void FindTSoutNodes (Param &XParam, BlockP< T > XBlock, BndblockP &bnd)
 
template void FindTSoutNodes< float > (Param &XParam, BlockP< float > XBlock, BndblockP &bnd)
 
template void FindTSoutNodes< double > (Param &XParam, BlockP< double > XBlock, BndblockP &bnd)
 
template<class T >
void InitRivers (Param XParam, Forcing< float > &XForcing, Model< T > &XModel)
 
template void InitRivers< float > (Param XParam, Forcing< float > &XForcing, Model< float > &XModel)
 
template void InitRivers< double > (Param XParam, Forcing< float > &XForcing, Model< double > &XModel)
 
template<class T >
void Initmaparray (Model< T > &XModel)
 
template void Initmaparray< float > (Model< float > &XModel)
 
template void Initmaparray< double > (Model< double > &XModel)
 
template<class T >
void Findoutzoneblks (Param &XParam, BlockP< T > &XBlock)
 
template void Findoutzoneblks< float > (Param &XParam, BlockP< float > &XBlock)
 
template void Findoutzoneblks< double > (Param &XParam, BlockP< double > &XBlock)
 
template<class T >
void Initoutzone (Param &XParam, BlockP< T > &XBlock)
 
template void Initoutzone< float > (Param &XParam, BlockP< float > &XBlock)
 
template void Initoutzone< double > (Param &XParam, BlockP< double > &XBlock)
 
template<class T >
void Calcbndblks (Param &XParam, Forcing< float > &XForcing, BlockP< T > XBlock)
 
template<class T >
void Findbndblks (Param XParam, Model< T > XModel, Forcing< float > &XForcing)
 
template<class T >
void RectCornerBlk (Param &XParam, BlockP< T > &XBlock, double xo, double yo, double xmax, double ymax, bool isEps, std::vector< int > &cornerblk)
 
template<class T >
void calcactiveCellCPU (Param XParam, BlockP< T > XBlock, Forcing< float > &XForcing, T *zb)
 
template<class T >
__global__ void calcactiveCellGPU (Param XParam, BlockP< T > XBlock, T *zb)
 
template<class T >
void initinfiltration (Param XParam, BlockP< T > XBlock, T *h, T *initLoss, T *hgw)
 

Function Documentation

◆ calcactiveCellCPU()

template<class T >
void calcactiveCellCPU ( Param  XParam,
BlockP< T >  XBlock,
Forcing< float > &  XForcing,
T *  zb 
)

◆ calcactiveCellGPU()

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

◆ Calcbndblks()

template<class T >
void Calcbndblks ( Param XParam,
Forcing< float > &  XForcing,
BlockP< T >  XBlock 
)

◆ Findbndblks()

template<class T >
void Findbndblks ( Param  XParam,
Model< T >  XModel,
Forcing< float > &  XForcing 
)

◆ Findoutzoneblks()

template<class T >
void Findoutzoneblks ( Param XParam,
BlockP< T > &  XBlock 
)

◆ Findoutzoneblks< double >()

template void Findoutzoneblks< double > ( Param XParam,
BlockP< double > &  XBlock 
)

◆ Findoutzoneblks< float >()

template void Findoutzoneblks< float > ( Param XParam,
BlockP< float > &  XBlock 
)

◆ FindTSoutNodes()

template<class T >
void FindTSoutNodes ( Param XParam,
BlockP< T >  XBlock,
BndblockP bnd 
)

◆ FindTSoutNodes< double >()

template void FindTSoutNodes< double > ( Param XParam,
BlockP< double >  XBlock,
BndblockP bnd 
)

◆ FindTSoutNodes< float >()

template void FindTSoutNodes< float > ( Param XParam,
BlockP< float >  XBlock,
BndblockP bnd 
)

◆ InitialConditions()

template<class T >
void InitialConditions ( Param XParam,
Forcing< float > &  XForcing,
Model< T > &  XModel 
)

◆ InitialConditions< double >()

template void InitialConditions< double > ( Param XParam,
Forcing< float > &  XForcing,
Model< double > &  XModel 
)

◆ InitialConditions< float >()

template void InitialConditions< float > ( Param XParam,
Forcing< float > &  XForcing,
Model< float > &  XModel 
)

◆ initinfiltration()

template<class T >
void initinfiltration ( Param  XParam,
BlockP< T >  XBlock,
T *  h,
T *  initLoss,
T *  hgw 
)

◆ Initmaparray()

template<class T >
void Initmaparray ( Model< T > &  XModel)

◆ Initmaparray< double >()

template void Initmaparray< double > ( Model< double > &  XModel)

◆ Initmaparray< float >()

template void Initmaparray< float > ( Model< float > &  XModel)

◆ initoutput()

template<class T >
void initoutput ( Param XParam,
Model< T > &  XModel 
)

◆ Initoutzone()

template<class T >
void Initoutzone ( Param XParam,
BlockP< T > &  XBlock 
)

◆ Initoutzone< double >()

template void Initoutzone< double > ( Param XParam,
BlockP< double > &  XBlock 
)

◆ Initoutzone< float >()

template void Initoutzone< float > ( Param XParam,
BlockP< float > &  XBlock 
)

◆ InitRivers()

template<class T >
void InitRivers ( Param  XParam,
Forcing< float > &  XForcing,
Model< T > &  XModel 
)

◆ InitRivers< double >()

template void InitRivers< double > ( Param  XParam,
Forcing< float > &  XForcing,
Model< double > &  XModel 
)

◆ InitRivers< float >()

template void InitRivers< float > ( Param  XParam,
Forcing< float > &  XForcing,
Model< float > &  XModel 
)

◆ InitTSOutput()

void InitTSOutput ( Param  XParam)

◆ InitzbgradientCPU()

template<class T >
void InitzbgradientCPU ( Param  XParam,
Model< T >  XModel 
)

◆ InitzbgradientCPU< double >()

template void InitzbgradientCPU< double > ( Param  XParam,
Model< double >  XModel 
)

◆ InitzbgradientCPU< float >()

template void InitzbgradientCPU< float > ( Param  XParam,
Model< float >  XModel 
)

◆ InitzbgradientGPU()

template<class T >
void InitzbgradientGPU ( Param  XParam,
Model< T >  XModel 
)

◆ InitzbgradientGPU< double >()

template void InitzbgradientGPU< double > ( Param  XParam,
Model< double >  XModel 
)

◆ InitzbgradientGPU< float >()

template void InitzbgradientGPU< float > ( Param  XParam,
Model< float >  XModel 
)

◆ RectCornerBlk()

template<class T >
RectCornerBlk ( Param XParam,
BlockP< T > &  XBlock,
double  xo,
double  yo,
double  xmax,
double  ymax,
bool  isEps,
std::vector< int > &  cornerblk 
)

Find the block containing the border of a rectangular box (used for the defining the output zones) The indice of the blocks are returned through "cornerblk" from bottom left turning in the clockwise direction