diff --git a/README b/README index ccbb7cfeb178bccd9333ef14071efadebe9eec1c..75bb3b25526e78e50cb21f43cc65ddc051f382bb 100644 --- a/README +++ b/README @@ -43,6 +43,7 @@ Parameters: --limiter Run with time-step limiter. --sync Run with time-step synchronization of particles hit by feedback events. + --logger Run with the particle logger. Simulation meta-options: diff --git a/README.md b/README.md index c9b373be64dcde03732b63c1bc2190102fe0c2ec..b09f3d2c84346d0b3e9c58356dba15c4b06dd4fb 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,8 @@ Parameters: --limiter Run with time-step limiter. --sync Run with time-step synchronization of particles hit by feedback events. + --logger Run with the particle logger. + Simulation meta-options: --eagle Run with all the options needed for the diff --git a/doc/RTD/source/CommandLineOptions/index.rst b/doc/RTD/source/CommandLineOptions/index.rst index f7cadd1f3a1f049392c1465f4bbc23065a562d67..b9bec3f52f11b481c5210fa2d324eb4dddeb7b1e 100644 --- a/doc/RTD/source/CommandLineOptions/index.rst +++ b/doc/RTD/source/CommandLineOptions/index.rst @@ -40,6 +40,8 @@ can be found by typing ``./swift -h``: --limiter Run with time-step limiter. --sync Run with time-step synchronization of particles hit by feedback events. + --logger Run with the particle logger. + Simulation meta-options: --eagle Run with all the options needed for the diff --git a/examples/main.c b/examples/main.c index 5da86de221c6edef96f09125d29b039abd30af6f..7f1e9bb0f04a3ec53bc3dfa867c0e6d02f8598c0 100644 --- a/examples/main.c +++ b/examples/main.c @@ -228,6 +228,8 @@ int main(int argc, char *argv[]) { "Run with time-step synchronization of particles hit by " "feedback events.", NULL, 0, 0), + OPT_BOOLEAN(0, "logger", &with_logger, "Run with the particle logger.", + NULL, 0, 0), OPT_GROUP(" Simulation meta-options:\n"), OPT_BOOLEAN( @@ -253,8 +255,6 @@ int main(int argc, char *argv[]) { "Overwrite the CPU " "frequency (Hz) to be used for time measurements.", NULL, 0, 0), - OPT_BOOLEAN(0, "logger", &with_logger, "Run with the particle logger.", - NULL, 0, 0), OPT_INTEGER('n', "steps", &nsteps, "Execute a fixed number of time steps. When unset use the " "time_end parameter to stop.",