Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
3dd27763
Commit
3dd27763
authored
Jul 05, 2016
by
Peter W. Draper
Browse files
Whoops first step is -1, so don't use that
parent
a87a6cd6
Changes
2
Hide whitespace changes
Inline
Side-by-side
README
View file @
3dd27763
...
...
@@ -26,8 +26,8 @@ Valid options are:
-f {int} Overwrite the CPU frequency (Hz) to be used for time measurements
-g Run with an external gravitational potential
-G Run with self-gravity
-n {int} Execute a fixed number of time steps.
Defaults to -1, which means
use the time_end
parameter to stop.
-n {int} Execute a fixed number of time steps.
When unset use the time_end
parameter to stop.
-s Run with SPH
-t {int} The number of threads to use on each MPI rank. Defaults to 1 if not specified.
-v [12] Increase the level of verbosity 1: MPI-rank 0 writes
...
...
examples/main.c
View file @
3dd27763
...
...
@@ -139,7 +139,7 @@ int main(int argc, char *argv[]) {
int
with_aff
=
0
;
int
dry_run
=
0
;
int
dump_tasks
=
0
;
int
nsteps
=
-
1
;
int
nsteps
=
-
2
;
int
with_cosmology
=
0
;
int
with_external_gravity
=
0
;
int
with_self_gravity
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment