shamrock.utils.disc_setup.StandardDisc#
- class shamrock.utils.disc_setup.StandardDisc(units: UnitSystem, center_mass: float, disc_mass: float, rin: float, rout: float, H_r_0: float = 0.05, q: float = 0.5, p: float = 1.5, r0: float = 1.0, H_factor: float = 1.0, rotation: Literal['keplerian', 'subkeplerian', 'subkeplerian_3d'] = 'subkeplerian', inner_tapering: bool = False, outer_tapering: bool = False)#
Bases:
objectLocally isothermal LP07 disc profiles and Monte Carlo generator helper.
All radii and masses are expressed in the provided code unit system.
Methods
Get the sound speed at the reference radius.
Get the profiles of the disc.
Make a SPH generator for the disc.
Get the mass of a single particle from the total mass & number of particles.
Attributes
H_factorH_r_0inner_taperingouter_taperingpqr0rotationunitscenter_massdisc_massrinrout- get_profiles() DiscProfiles#
Get the profiles of the disc.