Skip to content

Commit 5365d8e

Browse files
poojanagrawalkatiebreivik
authored andcommitted
fixed lum, r etc. of kw=15 stars for binary_type 9 (COSMIC-PopSynth#638)
1 parent 980a123 commit 5365d8e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/cosmic/src/evolv2.f

+8
Original file line numberDiff line numberDiff line change
@@ -4258,10 +4258,18 @@ SUBROUTINE evolv2(kstar,mass,tb,ecc,z,tphysf,
42584258
kmax = 1
42594259
rol(2) = -1.d0*rad(2)
42604260
dtmi(2) = tphysf
4261+
CALL hrdiag(mass0(2),aj(2),mass(2),tms(2),tn,tscls,lums,GB,
4262+
& zpars,rad(2),lumin(2),kstar(2),massc(2),radc(2),
4263+
& menv(2),renv(2),k2str(2),bhspin(2),2)
4264+
4265+
42614266
elseif(kstar(1).eq.15)then
42624267
kmin = 2
42634268
rol(1) = -1.d0*rad(1)
42644269
dtmi(1) = tphysf
4270+
CALL hrdiag(mass0(1),aj(1),mass(1),tms(1),tn,tscls,lums,GB,
4271+
& zpars,rad(1),lumin(1),kstar(1),massc(1),radc(1),
4272+
& menv(1),renv(1),k2str(1),bhspin(1),1)
42654273
endif
42664274
* Makes sure coalesced NSs are reset. PK.
42674275
if(kstar(1).eq.13.and.ecc.le.1.d0.and.pulsar.gt.0.and.

0 commit comments

Comments
 (0)