4 Commits

Author SHA1 Message Date
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
572ef0f503 COORDINATES: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:21:17 -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
f8b65842af Move source files from src/ to sources/.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 09:14:20 -02:00