Open
Description
Describe the bug
In the 'Kolb' scheme, the switching of the donor star does not occur when the accretor fills the Roche lobe initiating a reverse mass transfer. The accretor can expand arbitrarily..
To Reproduce
Evolve two stars with close masses q~0.95 and proper period.
Use 'Kolb' scheme
Expected behavior
subroutine set_donor_star is able to correctly identify the donor regardless of the mdot scheme being used.
Relevant code
In binary_evolve.f90, subroutine set_donor_star:
224 if (b% mdot_scheme == "roche_lobe" .and. &
239 else if (b% mdot_scheme == "contact" .and. &