ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2407.012] Fof: Friends-of-friends code to find groups

Fof uses the friends-of-friends method to find groups. A particle belongs to a friends-of-friends group if it is within some linking length of any other particle in the group. After all such groups are found, those with less than a specified minimum number of group members are rejected. The program takes input files in the TIPSY (ascl:1111.015) binary format and produces a single ASCII output file called fof.grp. This output file is in the TIPSY array format and contains the group number to which each particle belongs. A group number of zero means that the particle does not belong to a group. The fof.grp file can be read in by TIPSY and used to color each particle by group number to visualize the groups. Simulations with periodic boundary conditions can also be handled by fof by specifying the period in each dimension on the command line.

Code site:
https://github.com/N-BodyShop/fof https://faculty.washington.edu/trq/hpcc/tools/fof.html
Used in:
https://ui.adsabs.harvard.edu/abs/2016MNRAS.459.2118K
Bibcode:
2024ascl.soft07012N

Views: 459

ascl:2407.012
Add this shield to your page
Copy the above HTML to add this shield to your code's website.