22 bool checklevel(
int ib,
int levelib,
int neighbourib,
int levelneighbour);
33 template <
class T>
bool checkneighbourdistance(
double dx,
int ib,
int levelib, T blocko,
int neighbourib,
int levelneighbour, T neighbourblocko,
bool rightortop );
bool checklevel(int ib, int levelib, int neighbourib, int levelneighbour)
Definition: Adaptation.cu:335
void coarsen(Param XParam, BlockP< T > &XBlock, AdaptP &XAdapt, EvolvingP< T > XEvo, EvolvingP< T > &XEv)
Definition: Adaptation.cu:592
void Adaptation(Param &XParam, Forcing< float > XForcing, Model< T > &XModel)
Definition: Adaptation.cu:8
int CalcAvailblk(Param &XParam, BlockP< T > XBlock, AdaptP &XAdapt)
Definition: Adaptation.cu:467
bool checkneighbourdistance(double dx, int ib, int levelib, T blocko, int neighbourib, int levelneighbour, T neighbourblocko, bool rightortop)
Definition: Adaptation.cu:346
void refine(Param XParam, BlockP< T > &XBlock, AdaptP &XAdapt, EvolvingP< T > XEvo, EvolvingP< T > &XEv)
Definition: Adaptation.cu:923
void InitialAdaptation(Param &XParam, Forcing< float > &XForcing, Model< T > &XModel)
Definition: Adaptation.cu:103
void Adaptationcleanup(Param &XParam, BlockP< T > &XBlock, AdaptP &XAdapt)
Definition: Adaptation.cu:1704
bool checkBUQsanity(Param XParam, BlockP< T > XBlock)
Definition: Adaptation.cu:287
bool refinesanitycheck(Param XParam, BlockP< T > XBlock, bool *&refine, bool *&coarsen)
Definition: Adaptation.cu:127
void Adapt(Param &XParam, Forcing< float > XForcing, Model< T > &XModel)
Definition: Adaptation.cu:375
int AddBlocks(int nnewblk, Param &XParam, Model< T > &XModel)
Definition: Adaptation.cu:532
int checkneighbourrefine(int neighbourib, int levelib, int levelneighbour, bool *&refine, bool *&coarsen)
Definition: Adaptation.cu:265
Definition: Forcing.h:116