Getting mocassin
The latest version of mocassin is 2.02.73.2, released on 15 February 2019. For the change log, see the what's new page in the manual. The code can be viewed at github.com/rwesson/mocassin (and please note that this is the only repository on github maintained by anyone connected with mocassin).
Pre-compiled binaries
Users of Debian, Ubuntu or Linux Mint from 2017 or later can install mocassin by going to apt://mocassin. If that link does not work, or if you prefer installing from the command line, do
sudo apt install mocassin
If that gives you "E: Unable to locate package mocassin
", then on Ubuntu (14.04 and newer) or Linux Mint (17 and newer), you can install it from the nebulousresearch Personal Package Archive:
sudo add-apt-repository ppa:nebulousresearch/ppa && sudo apt update sudo apt install mocassin
Compile from source
Other users will need to build mocassin from source. Mocassin depends on MPICH, which is available in many package management systems or can be compiled from source. See mpich.org.
With MPICH installed, to get mocassin compiled:
- download and unpack the source code: mocassin.2.02.73.2.tar.gz.
- (optional) the default installation prefix is
/usr
- edit the makefile if you need to change this, such as on a mac where it may need to be/usr/local
- type
make sudo make install
X-ray mocassin and voronoi mocassin
X-ray enabled mocassin (Ercolano et al. 2008) and voronoi mocassin (Hubber et al. 2016) are not yet available via Debian or the PPA but can be compiled from source in the same way as the standard mocassin. The source codes are available on github:
Model atmospheres for ionising stars
Model atmospheres suitable for use in mocassin models have been calculated by Kaschinski et al. (2013, MNRAS, 431, 493). A grid of 16 models can be downloaded as a tar file (CSPN_Grid.tar.gz, 1.6Mb). It covers all combinations of:
- log g = 3.9, 4.9
- T = 20, 30, 40, 50kK (log g=3.9), 60, 70, 80, 90kK (log g=4.9)
- Effect of shocks: included, excluded
Individual models can be downloaded from the links below:
Stellar radius | Log(g) | Teff (kK) | Shocks included? | file |
---|---|---|---|---|
2.2RO | 3.9 | 20 | ✔ | Logg3.9_R2.2/shock_T20k.dat |
2.2RO | 3.9 | 20 | × | Logg3.9_R2.2/noshock_T20k.dat |
2.2RO | 3.9 | 30 | ✔ | Logg3.9_R2.2/shock_T30k.dat |
2.2RO | 3.9 | 30 | × | Logg3.9_R2.2/noshock_T30k.dat |
2.2RO | 3.9 | 40 | ✔ | Logg3.9_R2.2/shock_T40k.dat |
2.2RO | 3.9 | 40 | × | Logg3.9_R2.2/noshock_T40k.dat |
2.2RO | 3.9 | 50 | ✔ | Logg3.9_R2.2/shock_T50k.dat |
2.2RO | 3.9 | 50 | × | Logg3.9_R2.2/noshock_T50k.dat |
2.2RO | 4.9 | 60 | ✔ | Logg4.9_R2.2/shock_T60k.dat |
2.2RO | 4.9 | 60 | × | Logg4.9_R2.2/noshock_T60k.dat |
2.2RO | 4.9 | 70 | ✔ | Logg4.9_R2.2/shock_T70k.dat |
2.2RO | 4.9 | 70 | × | Logg4.9_R2.2/noshock_T70k.dat |
2.2RO | 4.9 | 80 | ✔ | Logg4.9_R2.2/shock_T80k.dat |
2.2RO | 4.9 | 80 | × | Logg4.9_R2.2/noshock_T80k.dat |
2.2RO | 4.9 | 90 | ✔ | Logg4.9_R2.2/shock_T90k.dat |
2.2RO | 4.9 | 90 | × | Logg4.9_R2.2/noshock_T90k.dat |