BG_Flood code maps #64
CyprienBosserelle
started this conversation in
Show and tell
Replies: 1 comment
-
Main workThe main work function deals with initiallising and preparing a simulation. CPU vs GPUthe model is automatically setup on the CPU first and then copied on the GPU for the rest of the simulation. Workflow graph TD;
rf[read forcing]-->cps[check param sanity];
cps-->rd[read param];
rd-->im[Init mesh];
im-->icond[Initial conditions]
icond-->adapt[Initial adaptation]
adapt-->gpu[Setup GPU]
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
BG_Flood
The main code workflow is as below. The user specified param file is read and that guides whether the code runs a double or single precision simulation. once the model is setup either the code goes ahead the main loop or goes through a test which either applies to the simulation already initialised or totally independant (which test depends on what is done).
Beta Was this translation helpful? Give feedback.
All reactions