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>
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>