Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed May 27, 2024
1 parent c51b779 commit 023a1ac
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions man/man1/mcluster.1
Original file line number Diff line number Diff line change
Expand Up @@ -157,35 +157,37 @@ radius of 2 pc, consisting of 1000 stars. For parameters
which are not specified default values are taken, which can be
changed within the code.


.nf -N 1000 -R 0.8 -P 1 -W 3.0 -f 1 -B 100 -o test1
mcluster -f 2 -m 0.08 -a -1.35 -m 0.5 -a -2.7 -m 100.0
mcluster -t 3 -X 8500 -X 0 -X 0 -V 0 -V 220 -V 0
mcluster -D 1.6 -Q 0.4 -P -1
.fi
.EX
mcluster -N 1000 -R 0.8 -P 1 -W 3.0 -f 1 -B 100 -o test1
mcluster -f 2 -m 0.08 -a -1.35 -m 0.5 -a -2.7 -m 100.0
mcluster -t 3 -X 8500 -X 0 -X 0 -V 0 -V 220 -V 0
mcluster -D 1.6 -Q 0.4 -P -1
.EE
Since units are not virial units, data need to be scaled. The data is in
solar-mass, parsec and km/s, thus the mass-scale should be 0.0043032 to make it
to virial units (see also units(1NEMO)). Otherwise auto-scaling can be done via NEMO routines.
Here's an example of setting up a plummer sphere, re-virializing them for \fIhackcode1(1NEMO)\fP
and some example plotting of the results:
.nf

mcluster -o plummer1
tabcomment plummer1.txt - delete=t > plummer1.tab
tabtos plummer1.tab plummer1.dat block1=m,pos,vel
hackforce plummer1.dat plummer1.datf
snapvirial plummer1.datf plummer1.datv mscale=t rscale=f vscale=f virial=1
hackcode1 plummer1.datv plummer1.out tstop=10 freqout=100 freq=200
snapdiagplot plummer1.out
snapmradii plummer1.out 0.01,0.1:0.9:0.1,0.99 | tabplot - 1 2:11 line=1,1 color=2,3::8,4
.EX
mcluster -o plummer1
tabcomment plummer1.txt - delete=t > plummer1.tab
tabtos plummer1.tab plummer1.dat block1=m,pos,vel
hackforce plummer1.dat plummer1.datf
snapvirial plummer1.datf plummer1.datv mscale=t rscale=f vscale=f virial=1
hackcode1 plummer1.datv plummer1.out tstop=10 freqout=100 freq=200
napdiagplot plummer1.out
snapmradii plummer1.out 0.01,0.1:0.9:0.1,0.99 |\\
tabplot - 1 2:11 line=1,1 color=2,3::8,4
.fi
.EE

.SH "INSTALL"
Within NEMO this is a non-standard install via "mknemo mcluster"

.SH "SEE ALSO"
mkplummer(1NEMO)
mkplummer(1NEMO), mkplum(1falcON), snapshot(5NEMO)
.PP
Kuepper A.H.W., Maschberger T., Kroupa P., Baumgardt H., 2011, MNRAS, 417, 2300
"Mass segregation and fractal substructure in young massive clusters:
Expand All @@ -203,11 +205,11 @@ Andreas H.W. Kuepper
.SH "FILES"
.nf
.ta +3.0i
~/usr/kuepper/mcluster source code + manual
~/usr/kuepper/mcluster source code + manual, README
.fi

.SH "HISTORY"
.nf
.ta +1.5i +5.5i
.ta +1.25i +4.5i
2-dec-2017 man page added to NEMO PJT
.fi

0 comments on commit 023a1ac

Please sign in to comment.