BG_Flood  0.8
Documentation (Work-in-progress)
Mainloop.h
Go to the documentation of this file.
1 #ifndef MAINLOOP_H
2 #define MAINLOOP_H
3 
4 #include "General.h"
5 #include "Param.h"
6 #include "Arrays.h"
7 #include "Forcing.h"
8 #include "Mesh.h"
9 #include "Write_netcdf.h"
10 #include "InitialConditions.h"
11 #include "MemManagement.h"
12 #include "Boundary.h"
13 #include "FlowGPU.h"
14 #include "FlowCPU.h"
15 #include "Meanmax.h"
16 #include "Updateforcing.h"
17 
18 template <class T> void MainLoop(Param& XParam, Forcing<float> XForcing, Model<T>& XModel, Model<T>& XModel_g);
19 
20 template <class T> void DebugLoop(Param& XParam, Forcing<float> XForcing, Model<T>& XModel, Model<T>& XModel_g);
21 
22 template <class T> __host__ double initdt(Param XParam, Loop<T> XLoop, Model<T> XModel);
23 
24 template <class T> Loop<T> InitLoop(Param& XParam, Model<T>& XModel);
25 
26 template <class T> void printstatus(T totaltime, T dt);
27 
28 
29 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);
30 
31 
32 // End of global definition
33 #endif
void MainLoop(Param &XParam, Forcing< float > XForcing, Model< T > &XModel, Model< T > &XModel_g)
Definition: Mainloop.cu:5
__global__ void storeTSout(Param XParam, int noutnodes, int outnode, int istep, int blknode, int inode, int jnode, int *blkTS, EvolvingP< T > XEv, T *store)
Definition: Mainloop.cu:354
void printstatus(T totaltime, T dt)
Definition: Mainloop.cu:464
__host__ double initdt(Param XParam, Loop< T > XLoop, Model< T > XModel)
Definition: Mainloop.cu:382
void DebugLoop(Param &XParam, Forcing< float > XForcing, Model< T > &XModel, Model< T > &XModel_g)
Definition: Mainloop.cu:80
Loop< T > InitLoop(Param &XParam, Model< T > &XModel)
Definition: Mainloop.cu:168
Definition: Param.h:10
Definition: Arrays.h:29
Definition: Forcing.h:116
Definition: Arrays.h:203
Definition: Arrays.h:151