COSMIC-PopSynth / COSMIC

COSMIC (Compact Object Synthesis and Monte Carlo Investigation Code)
GNU General Public License v3.0
45 stars 58 forks source link

RTMSFLAG #592

Closed kulvi90 closed 11 months ago

kulvi90 commented 11 months ago

Added new flag (rtmsflag) to take the metallicity effects into account while calculating the stellar radius at the main-sequence turnoff (rams). All the relevant functions for the calculations are in zfuncs.f file.

rtmsflag = 0 -> uses the sse rtms for M < 200M_sun and extrapolation for z < 0.0008 and M>200m_sun. rtmsflag = 1 -> interpolates the rtms from Boost tracks (Szécsi et al. (2022)). Extrapolation is used after M > 575 M_sun. rtmsflag = 2 -> uses the best-fit power law for rtms vs stellar mass from BPASSv2.2 tracks (Stanway & Eldridge (2018)). rtms data for BPASS tracks is available only till 300 m_sun and beyond that we follow the fitted power law profile.

katiebreivik commented 11 months ago

Thanks @kulvi90! This is great!