$ OMP_NUM_THREADS=128 ./miluph
Usage ./miluph [options]
sph program.
Available options:
-h, --help This message.
-V, --version Print out version number.
-v, --verbose Be talkative (stdout).
-g, --grav Include self gravitation (default is no).
-a, --theta Value for the Barnes-Hut theta criterion (allowed values 0 <= theta <= 0.99). No default. If
not set, pp-gravity is used.
-n, --num Number of simulation steps.
-I, --integrator Type of time integration scheme: implemented are euler, rk2, rk2_adaptive, pc, defaults to
rk2_adaptive.
-T, --starttime Time of simulation start.
-t, --timeperstep Time for one simulation step.
-F, --firsttimestep First time step size before adaptive integrator takes over (default 1).
-D, --dt Fixed time step size. (default: not used, CFL or adaptive instead, depending on integrator)
-m, --materials Name of material constants file (default: materialconstants.data).
-s, --scenario Name of the scenario constants file (default: materialscenario.data).
-f, --filename Name of input data file (default: disk.0000).
Input data file name format is something like 'string'.XXXX, where
XXXX means runlevel and zeros.
-o, --threadio Use extra thread to write output file (needs more mem).
-H, --hdf5_output Use hdf5 for output (default is FALSE). Implies --threadio.
-X, --hdf5_input Use hdf5 for input (default is FALSE).
-Y, --format Print information about input and output format of the data files.
-R, --restart Input file is an old miluph output file, which has a different format.
-r, --rdump Specify dump file name if run is to be continued from a dump file.
The values of -t, -D, -g are read from the dump file, but can be
overridden on the command line. If -r is specified, the file name
given in the -f option ('string'.XXXX) will be interpreted as the output file
name with XXXX replaced by the next runlevel from the dump file.
-b, --blevel Specify 'binary level' (default value is 0):
0: do not write binary files
1: write binary dump files at the start and after the last simulation step.
Backups are kept to ensure a valid dump in case the program crashes.
2: write binary dump files at the start and after each simulation step.
3: write binary dump files at the start and after each step, suppress text files.
If 'string'.XXXX is specified in -f, the binary files will be called
'string'.bin.XXXX.start (the start file) and 'string'.bin.XXXX, respectively.
File format is 'x y [z] v_x v_y [v_z] mass [rho] [e] [material_type] [number_of_flaws] [damage] [S_xx [S_xy S_xz]]
[[flaw_1] ... [flaw_number_of_flaws]]'.
File output format is 'x y [z] v_x v_y [v_z] mass [rho] [e] [hsml] [noi] [material_type] [number_of_flaws]
[number_of_activated_flaws] [local_strain] [damage] [p] [S_xx [S_xy S_xz]] [[flaw_1] ... [flaw_number_of_flaws]]'.
authors: Christoph Schaefer & Thomas Maindl.