&binary_job

   inlist_names(1) = 'inlist1' 
   inlist_names(2) = 'inlist2'

   evolve_both_stars = .true.

/ ! end of binary_job namelist

&binary_controls
         
   m1 = 20.0d0  ! donor mass in Msun
   m2 = 12.0d0 ! companion mass in Msun
   initial_period_in_days = 100d0
   
   history_name = 'binary_history.data'

   ! Orbital angular momentum controls
   do_jdot_mb = .false.     ! Magnetic braking around accretor
   do_jdot_gr = .false.     ! Gravitational radiation taken into account
   do_jdot_ml = .true.      ! Mass loss, see mechanisms applied in mass_transfer_*
   ! we do not model rotation anyway, hence:
   do_j_accretion = .false. ! accretion of angular momentum 
   do_tidal_sync = .false.  ! tides


   ! Mass transfer efficiency controls
   mass_transfer_alpha = 0d0      ! fraction of mass lost from the vicinity of donor as fast wind
   mass_transfer_beta = 0d0       ! fraction of mass lost from the vicinity of accretor as fast wind
   mass_transfer_delta = 0d0      ! fraction of mass lost from circumbinary coplanar toroid
   mass_transfer_gamma = 0d0    ! radius of the circumbinary coplanar toroid is ``gamma**2 * orbital_separation``

   !transfer efficiency controls
   limit_retention_by_mdot_edd = .false.

   ! Mass transfer scheme
   mdot_scheme = "Kolb" 

   fr = 0.2 !0.05        ! change of relative Roche lobe gap (default 0.01)
   fr_dt_limit = 5d2     ! Mimumum timestep limit allowed for fr in years
   fj = 0.05             ! change of orbital angular momentum
   fm = 0.05   ! default 0.01, envelope mass
   fdm = 0.05  ! default 0.005, fractional mass change of either star
   fa = 0.05   ! default 0.01, binary separation

   fdm_hard = 0.1

   min_mdot_for_implicit = 1d-7
   implicit_scheme_tolerance = 1d-1
   max_tries_to_achieve = 50
   report_rlo_solver_progress = .false.

   accretor_overflow_terminate = 1d99 ! something to play with to avoid contact in models with higher accretion efficiency
         
/ ! end of binary_controls namelist

