HTML automatically generated with rman
Table of Contents
snapmody - convert snapshot to Mody’s pos-vel files
modysnap
[parameter=value]
snapmody converts snapshot-style datasets from
the n-mody MOND N-body integrator to a standard NEMO snapshot(5NEMO)
.
It
is also automatically called by runmond(1NEMO)
to convert the input conditions,
from snapshot(5NEMO)
format, into the format that the rmond program understands.
Note: this program is forced to convert to single precision, even if the
input dataset is in double precision.
Output files from QuMond are the same
as MODY files, except they don’t carry a header.
The following
parameters are recognized in any order if the keyword is also given:
- in=
- Input snapshot file. No default. No default.
- out=
- Output mody pos-vel file
(moutXX.bin style).
- out2=
- If given, this NEMO history of the input dataset
is written here. Default: none
- swap=t|f
- Swap bytes in each int/float if endianism
differs . Not implemented yet.
- header=t|f
- Write a header? Needed for MODY
style, but e.g. QuMOND only carries particle information. Default: true
Will
only process the first snapshot.
rungb, rmond, runmond(1NEMO)
, modysnap(1NEMO)
,
snapshot(5NEMO)
$NEMO/src/nbody/io/snapmody.c -- code
Peter Teuben
25-Feb-09 V1.0 Created
10-mar-09 V1.1 added out2= PJT
10-jun-11 V1.2 added header= PJT
Table of Contents