In the second version of falcON the HDF5 format was adopted, which we document here.
HDF5 "sim32.h5" { FILE_CONTENTS { group / dataset /history group /snapshot0 group /snapshot0/std dataset /snapshot0/std/acc dataset /snapshot0/std/mass dataset /snapshot0/std/pos dataset /snapshot0/std/pot dataset /snapshot0/std/vel group /snapshot1 group /snapshot1/std dataset /snapshot1/std/acc dataset /snapshot1/std/mass dataset /snapshot1/std/pos dataset /snapshot1/std/pot dataset /snapshot1/std/vel } }
and with attributes the following hierarchy from h5dump in abbreviated DDL notation:
GROUP "/" { ATTRIBUTE "falcON" { ATTRIBUTE "num_snapshots" { DATASET "history" { GROUP "snapshot0" { ATTRIBUTE "Nstd" { ATTRIBUTE "time" { GROUP "std" { ATTRIBUTE "N" { DATASET "acc" { DATASET "mass" { DATASET "pos" { DATASET "pot" { DATASET "vel" { GROUP "snapshot1" {
Although h5dump(1) provides a human readable version of a binary HDF file, the dump(1FALCON) program presents a view similar to tsf(1NEMO) , as shown in this example:
$ mksphere plum32.h5! model=Plummer nbody=32 $ griffin in=plum32.h5 out=sim32.h5! tau=2^-4 fpa=0.002 eps=0.1 tstop=1 logfile=sim32.log error=0.0001 $ dump sim32.h5
falcON = 1.7.1 history = "[Fri Apr 19 19:17:01
2024] mksphere plum32.h5! model=Plummer nbody=32 (version 3.6.1)"
"[Fri Apr 19 19:17:11 2024] griffin in=plum32.h5 out=sim32.h5! tau=2^-4 fpa=0.002
eps=0.1 tstop=1 logfile=sim32.log error=0.0001 (version 0.3.14)"
num_snapshots = 2 snapshot 0 time = 0; Nstd = 32
std particles
N = 32
pot (32) = -0.582861 -0.726016 -0.389024 -0.611265 -0.276467 -0.705942
-0.491554 -0.691435 -0.332174 -0.788165 -0.519628 -0.725853 -0.430449
-0.625536 -0.196348 -0.556199 -0.137574 -0.740651 -0.402583 -0.816317
-0.495621 -0.634114 -0.303099 -0.737658 -0.464991 -0.587125 -0.23796
pos (32) = [-1.30477 1.59788e-16 0] [-1.29043e-16 -0.702476 -0.405575]
[1.15331e-16 1.88349 1.08744] [0.486825 -0.486825 -0.780658]
[-2.24382 2.24382 0.819326] [0.395285 0.395285 -0.144338]
[-0.771013 -0.771013 1.23637] [-0.791278 -0.327758 0.346461]
...
mass (32) = 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125
0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125
0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125
0.03125 0.03125 0.03125 0.03125 0.03125 0.03125
vel (32) = [-7.22837e-33 -5.90241e-17 0.481969]
[0.403077 0.201539 0.116358] [0.456809 0.228404 0.131869]
[0.155023 0.475764 -0.417175] [0.416389 -0.119249 0.119206]
[0.193513 0.675701 0.193444] [-0.0480904 0.0156698 -0.0421682]
...
acc (32) = [0.32083 -0.0112188 -0.0184059] [-0.0932003 0.296048 0.227969]
[0.00853122 -0.126 -0.0768895] [-0.180052 0.0678517 0.199119]
[0.0551343 -0.0512566 -0.0223483] [-0.157876 -0.199445 0.159103]
[0.124049 0.0825911 -0.223872] [0.256451 0.0889881 -0.154401]
...
snapshot 1 time = 1; Nstd = 32
std particles
N = 32
pot (32) = -0.618002 -0.786589 -0.361516 -0.587616 -0.295027 -0.669429
-0.569104 -0.6505 -0.351975 -0.705964 -0.667719 -0.846236 -0.416774
-0.986498 -0.197287 -0.630425 -0.134941 -0.710523 -0.35856 -0.841618
-0.534201 -0.598186 -0.348707 -1.0678 -0.536123 -0.545163 -0.24961
pos (32) = [-1.14101 -0.03909 0.464122] [0.326501 -0.397253 -0.170146]
[0.458034 2.05142 1.18194] [0.562977 0.0118288 -1.10467]
[-1.79996 2.09736 0.926678] [0.536184 0.999743 0.0809756]
[-0.757446 -0.703243 1.07971] [-1.11369 -0.556328 0.245352]
...
mass (32) = 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125
0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125
0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125 0.03125
0.03125 0.03125 0.03125 0.03125 0.03125 0.03125
vel (32) = [0.323057 -0.111517 0.430622] [0.197023 0.374033 0.378631]
[0.456169 0.109536 0.0576914] [0.000412509 0.521012 -0.229446]
[0.471232 -0.175269 0.0948215] [0.0872689 0.585029 0.210832]
[0.0761121 0.133259 -0.2836] [-0.164091 -0.137038 -0.128511]
...
acc (32) = [0.300666 -0.197046 -0.0962015] [-0.397339 0.0414103 0.278135]
[-0.0100325 -0.112867 -0.0730783] [-0.158876 0.0724233 0.217668]
[0.0547108 -0.0609015 -0.0264919] [-0.136617 0.222926 -0.245603]
[0.129818 0.181242 -0.315043] [0.37082 0.170534 -0.00381759]
...
19-apr-2024 Created PJT