Step function for the mass-loss rate.
When used for the dust mass-loss rate, requires the inner radius of
the dust shell to be given as r0.
Can be used also for the gas mass-loss rate with a step anywhere in
the wind This is not a smooth transition.
At r < r0: rate_inner, at r >= r0: rate.
- Parameters:
r (array/float) - r grid (can be array or float)
rate (float) - The dust mass-loss rate from r0 onward
r0 (float) - The dust condensation radius
rate_inner (float) - The mass-loss rate in the inner region at r<r0. Default
typically used for the dust mass-loss rate, with r0 the
condensation radius.
(default: 0.0)
- Returns: array
- The dust mass-loss rate profile as a function of r
|