@@ -1318,7 +1318,7 @@ SUBROUTINE evolv2(kstar,mass,tb,ecc,z,tphysf,
1318
1318
& bacc(1),bacc(2),tacc(1),tacc(2),epoch(1),
1319
1319
& epoch(2),bhspin(1),bhspin(2))
1320
1320
CALL kick(kw,mass(k),mt,0.d0,0.d0,-1.d0,0.d0,vk,k,
1321
- & 0.d0,fallback,sigmahold,kick_info,disrupt,bkick)
1321
+ & 0.d0,fallback,sigmahold,kick_info,disrupt,bkick)
1322
1322
1323
1323
sigma = sigmahold !reset sigma after possible ECSN kick dist. Remove this if u want some kick link to the intial pulsar values...
1324
1324
* set kick values for the bcm array
@@ -1398,11 +1398,14 @@ SUBROUTINE evolv2(kstar,mass,tb,ecc,z,tphysf,
1398
1398
mass0(k) = m0
1399
1399
epoch(k) = tphys - age
1400
1400
endif
1401
+
1401
1402
*
1402
1403
*
1403
1404
* Force new NS or BH to have a birth spin peirod and magnetic field.
1404
- *
1405
+ *
1405
1406
if(kstar(k).eq.13.or.kstar(k).eq.14)then
1407
+ * re-calculate the Eddington limit of the newly formed CO
1408
+ dme = 2.08d-03*eddfac*(1.d0/(1.d0 + zpars(11)))*rad(k)
1406
1409
if(tphys-epoch(k).lt.tiny)then
1407
1410
if(kstar(k).eq.13.and.pulsar.gt.0)then
1408
1411
* write(93,*)'birth start: ',tphys,k,B_0(k),ospin(k)
@@ -1903,6 +1906,7 @@ SUBROUTINE evolv2(kstar,mass,tb,ecc,z,tphysf,
1903
1906
* Eddington limit for accretion on to the secondary in one orbit.
1904
1907
*
1905
1908
8 dme = 2.08d-03 * eddfac* (1.d0 / (1.d0 + zpars(11 )))* rad(j2)* tb
1909
+
1906
1910
supedd = .false.
1907
1911
novae = .false.
1908
1912
disk = .false.
@@ -2909,6 +2913,7 @@ SUBROUTINE evolv2(kstar,mass,tb,ecc,z,tphysf,
2909
2913
dm2 = km* dm2
2910
2914
dm22 = km* dm22
2911
2915
dme = km* dme
2916
+
2912
2917
*
2913
2918
* Calculate orbital angular momentum change due to system mass loss.
2914
2919
*
@@ -3647,6 +3652,7 @@ SUBROUTINE evolv2(kstar,mass,tb,ecc,z,tphysf,
3647
3652
& bacc(1),bacc(2),tacc(1),tacc(2),epoch(1),
3648
3653
& epoch(2),bhspin(1),bhspin(2))
3649
3654
endif
3655
+
3650
3656
*
3651
3657
* Test whether the primary still fills its Roche lobe.
3652
3658
*
0 commit comments