BG_Flood  0.8
Documentation (Work-in-progress)
Meanmax.h
Go to the documentation of this file.
1 
2 #ifndef MEANMAX_H
3 #define MEANMAX_H
4 
5 #include "General.h"
6 #include "Param.h"
7 #include "Arrays.h"
8 #include "Forcing.h"
9 #include "MemManagement.h"
10 #include "FlowGPU.h"
11 
12 
13 template <class T> void Calcmeanmax(Param XParam, Loop<T>& XLoop, Model<T> XModel, Model<T> XModel_g);
14 template <class T> void resetmeanmax(Param XParam, Loop<T>& XLoop, Model<T> XModel, Model<T> XModel_g);
15 template <class T> void Initmeanmax(Param XParam, Loop<T> XLoop, Model<T> XModel, Model<T> XModel_g);
16 template <class T> void resetvalGPU(Param XParam, BlockP<T> XBlock, T*& var, T val);
17 
18 
19 template <class T> __global__ void addavg_varGPU(Param XParam, BlockP<T> XBlock, T* Varmean, T* Var);
20 template <class T> __global__ void divavg_varGPU(Param XParam, BlockP<T> XBlock, T ntdiv, T* Varmean);
21 template <class T> __global__ void addUandhU_GPU(Param XParam, BlockP<T> XBlock, T* h, T* u, T* v, T* U, T* hU);
22 template <class T> __global__ void max_varGPU(Param XParam, BlockP<T> XBlock, T* Varmax, T* Var);
23 template <class T> __global__ void max_Norm_GPU(Param XParam, BlockP<T> XBlock, T* Varmax, T* Var1, T* Var2);
24 template <class T> __global__ void max_hU_GPU(Param XParam, BlockP<T> XBlock, T* Varmax, T* Var1, T* Var2, T* Var3);
25 template <class T> __global__ void addwettime_GPU(Param XParam, BlockP<T> XBlock, T* wett, T* h, T thresold, T time);
26 
27 // End of global definition
28 #endif
__global__ void addwettime_GPU(Param XParam, BlockP< T > XBlock, T *wett, T *h, T thresold, T time)
Definition: Meanmax.cu:482
__global__ void divavg_varGPU(Param XParam, BlockP< T > XBlock, T ntdiv, T *Varmean)
Definition: Meanmax.cu:294
__global__ void addavg_varGPU(Param XParam, BlockP< T > XBlock, T *Varmean, T *Var)
Definition: Meanmax.cu:256
__global__ void max_Norm_GPU(Param XParam, BlockP< T > XBlock, T *Varmax, T *Var1, T *Var2)
Definition: Meanmax.cu:384
void Initmeanmax(Param XParam, Loop< T > XLoop, Model< T > XModel, Model< T > XModel_g)
Definition: Meanmax.cu:155
__global__ void addUandhU_GPU(Param XParam, BlockP< T > XBlock, T *h, T *u, T *v, T *U, T *hU)
Definition: Meanmax.cu:330
void resetvalGPU(Param XParam, BlockP< T > XBlock, T *&var, T val)
Definition: Meanmax.cu:243
void Calcmeanmax(Param XParam, Loop< T > &XLoop, Model< T > XModel, Model< T > XModel_g)
Definition: Meanmax.cu:5
void resetmeanmax(Param XParam, Loop< T > &XLoop, Model< T > XModel, Model< T > XModel_g)
Definition: Meanmax.cu:104
__global__ void max_varGPU(Param XParam, BlockP< T > XBlock, T *Varmax, T *Var)
Definition: Meanmax.cu:368
__global__ void max_hU_GPU(Param XParam, BlockP< T > XBlock, T *Varmax, T *Var1, T *Var2, T *Var3)
Definition: Meanmax.cu:402
Definition: Param.h:10
Definition: Arrays.h:86
Definition: Arrays.h:203
Definition: Arrays.h:151