1076 Commits

Author SHA1 Message Date
93342fb333 SOURCES: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:32:37 -02:00
9a93239240 SHAPES: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:32:08 -02:00
54f5a6084f SCHEMES: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:31:30 -02:00
da1a8e3d9f REFINEMENT: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:30:45 -02:00
49208321b6 RANDOM: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:30:07 -02:00
c877fa6481 PROBLEMS: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:29:32 -02:00
bb5d8da088 INTERPOLATIONS: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:27:22 -02:00
d8c2331bfe INTEGRALS: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:26:23 -02:00
f392c1644c GRAVITY: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:25:38 -02:00
a853f0b700 EVOLUTION: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:24:53 -02:00
927642bf3e EQUATIONS: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:23:55 -02:00
419cf04363 DOMAINS: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:22:01 -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
e634ef1583 BOUNDARIES: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:19:15 -02:00
305ed8ed13 IO: Replace explicit calls to get_parameter_*() with unified one.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:17:10 -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
9c5841d9f3 PARAMETERS: Add interface for get_parameter_*() subroutines.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 21:05:12 -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
6fbd567130 IO: Implement subroutine to read parameters from the restart snapshots.
If we run a job from a restart snapshot and modify some of the
parameters in the parameter file, this could lead to problems. Some
parameters, like the set of equations, equation of state, or block
dimensions, simply cannot be modified. Therefore, any such parameter,
modifies in the parameter file, should be overwritten with the value
from the restart snapshot. The purpose of these subroutines is to read
these parameters from restart snapshots.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 18:19:31 -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
ec79b9eeca PARAMETERS: Print the name of parameter file in a consistent way.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 14:58:17 -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