0f0e14dfed
DRIVER: Organize IO and mesh initialization and finalization.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-29 11:02:57 -02:00
220e881b58
DRIVER: Initialize evolution, schemes, interpolations after shapes.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-29 10:56:20 -02:00
908b94c482
DRIVER: Initialize shapes after refinement.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-29 10:52:08 -02:00
86bf933f05
DRIVER: Initialize refinement after boundaries.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-29 10:47:47 -02:00
e045c30e1a
DRIVER: Initialize blocks and boundaries after coordinates.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-29 10:45:50 -02:00
2a6062cbd5
DRIVER, COORDINATES, IO: Pass more fixed parameters to initialize_coordinates().
...
Parameters such block dimensions, the base level dimensions, or the
domain extrema cannot be modified when the job is restarted, so read
them from the restart snapshots.
Also add new subroutine to IO read integer vector attribute from the
HDF5 snapshots.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-29 10:38:16 -02:00
b0953016a5
DRIVER, SOURCES: Initialize sources after equations.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-29 10:05:36 -02:00
4aa92643ab
DRIVER, PROBLEMS, IO: Initiate problems earlier.
...
Also store the problem name in the restart snapshot.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-29 09:59:09 -02:00
2ae8cd14f1
DRIVER: Move initialize_equations() to be called earlier.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-29 09:25:15 -02:00
bdddceae06
DRIVER: Print timings at the end and remove error info.
...
The error info is not complete and probably broken. It should be
rewritten.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 22:25:41 -02:00
e884804f8c
DRIVER: Replace explicit calls to get_parameter_*() with unified one.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:06:32 -02:00
26bf99d4c1
DRIVER, EQUATIONS: Reset eqsys and eos for restarted jobs.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 20:21:38 -02:00
fc5db6dd29
DRIVER, IO, COORDINATES: Reset toplev for restarted jobs.
...
If the job was restart with different maxlev, then
initialize_coordinates() has to know about it, so it generate
appropriate coordinates.
Read maxlev from the restart snapshot, if the job was restarted, and set
toplev as the maximum value between the previous and current maxlev.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 18:56:39 -02:00
01276925ee
DRIVER: Add flag to identify if the run is for restarted job.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 15:53:50 -02:00
4f7248533f
DRIVER, PARAMETERS: Log problems with parameters file in error output.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 15:45:35 -02:00
cf8f0e8003
MPITOOLS: Implement the return flag for initialize_mpitools().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 15:30:52 -02:00
50cf1b57b7
DRIVER: Print parallelization info just after the code intro.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 15:03:19 -02:00
f8b65842af
Move source files from src/ to sources/.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 09:14:20 -02:00