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

Updated the README for the new runtime options

parent bb7ed0d1
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,7 @@ Parameters: ...@@ -43,6 +43,7 @@ Parameters:
--limiter Run with time-step limiter. --limiter Run with time-step limiter.
--sync Run with time-step synchronization --sync Run with time-step synchronization
of particles hit by feedback events. of particles hit by feedback events.
--logger Run with the particle logger.
Simulation meta-options: Simulation meta-options:
... ...
......
...@@ -94,6 +94,8 @@ Parameters: ...@@ -94,6 +94,8 @@ Parameters:
--limiter Run with time-step limiter. --limiter Run with time-step limiter.
--sync Run with time-step synchronization --sync Run with time-step synchronization
of particles hit by feedback events. of particles hit by feedback events.
--logger Run with the particle logger.
Simulation meta-options: Simulation meta-options:
--eagle Run with all the options needed for the --eagle Run with all the options needed for the
... ...
......
...@@ -40,6 +40,8 @@ can be found by typing ``./swift -h``: ...@@ -40,6 +40,8 @@ can be found by typing ``./swift -h``:
--limiter Run with time-step limiter. --limiter Run with time-step limiter.
--sync Run with time-step synchronization --sync Run with time-step synchronization
of particles hit by feedback events. of particles hit by feedback events.
--logger Run with the particle logger.
Simulation meta-options: Simulation meta-options:
--eagle Run with all the options needed for the --eagle Run with all the options needed for the
... ...
......
...@@ -228,6 +228,8 @@ int main(int argc, char *argv[]) { ...@@ -228,6 +228,8 @@ int main(int argc, char *argv[]) {
"Run with time-step synchronization of particles hit by " "Run with time-step synchronization of particles hit by "
"feedback events.", "feedback events.",
NULL, 0, 0), NULL, 0, 0),
OPT_BOOLEAN(0, "logger", &with_logger, "Run with the particle logger.",
NULL, 0, 0),
OPT_GROUP(" Simulation meta-options:\n"), OPT_GROUP(" Simulation meta-options:\n"),
OPT_BOOLEAN( OPT_BOOLEAN(
...@@ -253,8 +255,6 @@ int main(int argc, char *argv[]) { ...@@ -253,8 +255,6 @@ int main(int argc, char *argv[]) {
"Overwrite the CPU " "Overwrite the CPU "
"frequency (Hz) to be used for time measurements.", "frequency (Hz) to be used for time measurements.",
NULL, 0, 0), NULL, 0, 0),
OPT_BOOLEAN(0, "logger", &with_logger, "Run with the particle logger.",
NULL, 0, 0),
OPT_INTEGER('n', "steps", &nsteps, OPT_INTEGER('n', "steps", &nsteps,
"Execute a fixed number of time steps. When unset use the " "Execute a fixed number of time steps. When unset use the "
"time_end parameter to stop.", "time_end parameter to stop.",
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment