This HTML automatically generated with rman for NEMO
Table of Contents
snapipdist - some stats on interparticle distances
snapipdist
[parameter=value]
This program will brute force compute for
each particle the distance to the nearest particle. It will report the two
particle ID’s and the distance. Optionally the input coordinates can also
be reported. By default the particle ID is just the ordinal (0..N-1), but with
key=t the stored particle Key can be used instead.
In a future version we
may offer more options. See also snapkmean(1NEMO)
for finding clumps
The
following parameters are recognized in any order if the keyword is also
given:
- in=
- Input file (snapshot) [???]
- times=
- Times of snapshot [all]
- pos=t|f
- Show x,y,z as well? [f]
If you want a sorted list
of the nearest particle distance, sort the 3rd column:
mkplummer - 4 seed=123 | snapipdist - | sort -n +2
2 3 0.345923
3 2 0.345923
0 3 1.08003
1 2 4.58542
which shows that particles 2 and 3 are close neighbors.
snapstat(1NEMO)
,
snapkmean(1NEMO)
, snapkey(1NEMO)
, snapshot(5NEMO)
Peter Teuben
24-Jun-20 V0.1 Created PJT
Table of Contents