PLUMIX ------- package for generating of a mass segregated star cluster. It consists of two programs: mufu ---- generates a set of masses according to specified parameters of the mass function and writes it to the standard output plumix ------ reads numbers -- masses of individual stars -- on its standard input and generates a mass segregated cluster, writing it to files 'n6.pos' and 'n6.check'. The first one is a list of stellar masses, positions and velocities in the format suitable for Sverre Aarseth's NBODYx code; the latter one is a human-readable dump of most of the quantities used in the code. All quantities are in 'NBODY' units; total energy of the cluster is implicitely set to 0.5. For details see 'A new method to create initially mass segregated star clusters in virial equilibrium', by Subr, Kroupa & Baumgardt, 2008 Compilation ----------- Provided you have standard (GNU) development tools installed on your computer, simply type 'make' in the directory where the sorce code (plumix.c, mufu.c, rand.h, rand.c and Makefile) is saved. If everything goes well, binaries 'mufu' and 'plumix' should be the output of the compilation. Usage ----- Type 'mufu -h' and 'plumix -h' for available options. A standard hacker's usage would look like: mufu -N 1000 -m 0.1 -a -2.35 -m 100 | plumix -v -S 0.25 If something goes wrong, the procedure may be done in two steps for better debugging. First run 'mufu' and redirect its output to standard file, check it and then supply to 'plumix': mufu -N 1000 -m 0.1 -a -2.35 -m 100 > mufu.out cat mufu.out | plumix -v -S 0.25 L.