2 REAL*8 FUNCTION corerd(KW,MC,M0,MFLASH)
14 REAL*8 mc,mch,m0,mflash
15 parameter(mch = 1.44d0)
26 ELSEIF(kw.LE.1.OR.kw.EQ.7)
THEN
31 ELSEIF(kw.EQ.4.OR.kw.EQ.5.OR.(kw.LE.3.AND.m0.GT.mflash))
THEN
32 corerd = 0.2239d0*mc**0.62d0
37 corerd = 0.0115d0*sqrt(max(1.48204d-06,(mch/mc)**(2.d0/3.d0)
38 & - (mc/mch)**(2.d0/3.d0)))