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

Functions

template<class T >
void MainLoop (Param &XParam, Forcing< float > XForcing, Model< T > &XModel, Model< T > &XModel_g)
 
template void MainLoop< float > (Param &XParam, Forcing< float > XForcing, Model< float > &XModel, Model< float > &XModel_g)
 
template void MainLoop< double > (Param &XParam, Forcing< float > XForcing, Model< double > &XModel, Model< double > &XModel_g)
 
template<class T >
void DebugLoop (Param &XParam, Forcing< float > XForcing, Model< T > &XModel, Model< T > &XModel_g)
 
template void DebugLoop< float > (Param &XParam, Forcing< float > XForcing, Model< float > &XModel, Model< float > &XModel_g)
 
template void DebugLoop< double > (Param &XParam, Forcing< float > XForcing, Model< double > &XModel, Model< double > &XModel_g)
 
template<class T >
Loop< T > InitLoop (Param &XParam, Model< T > &XModel)
 
template<class T >
void updateBnd (Param XParam, Loop< T > XLoop, Forcing< float > XForcing, Model< T > XModel, Model< T > XModel_g)
 
template<class T >
void mapoutput (Param XParam, Loop< T > &XLoop, Model< T > XModel, Model< T > XModel_g)
 
template<class T >
void pointoutputstep (Param XParam, Loop< T > &XLoop, Model< T > XModel, Model< T > XModel_g)
 
template<class T >
__global__ void storeTSout (Param XParam, int noutnodes, int outnode, int istep, int blknode, int inode, int jnode, int *blkTS, EvolvingP< T > XEv, T *store)
 
template<class T >
__host__ double initdt (Param XParam, Loop< T > XLoop, Model< T > XModel)
 
template __host__ double initdt< float > (Param XParam, Loop< float > XLoop, Model< float > XModel)
 
template __host__ double initdt< double > (Param XParam, Loop< double > XLoop, Model< double > XModel)
 
template<class T >
__host__ void CalcInitdtCPU (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEvolv, T *dtmax)
 
template<class T >
__global__ void CalcInitdtGPU (Param XParam, BlockP< T > XBlock, EvolvingP< T > XEvolv, T *dtmax)
 
template<class T >
void printstatus (T totaltime, T dt)
 
template<class T >
void CrashDetection (Param &XParam, Loop< T > XLoop, Model< T > XModel, Model< T > XModel_g)
 

Function Documentation

◆ CalcInitdtCPU()

template<class T >
__host__ void CalcInitdtCPU ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEvolv,
T *  dtmax 
)

◆ CalcInitdtGPU()

template<class T >
__global__ void CalcInitdtGPU ( Param  XParam,
BlockP< T >  XBlock,
EvolvingP< T >  XEvolv,
T *  dtmax 
)

◆ CrashDetection()

template<class T >
void CrashDetection ( Param XParam,
Loop< T >  XLoop,
Model< T >  XModel,
Model< T >  XModel_g 
)

◆ DebugLoop()

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

Debugging loop This function was crated to debug to properly wrap the debug flow engine of the model

◆ DebugLoop< double >()

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

◆ DebugLoop< float >()

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

◆ initdt()

template<class T >
__host__ double initdt ( Param  XParam,
Loop< T >  XLoop,
Model< T >  XModel 
)

◆ initdt< double >()

template __host__ double initdt< double > ( Param  XParam,
Loop< double >  XLoop,
Model< double >  XModel 
)

◆ initdt< float >()

template __host__ double initdt< float > ( Param  XParam,
Loop< float >  XLoop,
Model< float >  XModel 
)

◆ InitLoop()

template<class T >
Loop<T> InitLoop ( Param XParam,
Model< T > &  XModel 
)

◆ MainLoop()

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

◆ MainLoop< double >()

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

◆ MainLoop< float >()

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

◆ mapoutput()

template<class T >
void mapoutput ( Param  XParam,
Loop< T > &  XLoop,
Model< T >  XModel,
Model< T >  XModel_g 
)

◆ pointoutputstep()

template<class T >
void pointoutputstep ( Param  XParam,
Loop< T > &  XLoop,
Model< T >  XModel,
Model< T >  XModel_g 
)

◆ printstatus()

template<class T >
void printstatus ( totaltime,
dt 
)

◆ storeTSout()

template<class T >
__global__ void storeTSout ( Param  XParam,
int  noutnodes,
int  outnode,
int  istep,
int  blknode,
int  inode,
int  jnode,
int *  blkTS,
EvolvingP< T >  XEv,
T *  store 
)

◆ updateBnd()

template<class T >
void updateBnd ( Param  XParam,
Loop< T >  XLoop,
Forcing< float >  XForcing,
Model< T >  XModel,
Model< T >  XModel_g 
)