Skip to content
Snippets Groups Projects
Commit 1e60dff0 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Change the other Sedov examples to also use the limiter and a longer maximal time-step size.

parent a6542ff0
No related branches found
No related tags found
1 merge request!701Timestep limiter upgrade
......@@ -13,7 +13,7 @@ then
fi
# Run SWIFT
../swift --hydro --threads=1 sedov.yml 2>&1 | tee output.log
../swift --hydro --limiter --threads=1 sedov.yml 2>&1 | tee output.log
# Plot the solution
python plotSolution.py 5
......@@ -11,7 +11,7 @@ TimeIntegration:
time_begin: 0. # The starting time of the simulation (in internal units).
time_end: 5e-2 # The end time of the simulation (in internal units).
dt_min: 1e-7 # The minimal time-step size of the simulation (in internal units).
dt_max: 1e-4 # The maximal time-step size of the simulation (in internal units).
dt_max: 1e-2 # The maximal time-step size of the simulation (in internal units).
# Parameters governing the snapshots
Snapshots:
......
......@@ -13,7 +13,7 @@ then
fi
# Run SWIFT
../swift --hydro --threads=4 sedov.yml 2>&1 | tee output.log
../swift --hydro --limiter --threads=4 sedov.yml 2>&1 | tee output.log
# Plot the solution
python plotSolution.py 5
......@@ -11,7 +11,7 @@ TimeIntegration:
time_begin: 0. # The starting time of the simulation (in internal units).
time_end: 5e-2 # The end time of the simulation (in internal units).
dt_min: 1e-7 # The minimal time-step size of the simulation (in internal units).
dt_max: 1e-4 # The maximal time-step size of the simulation (in internal units).
dt_max: 1e-2 # The maximal time-step size of the simulation (in internal units).
# Parameters governing the snapshots
Snapshots:
......
......@@ -538,8 +538,6 @@ void engine_make_hierarchical_tasks_common(struct engine *e, struct cell *c) {
/* Make sure it is not run before kick2 */
scheduler_addunlock(s, c->timestep, c->timestep_limiter);
scheduler_addunlock(s, c->timestep_limiter, c->kick1);
} else {
scheduler_addunlock(s, c->kick2, c->timestep);
}
#if defined(WITH_LOGGER)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment