BG_Flood  0.8
Documentation (Work-in-progress)
AdaptCriteria.h
Go to the documentation of this file.
1 
2 #ifndef ADAPTCRITERIA_H
3 #define ADAPTCRITERIA_H
4 
5 #include "General.h"
6 #include "Param.h"
7 #include "Write_txtlog.h"
8 #include "Util_CPU.h"
9 #include "Arrays.h"
10 #include "Mesh.h"
11 #include "Halo.h"
12 #include "GridManip.h"
13 
14 template <class T> int inrangecriteria(Param XParam, T zmin, T zmax, T* z, BlockP<T> XBlock, bool* refine, bool* coarsen);
15 template <class T> int Thresholdcriteria(Param XParam, T threshold, T* z, BlockP<T> XBlock, bool* refine, bool* coarsen);
16 template <class T> int AdaptCriteria(Param XParam, Forcing<float> XForcing, Model<T> XModel);
17 
18 
19 
20 
21 // End of global definition
22 #endif
int AdaptCriteria(Param XParam, Forcing< float > XForcing, Model< T > XModel)
Definition: AdaptCriteria.cu:7
int inrangecriteria(Param XParam, T zmin, T zmax, T *z, BlockP< T > XBlock, bool *refine, bool *coarsen)
Definition: AdaptCriteria.cu:92
int Thresholdcriteria(Param XParam, T threshold, T *z, BlockP< T > XBlock, bool *refine, bool *coarsen)
Definition: AdaptCriteria.cu:38
void coarsen(Param XParam, BlockP< T > &XBlock, AdaptP &XAdapt, EvolvingP< T > XEvo, EvolvingP< T > &XEv)
Definition: Adaptation.cu:592
void refine(Param XParam, BlockP< T > &XBlock, AdaptP &XAdapt, EvolvingP< T > XEvo, EvolvingP< T > &XEv)
Definition: Adaptation.cu:923
Definition: Param.h:10
Definition: Arrays.h:86
Definition: Forcing.h:116
Definition: Arrays.h:151