C C There are a total of 114 entries in the algebraic variable array. C There are a total of 39 entries in each of the rate and state variable arrays. C There are a total of 124 entries in the constant variable array. C C C ALGBRC(10) is I_app in component Protocol (uA_per_uF). C VOI is time in component environment (msec). C STATES(1) is V_m in component membrane_potential (mV). C CONSTS(1) is epi in component parameters (dimensionless). C CONSTS(2) is R in component parameters (joule_per_kelvin_per_kilomole). C CONSTS(96) is Frdy in component parameters (coulomb_per_mole). C CONSTS(106) is Temp in component parameters (kelvin). C CONSTS(110) is FoRT in component parameters (per_mV). C CONSTS(3) is Cmem in component parameters (farad). C CONSTS(111) is Qpow in component parameters (dimensionless). C CONSTS(4) is cellLength in component parameters (um). C CONSTS(97) is cellRadius in component parameters (um). C CONSTS(5) is junctionLength in component parameters (um). C CONSTS(98) is junctionRadius in component parameters (um). C CONSTS(6) is distSLcyto in component parameters (um). C CONSTS(7) is distJuncSL in component parameters (um). C CONSTS(8) is DcaJuncSL in component parameters (cm2_per_sec). C CONSTS(9) is DcaSLcyto in component parameters (cm2_per_sec). C CONSTS(10) is DnaJuncSL in component parameters (cm2_per_sec). C CONSTS(11) is DnaSLcyto in component parameters (cm2_per_sec). C CONSTS(107) is Vcell in component parameters (liter). C CONSTS(112) is Vmyo in component parameters (liter). C CONSTS(113) is Vsr in component parameters (liter). C CONSTS(114) is Vsl in component parameters (liter). C CONSTS(115) is Vjunc in component parameters (liter). C CONSTS(108) is SAjunc in component parameters (um2). C CONSTS(109) is SAsl in component parameters (um2). C CONSTS(12) is J_ca_juncsl in component parameters (liters_per_msec). C CONSTS(13) is J_ca_slmyo in component parameters (liters_per_msec). C CONSTS(14) is J_na_juncsl in component parameters (liters_per_msec). C CONSTS(15) is J_na_slmyo in component parameters (liters_per_msec). C CONSTS(16) is Fjunc in component parameters (dimensionless). C CONSTS(99) is Fsl in component parameters (dimensionless). C CONSTS(17) is Fjunc_CaL in component parameters (dimensionless). C CONSTS(100) is Fsl_CaL in component parameters (dimensionless). C CONSTS(116) is Cli in component parameters (mM). C CONSTS(117) is Clo in component parameters (mM). C CONSTS(18) is Ko in component parameters (mM). C CONSTS(19) is Nao in component parameters (mM). C CONSTS(20) is Cao in component parameters (mM). C CONSTS(21) is Mgi in component parameters (mM). C ALGBRC(23) is ena_junc in component parameters (mV). C ALGBRC(27) is ena_sl in component parameters (mV). C ALGBRC(31) is ek in component parameters (mV). C ALGBRC(33) is eca_junc in component parameters (mV). C ALGBRC(34) is eca_sl in component parameters (mV). C CONSTS(123) is ecl in component parameters (mV). C CONSTS(22) is GNa in component parameters (mS_per_uF). C CONSTS(23) is GNaB in component parameters (mS_per_uF). C CONSTS(24) is IbarNaK in component parameters (uA_per_uF). C CONSTS(25) is KmNaip in component parameters (mM). C CONSTS(26) is KmKo in component parameters (mM). C CONSTS(27) is Q10NaK in component parameters (dimensionless). C CONSTS(28) is Q10KmNai in component parameters (dimensionless). C CONSTS(29) is pNaK in component parameters (dimensionless). C CONSTS(30) is gkp in component parameters (mS_per_uF). C CONSTS(31) is GClCa in component parameters (mS_per_uF). C CONSTS(32) is GClB in component parameters (mS_per_uF). C CONSTS(33) is KdClCa in component parameters (mM). C CONSTS(34) is pNa in component parameters (cm_per_sec). C CONSTS(35) is pCa in component parameters (cm_per_sec). C CONSTS(36) is pK in component parameters (cm_per_sec). C CONSTS(37) is Q10CaL in component parameters (dimensionless). C CONSTS(38) is IbarNCX in component parameters (uA_per_uF). C CONSTS(39) is KmCai in component parameters (mM). C CONSTS(40) is KmCao in component parameters (mM). C CONSTS(41) is KmNai in component parameters (mM). C CONSTS(42) is KmNao in component parameters (mM). C CONSTS(43) is ksat in component parameters (dimensionless). C CONSTS(44) is nu in component parameters (dimensionless). C CONSTS(45) is Kdact in component parameters (mM). C CONSTS(46) is Q10NCX in component parameters (dimensionless). C CONSTS(47) is IbarSLCaP in component parameters (uA_per_uF). C CONSTS(48) is KmPCa in component parameters (mM). C CONSTS(49) is GCaB in component parameters (mS_per_uF). C CONSTS(50) is Q10SLCaP in component parameters (dimensionless). C CONSTS(51) is Q10SRCaP in component parameters (dimensionless). C CONSTS(52) is Vmax_SRCaP in component parameters (mM_per_msec). C CONSTS(53) is Kmf in component parameters (mM). C CONSTS(54) is Kmr in component parameters (mM). C CONSTS(55) is hillSRCaP in component parameters (dimensionless). C CONSTS(56) is ks in component parameters (per_msec). C CONSTS(57) is koCa in component parameters (per_mM2_per_msec). C CONSTS(58) is kom in component parameters (per_msec). C CONSTS(105) is kiCa in component parameters (per_mM_per_msec). C CONSTS(59) is kim in component parameters (per_msec). C CONSTS(60) is ec50SR in component parameters (mM). C CONSTS(61) is Bmax_Naj in component parameters (mM). C CONSTS(62) is Bmax_Nasl in component parameters (mM). C CONSTS(63) is koff_na in component parameters (per_msec). C CONSTS(64) is kon_na in component parameters (per_mM_per_msec). C CONSTS(65) is Bmax_TnClow in component parameters (mM). C CONSTS(66) is koff_tncl in component parameters (per_msec). C CONSTS(67) is kon_tncl in component parameters (per_mM_per_msec). C CONSTS(68) is Bmax_TnChigh in component parameters (mM). C CONSTS(69) is koff_tnchca in component parameters (per_msec). C CONSTS(70) is kon_tnchca in component parameters (per_mM_per_msec). C CONSTS(71) is koff_tnchmg in component parameters (per_msec). C CONSTS(72) is kon_tnchmg in component parameters (per_mM_per_msec). C CONSTS(73) is Bmax_CaM in component parameters (mM). C CONSTS(74) is koff_cam in component parameters (per_msec). C CONSTS(75) is kon_cam in component parameters (per_mM_per_msec). C CONSTS(76) is Bmax_myosin in component parameters (mM). C CONSTS(77) is koff_myoca in component parameters (per_msec). C CONSTS(78) is kon_myoca in component parameters (per_mM_per_msec). C CONSTS(79) is koff_myomg in component parameters (per_msec). C CONSTS(80) is kon_myomg in component parameters (per_mM_per_msec). C CONSTS(81) is Bmax_SR in component parameters (mM). C CONSTS(82) is koff_sr in component parameters (per_msec). C CONSTS(83) is kon_sr in component parameters (per_mM_per_msec). C CONSTS(118) is Bmax_SLlowsl in component parameters (mM). C CONSTS(119) is Bmax_SLlowj in component parameters (mM). C CONSTS(84) is koff_sll in component parameters (per_msec). C CONSTS(85) is kon_sll in component parameters (per_mM_per_msec). C CONSTS(120) is Bmax_SLhighsl in component parameters (mM). C CONSTS(121) is Bmax_SLhighj in component parameters (mM). C CONSTS(86) is koff_slh in component parameters (per_msec). C CONSTS(87) is kon_slh in component parameters (per_mM_per_msec). C CONSTS(122) is Bmax_Csqn in component parameters (mM). C CONSTS(88) is koff_csqn in component parameters (per_msec). C CONSTS(89) is kon_csqn in component parameters (per_mM_per_msec). C STATES(2) is Na_j in component Na_Concentrations (mM). C STATES(3) is Na_sl in component Na_Concentrations (mM). C STATES(4) is K_i in component K_Concentration (mM). C STATES(5) is Ca_j in component Ca_Concentrations (mM). C STATES(6) is Ca_sl in component Ca_Concentrations (mM). C ALGBRC(1) is mss in component I_Na (dimensionless). C ALGBRC(12) is taum in component I_Na (msec). C ALGBRC(2) is ah in component I_Na (dimensionless). C ALGBRC(13) is bh in component I_Na (dimensionless). C ALGBRC(25) is tauh in component I_Na (msec). C ALGBRC(29) is hss in component I_Na (dimensionless). C ALGBRC(3) is aj in component I_Na (dimensionless). C ALGBRC(14) is bj in component I_Na (dimensionless). C ALGBRC(26) is tauj in component I_Na (msec). C ALGBRC(30) is jss in component I_Na (dimensionless). C STATES(7) is m in component I_Na (dimensionless). C STATES(8) is h in component I_Na (dimensionless). C STATES(9) is j in component I_Na (dimensionless). C ALGBRC(35) is I_Na_junc in component I_Na (uA_per_uF). C ALGBRC(36) is I_Na_sl in component I_Na (uA_per_uF). C ALGBRC(37) is I_Na in component I_Na (uA_per_uF). C ALGBRC(38) is I_nabk_junc in component I_NaBK (uA_per_uF). C ALGBRC(39) is I_nabk_sl in component I_NaBK (uA_per_uF). C ALGBRC(40) is I_nabk in component I_NaBK (uA_per_uF). C CONSTS(101) is sigma in component I_NaK (dimensionless). C ALGBRC(41) is fnak in component I_NaK (dimensionless). C ALGBRC(42) is I_nak_junc in component I_NaK (uA_per_uF). C ALGBRC(43) is I_nak_sl in component I_NaK (uA_per_uF). C ALGBRC(44) is I_nak in component I_NaK (uA_per_uF). C CONSTS(102) is gkr in component I_Kr (mS_per_uF). C ALGBRC(4) is xrss in component I_Kr (dimensionless). C ALGBRC(15) is tauxr in component I_Kr (msec). C STATES(10) is x_kr in component I_Kr (dimensionless). C ALGBRC(45) is rkr in component I_Kr (dimensionless). C ALGBRC(46) is I_kr in component I_Kr (uA_per_uF). C ALGBRC(47) is kp_kp in component I_Kp (dimensionless). C ALGBRC(48) is I_kp_junc in component I_Kp (uA_per_uF). C ALGBRC(49) is I_kp_sl in component I_Kp (uA_per_uF). C ALGBRC(50) is I_kp in component I_Kp (uA_per_uF). C ALGBRC(51) is eks in component I_Ks (mV). C CONSTS(90) is gks_junc in component I_Ks (mS_per_uF). C CONSTS(91) is gks_sl in component I_Ks (mS_per_uF). C ALGBRC(5) is xsss in component I_Ks (dimensionless). C ALGBRC(16) is tauxs in component I_Ks (msec). C STATES(11) is x_ks in component I_Ks (dimensionless). C ALGBRC(52) is I_ks_junc in component I_Ks (uA_per_uF). C ALGBRC(53) is I_ks_sl in component I_Ks (uA_per_uF). C ALGBRC(54) is I_ks in component I_Ks (uA_per_uF). C STATES(12) is Na_i in component Na_Concentrations (mM). C CONSTS(103) is GtoSlow in component I_to (mS_per_uF). C CONSTS(104) is GtoFast in component I_to (mS_per_uF). C ALGBRC(6) is xtoss in component I_to (dimensionless). C ALGBRC(7) is ytoss in component I_to (dimensionless). C ALGBRC(17) is tauxtos in component I_to (msec). C ALGBRC(18) is tauytos in component I_to (msec). C STATES(13) is x_to_s in component I_to (dimensionless). C STATES(14) is y_to_s in component I_to (dimensionless). C ALGBRC(55) is I_tos in component I_to (uA_per_uF). C ALGBRC(19) is tauxtof in component I_to (msec). C ALGBRC(20) is tauytof in component I_to (msec). C STATES(15) is x_to_f in component I_to (dimensionless). C STATES(16) is y_to_f in component I_to (dimensionless). C ALGBRC(56) is I_tof in component I_to (uA_per_uF). C ALGBRC(57) is I_to in component I_to (uA_per_uF). C ALGBRC(58) is aki in component I_Ki (dimensionless). C ALGBRC(59) is bki in component I_Ki (dimensionless). C ALGBRC(60) is kiss in component I_Ki (dimensionless). C ALGBRC(61) is I_ki in component I_Ki (uA_per_uF). C ALGBRC(62) is I_ClCa_junc in component I_ClCa (uA_per_uF). C ALGBRC(63) is I_ClCa_sl in component I_ClCa (uA_per_uF). C ALGBRC(64) is I_ClCa in component I_ClCa (uA_per_uF). C ALGBRC(65) is I_Clbk in component I_ClCa (uA_per_uF). C ALGBRC(8) is fss in component I_Ca (dimensionless). C ALGBRC(9) is dss in component I_Ca (dimensionless). C ALGBRC(21) is taud in component I_Ca (msec). C ALGBRC(22) is tauf in component I_Ca (msec). C STATES(17) is d in component I_Ca (dimensionless). C STATES(18) is f in component I_Ca (dimensionless). C STATES(19) is f_Ca_Bj in component I_Ca (dimensionless). C STATES(20) is f_Ca_Bsl in component I_Ca (dimensionless). C CONSTS(92) is fcaCaMSL in component I_Ca (dimensionless). C CONSTS(93) is fcaCaj in component I_Ca (dimensionless). C ALGBRC(66) is ibarca_j in component I_Ca (uA_per_uF). C ALGBRC(67) is ibarca_sl in component I_Ca (uA_per_uF). C ALGBRC(68) is ibark in component I_Ca (uA_per_uF). C ALGBRC(69) is ibarna_j in component I_Ca (uA_per_uF). C ALGBRC(70) is ibarna_sl in component I_Ca (uA_per_uF). C ALGBRC(71) is I_Ca_junc in component I_Ca (uA_per_uF). C ALGBRC(72) is I_Ca_sl in component I_Ca (uA_per_uF). C ALGBRC(73) is I_Ca in component I_Ca (uA_per_uF). C ALGBRC(74) is I_CaK in component I_Ca (uA_per_uF). C ALGBRC(75) is I_CaNa_junc in component I_Ca (uA_per_uF). C ALGBRC(76) is I_CaNa_sl in component I_Ca (uA_per_uF). C ALGBRC(77) is I_CaNa in component I_Ca (uA_per_uF). C ALGBRC(79) is I_Catot in component I_Ca (uA_per_uF). C ALGBRC(78) is Ka_junc in component I_NCX (dimensionless). C ALGBRC(80) is Ka_sl in component I_NCX (dimensionless). C ALGBRC(81) is s1_junc in component I_NCX (mM4). C ALGBRC(82) is s1_sl in component I_NCX (mM4). C ALGBRC(83) is s2_junc in component I_NCX (mM4). C ALGBRC(84) is s3_junc in component I_NCX (mM4). C ALGBRC(85) is s2_sl in component I_NCX (mM4). C ALGBRC(86) is s3_sl in component I_NCX (mM4). C ALGBRC(87) is I_ncx_junc in component I_NCX (uA_per_uF). C ALGBRC(88) is I_ncx_sl in component I_NCX (uA_per_uF). C ALGBRC(90) is I_ncx in component I_NCX (uA_per_uF). C ALGBRC(91) is I_pca_junc in component I_PCa (uA_per_uF). C ALGBRC(93) is I_pca_sl in component I_PCa (uA_per_uF). C ALGBRC(94) is I_pca in component I_PCa (uA_per_uF). C ALGBRC(95) is I_cabk_junc in component I_CaBK (uA_per_uF). C ALGBRC(96) is I_cabk_sl in component I_CaBK (uA_per_uF). C ALGBRC(97) is I_cabk in component I_CaBK (uA_per_uF). C CONSTS(94) is MaxSR in component SR_Fluxes (dimensionless). C CONSTS(95) is MinSR in component SR_Fluxes (dimensionless). C ALGBRC(11) is kCaSR in component SR_Fluxes (dimensionless). C ALGBRC(24) is koSRCa in component SR_Fluxes (per_mM2_per_msec). C ALGBRC(28) is kiSRCa in component SR_Fluxes (per_mM_per_msec). C ALGBRC(32) is RI in component SR_Fluxes (mM). C STATES(21) is Ry_Rr in component SR_Fluxes (mM). C STATES(22) is Ry_Ro in component SR_Fluxes (mM). C STATES(23) is Ry_Ri in component SR_Fluxes (mM). C ALGBRC(98) is J_SRCarel in component SR_Fluxes (mM_per_msec). C ALGBRC(99) is J_serca in component SR_Fluxes (mM_per_msec). C ALGBRC(100) is J_SRleak in component SR_Fluxes (mM_per_msec). C STATES(24) is Ca_sr in component SR_Ca_Concentrations (mM). C STATES(25) is Ca_i in component Ca_Concentrations (mM). C STATES(26) is Na_Bj in component Na_Buffers (mM). C STATES(27) is Na_Bsl in component Na_Buffers (mM). C ALGBRC(102) is dNa_Bj_dt in component Na_Buffers (mM_per_msec). C ALGBRC(103) is dNa_Bsl_dt in component Na_Buffers (mM_per_msec). C STATES(28) is Tn_CL in component Cytosolic_Ca_Buffers (mM). C STATES(29) is Tn_CHc in component Cytosolic_Ca_Buffers (mM). C STATES(30) is Tn_CHm in component Cytosolic_Ca_Buffers (mM). C STATES(31) is CaM in component Cytosolic_Ca_Buffers (mM). C STATES(32) is Myo_c in component Cytosolic_Ca_Buffers (mM). C STATES(33) is Myo_m in component Cytosolic_Ca_Buffers (mM). C STATES(34) is SRB in component Cytosolic_Ca_Buffers (mM). C ALGBRC(101) is J_CaB_cytosol in component Cytosolic_Ca_Buffers (mM_per_msec). C STATES(35) is SLL_j in component Junctional_and_SL_Ca_Buffers (mM). C STATES(36) is SLL_sl in component Junctional_and_SL_Ca_Buffers (mM). C STATES(37) is SLH_j in component Junctional_and_SL_Ca_Buffers (mM). C STATES(38) is SLH_sl in component Junctional_and_SL_Ca_Buffers (mM). C ALGBRC(104) is J_CaB_junction in component Junctional_and_SL_Ca_Buffers (mM_per_msec). C ALGBRC(105) is J_CaB_sl in component Junctional_and_SL_Ca_Buffers (mM_per_msec). C STATES(39) is Csqn_b in component SR_Ca_Concentrations (mM). C ALGBRC(106) is I_Na_tot_junc in component Na_Concentrations (uA_per_uF). C ALGBRC(107) is I_Na_tot_sl in component Na_Concentrations (uA_per_uF). C ALGBRC(92) is I_Na_tot_sl2 in component Na_Concentrations (uA_per_uF). C ALGBRC(89) is I_Na_tot_junc2 in component Na_Concentrations (uA_per_uF). C ALGBRC(108) is I_K_tot in component K_Concentration (uA_per_uF). C ALGBRC(109) is I_Ca_tot_junc in component Ca_Concentrations (uA_per_uF). C ALGBRC(110) is I_Ca_tot_sl in component Ca_Concentrations (uA_per_uF). C ALGBRC(111) is I_Na_tot in component membrane_potential (uA_per_uF). C ALGBRC(112) is I_Cl_tot in component membrane_potential (uA_per_uF). C ALGBRC(113) is I_Ca_tot in component membrane_potential (uA_per_uF). C ALGBRC(114) is I_tot in component membrane_potential (uA_per_uF). C RATES(7) is d/dt m in component I_Na (dimensionless). C RATES(8) is d/dt h in component I_Na (dimensionless). C RATES(9) is d/dt j in component I_Na (dimensionless). C RATES(10) is d/dt x_kr in component I_Kr (dimensionless). C RATES(11) is d/dt x_ks in component I_Ks (dimensionless). C RATES(13) is d/dt x_to_s in component I_to (dimensionless). C RATES(14) is d/dt y_to_s in component I_to (dimensionless). C RATES(15) is d/dt x_to_f in component I_to (dimensionless). C RATES(16) is d/dt y_to_f in component I_to (dimensionless). C RATES(17) is d/dt d in component I_Ca (dimensionless). C RATES(18) is d/dt f in component I_Ca (dimensionless). C RATES(19) is d/dt f_Ca_Bj in component I_Ca (dimensionless). C RATES(20) is d/dt f_Ca_Bsl in component I_Ca (dimensionless). C RATES(21) is d/dt Ry_Rr in component SR_Fluxes (mM). C RATES(22) is d/dt Ry_Ro in component SR_Fluxes (mM). C RATES(23) is d/dt Ry_Ri in component SR_Fluxes (mM). C RATES(26) is d/dt Na_Bj in component Na_Buffers (mM). C RATES(27) is d/dt Na_Bsl in component Na_Buffers (mM). C RATES(28) is d/dt Tn_CL in component Cytosolic_Ca_Buffers (mM). C RATES(29) is d/dt Tn_CHc in component Cytosolic_Ca_Buffers (mM). C RATES(30) is d/dt Tn_CHm in component Cytosolic_Ca_Buffers (mM). C RATES(31) is d/dt CaM in component Cytosolic_Ca_Buffers (mM). C RATES(32) is d/dt Myo_c in component Cytosolic_Ca_Buffers (mM). C RATES(33) is d/dt Myo_m in component Cytosolic_Ca_Buffers (mM). C RATES(34) is d/dt SRB in component Cytosolic_Ca_Buffers (mM). C RATES(35) is d/dt SLL_j in component Junctional_and_SL_Ca_Buffers (mM). C RATES(36) is d/dt SLL_sl in component Junctional_and_SL_Ca_Buffers (mM). C RATES(37) is d/dt SLH_j in component Junctional_and_SL_Ca_Buffers (mM). C RATES(38) is d/dt SLH_sl in component Junctional_and_SL_Ca_Buffers (mM). C RATES(39) is d/dt Csqn_b in component SR_Ca_Concentrations (mM). C RATES(24) is d/dt Ca_sr in component SR_Ca_Concentrations (mM). C RATES(2) is d/dt Na_j in component Na_Concentrations (mM). C RATES(3) is d/dt Na_sl in component Na_Concentrations (mM). C RATES(12) is d/dt Na_i in component Na_Concentrations (mM). C RATES(4) is d/dt K_i in component K_Concentration (mM). C RATES(5) is d/dt Ca_j in component Ca_Concentrations (mM). C RATES(6) is d/dt Ca_sl in component Ca_Concentrations (mM). C RATES(25) is d/dt Ca_i in component Ca_Concentrations (mM). C RATES(1) is d/dt V_m in component membrane_potential (mV). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) STATES(1) = -8.09763e1 STATES(2) = 9.06 STATES(3) = 9.06 STATES(4) = 120 STATES(5) = 1.737475e-4 STATES(6) = 1.031812e-4 STATES(7) = 1.405627e-3 STATES(8) = 9.867005e-1 STATES(9) = 9.91562e-1 STATES(10) = 8.641386e-3 STATES(11) = 5.412034e-3 STATES(12) = 9.06 STATES(13) = 4.051574e-3 STATES(14) = 9.945511e-1 STATES(15) = 4.051574e-3 STATES(16) = 9.945511e-1 STATES(17) = 7.175662e-6 STATES(18) = 1.000681 STATES(19) = 2.421991e-2 STATES(20) = 1.452605e-2 STATES(21) = 8.884332e-1 STATES(22) = 8.156628e-7 STATES(23) = 1.024274e-7 STATES(24) = 0.1e-1 STATES(25) = 8.597401e-5 STATES(26) = 3.539892 STATES(27) = 7.720854e-1 STATES(28) = 8.773191e-3 STATES(29) = 1.078283e-1 STATES(30) = 1.524002e-2 STATES(31) = 2.911916e-4 STATES(32) = 1.298754e-3 STATES(33) = 1.381982e-1 STATES(34) = 2.143165e-3 STATES(35) = 9.566355e-3 STATES(36) = 1.110363e-1 STATES(37) = 7.347888e-3 STATES(38) = 7.297378e-2 STATES(39) = 1.242988 CONSTS(1) = 1.00000 CONSTS(2) = 8314.00 CONSTS(3) = 1.38100e-10 CONSTS(4) = 100.000 CONSTS(5) = 0.160000 CONSTS(6) = 0.450000 CONSTS(7) = 0.500000 CONSTS(8) = 1.64000e-06 CONSTS(9) = 1.22000e-06 CONSTS(10) = 1.09000e-05 CONSTS(11) = 1.79000e-05 CONSTS(12) = 8.24130e-13 CONSTS(13) = 3.27430e-12 CONSTS(14) = 1.83130e-14 CONSTS(15) = 1.63860e-12 CONSTS(16) = 0.110000 CONSTS(17) = 0.900000 CONSTS(18) = 5.40000 CONSTS(19) = 140.000 CONSTS(20) = 1.80000 CONSTS(21) = 1.00000 CONSTS(22) = 23.0000 CONSTS(23) = 0.000597000 CONSTS(24) = 1.00000*1.80000 CONSTS(25) = 11.0000 CONSTS(26) = 1.50000 CONSTS(27) = 1.63000 CONSTS(28) = 1.39000 CONSTS(29) = 0.0183300 CONSTS(30) = 2.00000*0.00100000 CONSTS(31) = 0.500000*0.109625 CONSTS(32) = 1.00000*0.00900000 CONSTS(33) = 0.100000 CONSTS(34) = 0.500000*1.50000e-08 CONSTS(35) = 0.500000*0.000540000 CONSTS(36) = 0.500000*2.70000e-07 CONSTS(37) = 1.80000 CONSTS(38) = 1.00000*4.50000 CONSTS(39) = 0.00359000 CONSTS(40) = 1.30000 CONSTS(41) = 12.2900 CONSTS(42) = 87.5000 CONSTS(43) = 0.320000 CONSTS(44) = 0.270000 CONSTS(45) = 0.000150000 CONSTS(46) = 1.57000 CONSTS(47) = 0.0673000 CONSTS(48) = 0.000500000 CONSTS(49) = 0.000551300 CONSTS(50) = 2.35000 CONSTS(51) = 2.60000 CONSTS(52) = 0.00531140 CONSTS(53) = 0.000246000 CONSTS(54) = 1.70000 CONSTS(55) = 1.78700 CONSTS(56) = 25.0000 CONSTS(57) = 10.0000 CONSTS(58) = 0.0600000 CONSTS(59) = 0.00500000 CONSTS(60) = 0.450000 CONSTS(61) = 7.56100 CONSTS(62) = 1.65000 CONSTS(63) = 0.00100000 CONSTS(64) = 0.000100000 CONSTS(65) = 0.0700000 CONSTS(66) = 0.0196000 CONSTS(67) = 32.7000 CONSTS(68) = 0.140000 CONSTS(69) = 3.20000e-05 CONSTS(70) = 2.37000 CONSTS(71) = 0.00333000 CONSTS(72) = 0.00300000 CONSTS(73) = 0.0240000 CONSTS(74) = 0.238000 CONSTS(75) = 34.0000 CONSTS(76) = 0.140000 CONSTS(77) = 0.000460000 CONSTS(78) = 13.8000 CONSTS(79) = 5.70000e-05 CONSTS(80) = 0.0157000 CONSTS(81) = 19.0000*0.000900000 CONSTS(82) = 0.0600000 CONSTS(83) = 100.000 CONSTS(84) = 1.30000 CONSTS(85) = 100.000 CONSTS(86) = 0.0300000 CONSTS(87) = 100.000 CONSTS(88) = 65.0000 CONSTS(89) = 100.000 CONSTS(90) = 0.00350000 CONSTS(91) = 0.00350000 CONSTS(92) = 0.00000 CONSTS(93) = 0.00000 CONSTS(94) = 15.0000 CONSTS(95) = 1.00000 CONSTS(123) = 0.00000 CONSTS(96) = 96485.0 CONSTS(97) = 10.2500 CONSTS(98) = 0.0150000 CONSTS(99) = 1.00000 - CONSTS(16) CONSTS(100) = 1.00000 - CONSTS(17) CONSTS(101) = (EXP(CONSTS(19)/67.3000) - 1.00000)/7.00000 CONSTS(102) = 0.0350000* (CONSTS(18)/5.40000) ** (1.0 / 2) CONSTS(103) = TERNRY(CONSTS(1).EQ.1.00000, 1.00000*0.130000*0.120000, 0.130000*0.300000*0.964000) CONSTS(104) = TERNRY(CONSTS(1).EQ.1.00000, 1.00000*0.130000*0.880000, 0.130000*0.300000*0.0360000) CONSTS(105) = 0.500000 CONSTS(106) = 310.000 CONSTS(107) = 3.14159265358979*CONSTS(97) ** 2.00000*CONSTS(4)*1.00000e-15 CONSTS(108) = 20150.0* 3.14159265358979*2.00000*CONSTS(5)*CONSTS(98) CONSTS(109) = 3.14159265358979*2.00000*CONSTS(97)*CONSTS(4) CONSTS(110) = CONSTS(96)/( CONSTS(2)*CONSTS(106)) CONSTS(111) = (CONSTS(106) - 310.000)/10.0000 CONSTS(112) = 0.650000*CONSTS(107) CONSTS(113) = 0.0350000*CONSTS(107) CONSTS(114) = 0.0200000*CONSTS(107) CONSTS(115) = 0.0539000*0.0100000*CONSTS(107) CONSTS(116) = 15.0000 CONSTS(117) = 150.000 CONSTS(118) = ( 0.0374000*CONSTS(112))/CONSTS(114) CONSTS(119) = (( 0.00460000*CONSTS(112))/CONSTS(115))*0.100000 CONSTS(120) = ( 0.0134000*CONSTS(112))/CONSTS(114) CONSTS(121) = (( 0.00165000*CONSTS(112))/CONSTS(115))*0.100000 CONSTS(122) = ( 0.140000*CONSTS(112))/CONSTS(113) CONSTS(123) = (1.00000/CONSTS(110))*log(CONSTS(116)/CONSTS(117)) RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RATES(4) = CONSTS(123) RATES(19) = (( 1.70000*STATES(5))/1.00000)*(1.00000 - STATES(19)) - 0.0119000*STATES(19) RATES(20) = (( 1.70000*STATES(6))/1.00000)*(1.00000 - STATES(20)) - 0.0119000*STATES(20) RATES(28) = CONSTS(67)*STATES(25)*(CONSTS(65) - STATES(28)) - CONSTS(66)*STATES(28) RATES(29) = CONSTS(70)*STATES(25)*((CONSTS(68) - STATES(29)) - STATES(30)) - CONSTS(69)*STATES(29) RATES(30) = CONSTS(72)*CONSTS(21)*((CONSTS(68) - STATES(29)) - STATES(30)) - CONSTS(71)*STATES(30) RATES(31) = CONSTS(75)*STATES(25)*(CONSTS(73) - STATES(31)) - CONSTS(74)*STATES(31) RATES(32) = CONSTS(78)*STATES(25)*((CONSTS(76) - STATES(32)) - STATES(33)) - CONSTS(77)*STATES(32) RATES(33) = CONSTS(80)*CONSTS(21)*((CONSTS(76) - STATES(32)) - STATES(33)) - CONSTS(79)*STATES(33) RATES(34) = CONSTS(83)*STATES(25)*(CONSTS(81) - STATES(34)) - CONSTS(82)*STATES(34) RATES(35) = CONSTS(85)*STATES(5)*(CONSTS(119) - STATES(35)) - CONSTS(84)*STATES(35) RATES(36) = CONSTS(85)*STATES(6)*(CONSTS(118) - STATES(36)) - CONSTS(84)*STATES(36) RATES(37) = CONSTS(87)*STATES(5)*(CONSTS(121) - STATES(37)) - CONSTS(86)*STATES(37) RATES(38) = CONSTS(87)*STATES(6)*(CONSTS(120) - STATES(38)) - CONSTS(86)*STATES(38) RATES(39) = CONSTS(89)*STATES(24)*(CONSTS(122) - STATES(39)) - CONSTS(88)*STATES(39) RATES(12) = (CONSTS(15)/CONSTS(112))*(STATES(3) - STATES(12)) ALGBRC(1) = 1.00000/1.00000+EXP(- (56.8600+STATES(1))/9.03000) ** 2.00000 ALGBRC(12) = 0.129200*EXP(- (STATES(1)+45.7900)/15.5400 ** 2.00000)+ 0.0648700*EXP(- (STATES(1) - 4.82300)/51.1200 ** 2.00000) RATES(7) = (ALGBRC(1) - STATES(7))/ALGBRC(12) ALGBRC(4) = 1.00000/(1.00000+EXP(- (STATES(1)+10.0000)/5.00000)) ALGBRC(15) = ( (550.000/(1.00000+EXP((- 22.0000 - STATES(1))/9.00000)))*6.00000)/(1.00000+EXP((STATES(1) - - 11.0000)/9.00000))+230.000/(1.00000+EXP((STATES(1) - - 40.0000)/20.0000)) RATES(10) = (ALGBRC(4) - STATES(10))/ALGBRC(15) ALGBRC(5) = 1.00000/(1.00000+EXP(- (STATES(1)+3.80000)/14.2500)) ALGBRC(16) = 990.100/(1.00000+EXP(- (STATES(1)+2.43600)/14.1200)) RATES(11) = (ALGBRC(5) - STATES(11))/ALGBRC(16) ALGBRC(6) = 1.00000/(1.00000+EXP(- (STATES(1) - 19.0000)/13.0000)) ALGBRC(17) = 9.00000/(1.00000+EXP((STATES(1)+3.00000)/15.0000))+0.500000 RATES(13) = (ALGBRC(6) - STATES(13))/ALGBRC(17) ALGBRC(7) = 1.00000/(1.00000+EXP((STATES(1)+19.5000)/5.00000)) ALGBRC(18) = 800.000/(1.00000+EXP((STATES(1)+60.0000)/10.0000))+30.0000 RATES(14) = (ALGBRC(7) - STATES(14))/ALGBRC(18) ALGBRC(19) = 8.50000*EXP(- (STATES(1)+45.0000)/50.0000 ** 2.00000)+0.500000 RATES(15) = (ALGBRC(6) - STATES(15))/ALGBRC(19) ALGBRC(20) = 85.0000*EXP(- STATES(1)+40.0000 ** 2.00000/220.000)+7.00000 RATES(16) = (ALGBRC(7) - STATES(16))/ALGBRC(20) ALGBRC(9) = 1.00000/(1.00000+EXP(- (STATES(1)+5.00000)/6.00000)) ALGBRC(21) = ( 1.00000*ALGBRC(9)*(1.00000 - EXP(- (STATES(1)+5.00000)/6.00000)))/( 0.0350000*(STATES(1)+5.00000)) RATES(17) = (ALGBRC(9) - STATES(17))/ALGBRC(21) ALGBRC(8) = 1.00000/(1.00000+EXP((STATES(1)+35.0000)/9.00000))+0.600000/(1.00000+EXP((50.0000 - STATES(1))/20.0000)) ALGBRC(22) = 1.00000/( 0.0197000*EXP(- 0.0337000*(STATES(1)+14.5000) ** 2.00000)+0.0200000) RATES(18) = (ALGBRC(8) - STATES(18))/ALGBRC(22) ALGBRC(11) = CONSTS(94) - (CONSTS(94) - CONSTS(95))/(1.00000+CONSTS(60)/STATES(24) ** 2.50000) ALGBRC(24) = CONSTS(57)/ALGBRC(11) ALGBRC(28) = CONSTS(105)*ALGBRC(11) RATES(22) = ( ALGBRC(24)*STATES(5) ** 2.00000*STATES(21) - CONSTS(58)*STATES(22)) - ( ALGBRC(28)*STATES(5)*STATES(22) - CONSTS(59)*STATES(23)) ALGBRC(2) = TERNRY(STATES(1).GE.- 40.0000, 0.00000, 0.0570000*EXP(- (STATES(1)+80.0000)/6.80000)) ALGBRC(13) = TERNRY(STATES(1).GE.- 40.0000, 0.770000/( 0.130000*(1.00000+EXP(- (STATES(1)+10.6600)/11.1000))), 2.70000*EXP( 0.0790000*STATES(1))+ 310000.*EXP( 0.348500*STATES(1))) ALGBRC(25) = 1.00000/(ALGBRC(2)+ALGBRC(13)) ALGBRC(29) = 1.00000/(1.00000+EXP((STATES(1)+71.5500)/7.43000 ** 2.00000)) RATES(8) = (ALGBRC(29) - STATES(8))/ALGBRC(25) ALGBRC(3) = TERNRY(STATES(1).GE.- 40.0000, 0.00000, ( ( - 25428.0*EXP( 0.244400*STATES(1)) - 6.94800e-06*EXP( - 0.0439100*STATES(1)))*(STATES(1)+37.7800))/(1.00000+EXP( 0.311000*(STATES(1)+79.2300)))) ALGBRC(14) = TERNRY(STATES(1).GE.- 40.0000, ( 0.600000*EXP( 0.0570000*STATES(1)))/(1.00000+EXP( - 0.100000*(STATES(1)+32.0000))), ( 0.0242400*EXP( - 0.0105200*STATES(1)))/(1.00000+EXP( - 0.137800*(STATES(1)+40.1400)))) ALGBRC(26) = 1.00000/(ALGBRC(3)+ALGBRC(14)) ALGBRC(30) = 1.00000/1.00000+EXP((STATES(1)+71.5500)/7.43000) ** 2.00000 RATES(9) = (ALGBRC(30) - STATES(9))/ALGBRC(26) ALGBRC(32) = ((1.00000 - STATES(21)) - STATES(22)) - STATES(23) RATES(21) = ( CONSTS(59)*ALGBRC(32) - ALGBRC(28)*STATES(5)*STATES(21)) - ( ALGBRC(24)*STATES(5) ** 2.00000*STATES(21) - CONSTS(58)*STATES(22)) RATES(23) = ( ALGBRC(28)*STATES(5)*STATES(22) - CONSTS(59)*STATES(23)) - ( CONSTS(58)*STATES(23) - ALGBRC(24)*STATES(5) ** 2.00000*ALGBRC(32)) ALGBRC(98) = (( CONSTS(56)*STATES(22))/1.00000)*(STATES(24) - STATES(5)) ALGBRC(99) = ( CONSTS(51) ** CONSTS(111)*CONSTS(52)*(STATES(25)/CONSTS(53) ** CONSTS(55) - STATES(24)/CONSTS(54) ** CONSTS(55)))/(1.00000+STATES(25)/CONSTS(53) ** CONSTS(55)+STATES(24)/CONSTS(54) ** CONSTS(55)) ALGBRC(100) = 5.34800e-06*(STATES(24) - STATES(5)) RATES(24) = (ALGBRC(99) - (( ALGBRC(100)*CONSTS(112))/CONSTS(113)+ALGBRC(98))) - ( CONSTS(89)*STATES(24)*(CONSTS(122) - STATES(39)) - CONSTS(88)*STATES(39)) ALGBRC(101) = ((((((((((( CONSTS(67)*STATES(25)*(CONSTS(65) - STATES(28)) - CONSTS(66)*STATES(28))+ CONSTS(70)*STATES(25)*((CONSTS(68) - STATES(29)) - STATES(30))) - CONSTS(69)*STATES(29))+ CONSTS(72)*CONSTS(21)*((CONSTS(68) - STATES(29)) - STATES(30))) - CONSTS(71)*STATES(30))+ CONSTS(75)*STATES(25)*(CONSTS(73) - STATES(31))) - CONSTS(74)*STATES(31))+ CONSTS(78)*STATES(25)*((CONSTS(76) - STATES(32)) - STATES(33))) - CONSTS(77)*STATES(32))+ CONSTS(80)*CONSTS(21)*((CONSTS(76) - STATES(32)) - STATES(33))) - CONSTS(79)*STATES(33))+( CONSTS(83)*STATES(25)*(CONSTS(81) - STATES(34)) - CONSTS(82)*STATES(34)) RATES(25) = (( - ALGBRC(99)*CONSTS(113))/CONSTS(112) - ALGBRC(101))+ (CONSTS(13)/CONSTS(112))*(STATES(6) - STATES(25)) ALGBRC(102) = CONSTS(64)*STATES(2)*(CONSTS(61) - STATES(26)) - CONSTS(63)*STATES(26) RATES(26) = ALGBRC(102) ALGBRC(103) = CONSTS(64)*STATES(3)*(CONSTS(62) - STATES(27)) - CONSTS(63)*STATES(27) RATES(27) = ALGBRC(103) ALGBRC(23) = (1.00000/CONSTS(110))*log(CONSTS(19)/STATES(2)) ALGBRC(35) = CONSTS(16)*CONSTS(22)*STATES(7) ** 3.00000*STATES(8)*STATES(9)*(STATES(1) - ALGBRC(23)) ALGBRC(38) = CONSTS(16)*CONSTS(23)*(STATES(1) - ALGBRC(23)) ALGBRC(41) = 1.00000/(1.00000+ 0.124500*EXP( - 0.100000*STATES(1)*CONSTS(110))+ 0.0365000*CONSTS(101)*EXP( - STATES(1)*CONSTS(110))) ALGBRC(42) = (( CONSTS(16)*CONSTS(24)*ALGBRC(41)*CONSTS(18))/(1.00000+CONSTS(25)/STATES(2) ** 4.00000))/(CONSTS(18)+CONSTS(26)) ALGBRC(69) = ( CONSTS(34)*STATES(1)*CONSTS(96)*CONSTS(110)*( 0.750000*STATES(2)*EXP( STATES(1)*CONSTS(110)) - 0.750000*CONSTS(19)))/(EXP( STATES(1)*CONSTS(110)) - 1.00000) ALGBRC(75) = CONSTS(17)*ALGBRC(69)*STATES(17)*STATES(18)*((1.00000 - STATES(19))+CONSTS(93))*CONSTS(37) ** CONSTS(111)*0.450000*1.00000 ALGBRC(78) = 1.00000/(1.00000+CONSTS(45)/STATES(5) ** 2.00000) ALGBRC(81) = EXP( CONSTS(44)*STATES(1)*CONSTS(110))*STATES(2) ** 3.00000*CONSTS(20) ALGBRC(83) = EXP( (CONSTS(44) - 1.00000)*STATES(1)*CONSTS(110))*CONSTS(19) ** 3.00000*STATES(5) ALGBRC(84) = CONSTS(39)*CONSTS(19) ** 3.00000*(1.00000+STATES(2)/CONSTS(41) ** 3.00000)+ CONSTS(42) ** 3.00000*STATES(5)*(1.00000+STATES(5)/CONSTS(39))+ CONSTS(40)*STATES(2) ** 3.00000+ STATES(2) ** 3.00000*CONSTS(20)+ CONSTS(19) ** 3.00000*STATES(5) ALGBRC(87) = (( CONSTS(16)*CONSTS(38)*CONSTS(46) ** CONSTS(111)*ALGBRC(78)*(ALGBRC(81) - ALGBRC(83)))/ALGBRC(84))/(1.00000+ CONSTS(43)*EXP( (CONSTS(44) - 1.00000)*STATES(1)*CONSTS(110))) ALGBRC(106) = ALGBRC(35)+ALGBRC(38)+ 3.00000*ALGBRC(87)+ 3.00000*ALGBRC(42)+ALGBRC(75) RATES(2) = (( - ALGBRC(106)*CONSTS(3))/( CONSTS(115)*CONSTS(96))+ (CONSTS(14)/CONSTS(115))*(STATES(3) - STATES(2))) - ALGBRC(102) ALGBRC(27) = (1.00000/CONSTS(110))*log(CONSTS(19)/STATES(3)) ALGBRC(36) = CONSTS(99)*CONSTS(22)*STATES(7) ** 3.00000*STATES(8)*STATES(9)*(STATES(1) - ALGBRC(27)) ALGBRC(39) = CONSTS(99)*CONSTS(23)*(STATES(1) - ALGBRC(27)) ALGBRC(43) = (( CONSTS(99)*CONSTS(24)*ALGBRC(41)*CONSTS(18))/(1.00000+CONSTS(25)/STATES(3) ** 4.00000))/(CONSTS(18)+CONSTS(26)) ALGBRC(70) = ( CONSTS(34)*STATES(1)*CONSTS(96)*CONSTS(110)*( 0.750000*STATES(3)*EXP( STATES(1)*CONSTS(110)) - 0.750000*CONSTS(19)))/(EXP( STATES(1)*CONSTS(110)) - 1.00000) ALGBRC(76) = CONSTS(100)*ALGBRC(70)*STATES(17)*STATES(18)*((1.00000 - STATES(20))+CONSTS(92))*CONSTS(37) ** CONSTS(111)*0.450000*1.00000 ALGBRC(80) = 1.00000/(1.00000+CONSTS(45)/STATES(6) ** 2.00000) ALGBRC(82) = EXP( CONSTS(44)*STATES(1)*CONSTS(110))*STATES(3) ** 3.00000*CONSTS(20) ALGBRC(85) = EXP( (CONSTS(44) - 1.00000)*STATES(1)*CONSTS(110))*CONSTS(19) ** 3.00000*STATES(6) ALGBRC(86) = CONSTS(39)*CONSTS(19) ** 3.00000*(1.00000+STATES(3)/CONSTS(41) ** 3.00000)+ CONSTS(42) ** 3.00000*STATES(6)*(1.00000+STATES(6)/CONSTS(39))+ CONSTS(40)*STATES(3) ** 3.00000+ STATES(3) ** 3.00000*CONSTS(20)+ CONSTS(19) ** 3.00000*STATES(6) ALGBRC(88) = (( CONSTS(99)*CONSTS(38)*CONSTS(46) ** CONSTS(111)*ALGBRC(80)*(ALGBRC(82) - ALGBRC(85)))/ALGBRC(86))/(1.00000+ CONSTS(43)*EXP( (CONSTS(44) - 1.00000)*STATES(1)*CONSTS(110))) ALGBRC(107) = ALGBRC(36)+ALGBRC(39)+ 3.00000*ALGBRC(88)+ 3.00000*ALGBRC(43)+ALGBRC(76) RATES(3) = (( - ALGBRC(107)*CONSTS(3))/( CONSTS(114)*CONSTS(96))+ (CONSTS(14)/CONSTS(114))*(STATES(2) - STATES(3))+ (CONSTS(15)/CONSTS(114))*(STATES(12) - STATES(3))) - ALGBRC(103) ALGBRC(104) = ( CONSTS(85)*STATES(5)*(CONSTS(119) - STATES(35)) - CONSTS(84)*STATES(35))+( CONSTS(87)*STATES(5)*(CONSTS(121) - STATES(37)) - CONSTS(86)*STATES(37)) ALGBRC(66) = ( CONSTS(35)*4.00000*STATES(1)*CONSTS(96)*CONSTS(110)*( 0.341000*STATES(5)*EXP( 2.00000*STATES(1)*CONSTS(110)) - 0.341000*CONSTS(20)))/(EXP( 2.00000*STATES(1)*CONSTS(110)) - 1.00000) ALGBRC(71) = CONSTS(17)*ALGBRC(66)*STATES(17)*STATES(18)*((1.00000 - STATES(19))+CONSTS(93))*CONSTS(37) ** CONSTS(111)*0.450000*1.00000 ALGBRC(91) = ( CONSTS(16)*CONSTS(50) ** CONSTS(111)*CONSTS(47)*STATES(5) ** 1.60000)/(CONSTS(48) ** 1.60000+STATES(5) ** 1.60000) ALGBRC(33) = ((1.00000/CONSTS(110))/2.00000)*log(CONSTS(20)/STATES(5)) ALGBRC(95) = CONSTS(16)*CONSTS(49)*(STATES(1) - ALGBRC(33)) ALGBRC(109) = (ALGBRC(71)+ALGBRC(95)+ALGBRC(91)) - 2.00000*ALGBRC(87) RATES(5) = ((( - ALGBRC(109)*CONSTS(3))/( CONSTS(115)*2.00000*CONSTS(96))+ (CONSTS(12)/CONSTS(115))*(STATES(6) - STATES(5))) - ALGBRC(104))+( ALGBRC(98)*CONSTS(113))/CONSTS(115)+( ALGBRC(100)*CONSTS(112))/CONSTS(115) ALGBRC(105) = ( CONSTS(85)*STATES(6)*(CONSTS(118) - STATES(36)) - CONSTS(84)*STATES(36))+( CONSTS(87)*STATES(6)*(CONSTS(120) - STATES(38)) - CONSTS(86)*STATES(38)) ALGBRC(67) = ( CONSTS(35)*4.00000*STATES(1)*CONSTS(96)*CONSTS(110)*( 0.341000*STATES(6)*EXP( 2.00000*STATES(1)*CONSTS(110)) - 0.341000*CONSTS(20)))/(EXP( 2.00000*STATES(1)*CONSTS(110)) - 1.00000) ALGBRC(72) = CONSTS(100)*ALGBRC(67)*STATES(17)*STATES(18)*((1.00000 - STATES(20))+CONSTS(92))*CONSTS(37) ** CONSTS(111)*0.450000*1.00000 ALGBRC(93) = ( CONSTS(99)*CONSTS(50) ** CONSTS(111)*CONSTS(47)*STATES(6) ** 1.60000)/(CONSTS(48) ** 1.60000+STATES(6) ** 1.60000) ALGBRC(34) = ((1.00000/CONSTS(110))/2.00000)*log(CONSTS(20)/STATES(6)) ALGBRC(96) = CONSTS(99)*CONSTS(49)*(STATES(1) - ALGBRC(34)) ALGBRC(110) = (ALGBRC(72)+ALGBRC(96)+ALGBRC(93)) - 2.00000*ALGBRC(88) RATES(6) = (( - ALGBRC(110)*CONSTS(3))/( CONSTS(114)*2.00000*CONSTS(96))+ (CONSTS(12)/CONSTS(114))*(STATES(5) - STATES(6))+ (CONSTS(13)/CONSTS(114))*(STATES(25) - STATES(6))) - ALGBRC(105) ALGBRC(10) = TERNRY( INT(MOD(VOI, 1000.00)).LE.5.00000, 9.50000, 0.00000) ALGBRC(44) = ALGBRC(42)+ALGBRC(43) ALGBRC(31) = (1.00000/CONSTS(110))*log(CONSTS(18)/STATES(4)) ALGBRC(45) = 1.00000/(1.00000+EXP((STATES(1)+74.0000)/24.0000)) ALGBRC(46) = CONSTS(102)*STATES(10)*ALGBRC(45)*(STATES(1) - ALGBRC(31)) ALGBRC(47) = 1.00000/(1.00000+EXP(7.48800 - STATES(1)/5.98000)) ALGBRC(48) = CONSTS(16)*CONSTS(30)*ALGBRC(47)*(STATES(1) - ALGBRC(31)) ALGBRC(49) = CONSTS(99)*CONSTS(30)*ALGBRC(47)*(STATES(1) - ALGBRC(31)) ALGBRC(50) = ALGBRC(48)+ALGBRC(49) ALGBRC(51) = (1.00000/CONSTS(110))*log((CONSTS(18)+ CONSTS(29)*CONSTS(19))/(STATES(4)+ CONSTS(29)*STATES(12))) ALGBRC(52) = CONSTS(16)*CONSTS(90)*STATES(11) ** 2.00000*(STATES(1) - ALGBRC(51)) ALGBRC(53) = CONSTS(99)*CONSTS(91)*STATES(11) ** 2.00000*(STATES(1) - ALGBRC(51)) ALGBRC(54) = ALGBRC(52)+ALGBRC(53) ALGBRC(55) = CONSTS(103)*STATES(13)*STATES(14)*(STATES(1) - ALGBRC(31)) ALGBRC(56) = CONSTS(104)*STATES(15)*STATES(16)*(STATES(1) - ALGBRC(31)) ALGBRC(57) = ALGBRC(55)+ALGBRC(56) ALGBRC(58) = 1.02000/(1.00000+EXP( 0.238500*((STATES(1) - ALGBRC(31)) - 59.2150))) ALGBRC(59) = ( 0.491240*EXP( 0.0803200*((STATES(1)+5.47600) - ALGBRC(31)))+EXP( 0.0617500*((STATES(1) - ALGBRC(31)) - 594.310)))/(1.00000+EXP( - 0.514300*((STATES(1) - ALGBRC(31))+4.75300))) ALGBRC(60) = ALGBRC(58)/(ALGBRC(58)+ALGBRC(59)) ALGBRC(61) = 1.00000*0.350000* (CONSTS(18)/5.40000) ** (1.0 / 2)*ALGBRC(60)*(STATES(1) - ALGBRC(31)) ALGBRC(68) = ( CONSTS(36)*STATES(1)*CONSTS(96)*CONSTS(110)*( 0.750000*STATES(4)*EXP( STATES(1)*CONSTS(110)) - 0.750000*CONSTS(18)))/(EXP( STATES(1)*CONSTS(110)) - 1.00000) ALGBRC(74) = ALGBRC(68)*STATES(17)*STATES(18)*( CONSTS(17)*(CONSTS(93)+(1.00000 - STATES(19)))+ CONSTS(100)*(CONSTS(92)+(1.00000 - STATES(20))))*CONSTS(37) ** CONSTS(111)*0.450000*1.00000 ALGBRC(108) = ((ALGBRC(57)+ALGBRC(46)+ALGBRC(54)+ALGBRC(61)) - 2.00000*ALGBRC(44))+ALGBRC(74)+ALGBRC(50) ALGBRC(111) = ALGBRC(106)+ALGBRC(107) ALGBRC(62) = (( CONSTS(16)*CONSTS(31))/(1.00000+CONSTS(33)/STATES(5)))*(STATES(1) - CONSTS(123)) ALGBRC(63) = (( CONSTS(99)*CONSTS(31))/(1.00000+CONSTS(33)/STATES(6)))*(STATES(1) - CONSTS(123)) ALGBRC(64) = ALGBRC(62)+ALGBRC(63) ALGBRC(65) = CONSTS(32)*(STATES(1) - CONSTS(123)) ALGBRC(112) = ALGBRC(64)+ALGBRC(65) ALGBRC(113) = ALGBRC(109)+ALGBRC(110) ALGBRC(114) = ALGBRC(111)+ALGBRC(112)+ALGBRC(113)+ALGBRC(108) RATES(1) = - (ALGBRC(114) - ALGBRC(10)) RETURN END SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) ALGBRC(1) = 1.00000/1.00000+EXP(- (56.8600+STATES(1))/9.03000) ** 2.00000 ALGBRC(12) = 0.129200*EXP(- (STATES(1)+45.7900)/15.5400 ** 2.00000)+ 0.0648700*EXP(- (STATES(1) - 4.82300)/51.1200 ** 2.00000) ALGBRC(4) = 1.00000/(1.00000+EXP(- (STATES(1)+10.0000)/5.00000)) ALGBRC(15) = ( (550.000/(1.00000+EXP((- 22.0000 - STATES(1))/9.00000)))*6.00000)/(1.00000+EXP((STATES(1) - - 11.0000)/9.00000))+230.000/(1.00000+EXP((STATES(1) - - 40.0000)/20.0000)) ALGBRC(5) = 1.00000/(1.00000+EXP(- (STATES(1)+3.80000)/14.2500)) ALGBRC(16) = 990.100/(1.00000+EXP(- (STATES(1)+2.43600)/14.1200)) ALGBRC(6) = 1.00000/(1.00000+EXP(- (STATES(1) - 19.0000)/13.0000)) ALGBRC(17) = 9.00000/(1.00000+EXP((STATES(1)+3.00000)/15.0000))+0.500000 ALGBRC(7) = 1.00000/(1.00000+EXP((STATES(1)+19.5000)/5.00000)) ALGBRC(18) = 800.000/(1.00000+EXP((STATES(1)+60.0000)/10.0000))+30.0000 ALGBRC(19) = 8.50000*EXP(- (STATES(1)+45.0000)/50.0000 ** 2.00000)+0.500000 ALGBRC(20) = 85.0000*EXP(- STATES(1)+40.0000 ** 2.00000/220.000)+7.00000 ALGBRC(9) = 1.00000/(1.00000+EXP(- (STATES(1)+5.00000)/6.00000)) ALGBRC(21) = ( 1.00000*ALGBRC(9)*(1.00000 - EXP(- (STATES(1)+5.00000)/6.00000)))/( 0.0350000*(STATES(1)+5.00000)) ALGBRC(8) = 1.00000/(1.00000+EXP((STATES(1)+35.0000)/9.00000))+0.600000/(1.00000+EXP((50.0000 - STATES(1))/20.0000)) ALGBRC(22) = 1.00000/( 0.0197000*EXP(- 0.0337000*(STATES(1)+14.5000) ** 2.00000)+0.0200000) ALGBRC(11) = CONSTS(94) - (CONSTS(94) - CONSTS(95))/(1.00000+CONSTS(60)/STATES(24) ** 2.50000) ALGBRC(24) = CONSTS(57)/ALGBRC(11) ALGBRC(28) = CONSTS(105)*ALGBRC(11) ALGBRC(2) = TERNRY(STATES(1).GE.- 40.0000, 0.00000, 0.0570000*EXP(- (STATES(1)+80.0000)/6.80000)) ALGBRC(13) = TERNRY(STATES(1).GE.- 40.0000, 0.770000/( 0.130000*(1.00000+EXP(- (STATES(1)+10.6600)/11.1000))), 2.70000*EXP( 0.0790000*STATES(1))+ 310000.*EXP( 0.348500*STATES(1))) ALGBRC(25) = 1.00000/(ALGBRC(2)+ALGBRC(13)) ALGBRC(29) = 1.00000/(1.00000+EXP((STATES(1)+71.5500)/7.43000 ** 2.00000)) ALGBRC(3) = TERNRY(STATES(1).GE.- 40.0000, 0.00000, ( ( - 25428.0*EXP( 0.244400*STATES(1)) - 6.94800e-06*EXP( - 0.0439100*STATES(1)))*(STATES(1)+37.7800))/(1.00000+EXP( 0.311000*(STATES(1)+79.2300)))) ALGBRC(14) = TERNRY(STATES(1).GE.- 40.0000, ( 0.600000*EXP( 0.0570000*STATES(1)))/(1.00000+EXP( - 0.100000*(STATES(1)+32.0000))), ( 0.0242400*EXP( - 0.0105200*STATES(1)))/(1.00000+EXP( - 0.137800*(STATES(1)+40.1400)))) ALGBRC(26) = 1.00000/(ALGBRC(3)+ALGBRC(14)) ALGBRC(30) = 1.00000/1.00000+EXP((STATES(1)+71.5500)/7.43000) ** 2.00000 ALGBRC(32) = ((1.00000 - STATES(21)) - STATES(22)) - STATES(23) ALGBRC(98) = (( CONSTS(56)*STATES(22))/1.00000)*(STATES(24) - STATES(5)) ALGBRC(99) = ( CONSTS(51) ** CONSTS(111)*CONSTS(52)*(STATES(25)/CONSTS(53) ** CONSTS(55) - STATES(24)/CONSTS(54) ** CONSTS(55)))/(1.00000+STATES(25)/CONSTS(53) ** CONSTS(55)+STATES(24)/CONSTS(54) ** CONSTS(55)) ALGBRC(100) = 5.34800e-06*(STATES(24) - STATES(5)) ALGBRC(101) = ((((((((((( CONSTS(67)*STATES(25)*(CONSTS(65) - STATES(28)) - CONSTS(66)*STATES(28))+ CONSTS(70)*STATES(25)*((CONSTS(68) - STATES(29)) - STATES(30))) - CONSTS(69)*STATES(29))+ CONSTS(72)*CONSTS(21)*((CONSTS(68) - STATES(29)) - STATES(30))) - CONSTS(71)*STATES(30))+ CONSTS(75)*STATES(25)*(CONSTS(73) - STATES(31))) - CONSTS(74)*STATES(31))+ CONSTS(78)*STATES(25)*((CONSTS(76) - STATES(32)) - STATES(33))) - CONSTS(77)*STATES(32))+ CONSTS(80)*CONSTS(21)*((CONSTS(76) - STATES(32)) - STATES(33))) - CONSTS(79)*STATES(33))+( CONSTS(83)*STATES(25)*(CONSTS(81) - STATES(34)) - CONSTS(82)*STATES(34)) ALGBRC(102) = CONSTS(64)*STATES(2)*(CONSTS(61) - STATES(26)) - CONSTS(63)*STATES(26) ALGBRC(103) = CONSTS(64)*STATES(3)*(CONSTS(62) - STATES(27)) - CONSTS(63)*STATES(27) ALGBRC(23) = (1.00000/CONSTS(110))*log(CONSTS(19)/STATES(2)) ALGBRC(35) = CONSTS(16)*CONSTS(22)*STATES(7) ** 3.00000*STATES(8)*STATES(9)*(STATES(1) - ALGBRC(23)) ALGBRC(38) = CONSTS(16)*CONSTS(23)*(STATES(1) - ALGBRC(23)) ALGBRC(41) = 1.00000/(1.00000+ 0.124500*EXP( - 0.100000*STATES(1)*CONSTS(110))+ 0.0365000*CONSTS(101)*EXP( - STATES(1)*CONSTS(110))) ALGBRC(42) = (( CONSTS(16)*CONSTS(24)*ALGBRC(41)*CONSTS(18))/(1.00000+CONSTS(25)/STATES(2) ** 4.00000))/(CONSTS(18)+CONSTS(26)) ALGBRC(69) = ( CONSTS(34)*STATES(1)*CONSTS(96)*CONSTS(110)*( 0.750000*STATES(2)*EXP( STATES(1)*CONSTS(110)) - 0.750000*CONSTS(19)))/(EXP( STATES(1)*CONSTS(110)) - 1.00000) ALGBRC(75) = CONSTS(17)*ALGBRC(69)*STATES(17)*STATES(18)*((1.00000 - STATES(19))+CONSTS(93))*CONSTS(37) ** CONSTS(111)*0.450000*1.00000 ALGBRC(78) = 1.00000/(1.00000+CONSTS(45)/STATES(5) ** 2.00000) ALGBRC(81) = EXP( CONSTS(44)*STATES(1)*CONSTS(110))*STATES(2) ** 3.00000*CONSTS(20) ALGBRC(83) = EXP( (CONSTS(44) - 1.00000)*STATES(1)*CONSTS(110))*CONSTS(19) ** 3.00000*STATES(5) ALGBRC(84) = CONSTS(39)*CONSTS(19) ** 3.00000*(1.00000+STATES(2)/CONSTS(41) ** 3.00000)+ CONSTS(42) ** 3.00000*STATES(5)*(1.00000+STATES(5)/CONSTS(39))+ CONSTS(40)*STATES(2) ** 3.00000+ STATES(2) ** 3.00000*CONSTS(20)+ CONSTS(19) ** 3.00000*STATES(5) ALGBRC(87) = (( CONSTS(16)*CONSTS(38)*CONSTS(46) ** CONSTS(111)*ALGBRC(78)*(ALGBRC(81) - ALGBRC(83)))/ALGBRC(84))/(1.00000+ CONSTS(43)*EXP( (CONSTS(44) - 1.00000)*STATES(1)*CONSTS(110))) ALGBRC(106) = ALGBRC(35)+ALGBRC(38)+ 3.00000*ALGBRC(87)+ 3.00000*ALGBRC(42)+ALGBRC(75) ALGBRC(27) = (1.00000/CONSTS(110))*log(CONSTS(19)/STATES(3)) ALGBRC(36) = CONSTS(99)*CONSTS(22)*STATES(7) ** 3.00000*STATES(8)*STATES(9)*(STATES(1) - ALGBRC(27)) ALGBRC(39) = CONSTS(99)*CONSTS(23)*(STATES(1) - ALGBRC(27)) ALGBRC(43) = (( CONSTS(99)*CONSTS(24)*ALGBRC(41)*CONSTS(18))/(1.00000+CONSTS(25)/STATES(3) ** 4.00000))/(CONSTS(18)+CONSTS(26)) ALGBRC(70) = ( CONSTS(34)*STATES(1)*CONSTS(96)*CONSTS(110)*( 0.750000*STATES(3)*EXP( STATES(1)*CONSTS(110)) - 0.750000*CONSTS(19)))/(EXP( STATES(1)*CONSTS(110)) - 1.00000) ALGBRC(76) = CONSTS(100)*ALGBRC(70)*STATES(17)*STATES(18)*((1.00000 - STATES(20))+CONSTS(92))*CONSTS(37) ** CONSTS(111)*0.450000*1.00000 ALGBRC(80) = 1.00000/(1.00000+CONSTS(45)/STATES(6) ** 2.00000) ALGBRC(82) = EXP( CONSTS(44)*STATES(1)*CONSTS(110))*STATES(3) ** 3.00000*CONSTS(20) ALGBRC(85) = EXP( (CONSTS(44) - 1.00000)*STATES(1)*CONSTS(110))*CONSTS(19) ** 3.00000*STATES(6) ALGBRC(86) = CONSTS(39)*CONSTS(19) ** 3.00000*(1.00000+STATES(3)/CONSTS(41) ** 3.00000)+ CONSTS(42) ** 3.00000*STATES(6)*(1.00000+STATES(6)/CONSTS(39))+ CONSTS(40)*STATES(3) ** 3.00000+ STATES(3) ** 3.00000*CONSTS(20)+ CONSTS(19) ** 3.00000*STATES(6) ALGBRC(88) = (( CONSTS(99)*CONSTS(38)*CONSTS(46) ** CONSTS(111)*ALGBRC(80)*(ALGBRC(82) - ALGBRC(85)))/ALGBRC(86))/(1.00000+ CONSTS(43)*EXP( (CONSTS(44) - 1.00000)*STATES(1)*CONSTS(110))) ALGBRC(107) = ALGBRC(36)+ALGBRC(39)+ 3.00000*ALGBRC(88)+ 3.00000*ALGBRC(43)+ALGBRC(76) ALGBRC(104) = ( CONSTS(85)*STATES(5)*(CONSTS(119) - STATES(35)) - CONSTS(84)*STATES(35))+( CONSTS(87)*STATES(5)*(CONSTS(121) - STATES(37)) - CONSTS(86)*STATES(37)) ALGBRC(66) = ( CONSTS(35)*4.00000*STATES(1)*CONSTS(96)*CONSTS(110)*( 0.341000*STATES(5)*EXP( 2.00000*STATES(1)*CONSTS(110)) - 0.341000*CONSTS(20)))/(EXP( 2.00000*STATES(1)*CONSTS(110)) - 1.00000) ALGBRC(71) = CONSTS(17)*ALGBRC(66)*STATES(17)*STATES(18)*((1.00000 - STATES(19))+CONSTS(93))*CONSTS(37) ** CONSTS(111)*0.450000*1.00000 ALGBRC(91) = ( CONSTS(16)*CONSTS(50) ** CONSTS(111)*CONSTS(47)*STATES(5) ** 1.60000)/(CONSTS(48) ** 1.60000+STATES(5) ** 1.60000) ALGBRC(33) = ((1.00000/CONSTS(110))/2.00000)*log(CONSTS(20)/STATES(5)) ALGBRC(95) = CONSTS(16)*CONSTS(49)*(STATES(1) - ALGBRC(33)) ALGBRC(109) = (ALGBRC(71)+ALGBRC(95)+ALGBRC(91)) - 2.00000*ALGBRC(87) ALGBRC(105) = ( CONSTS(85)*STATES(6)*(CONSTS(118) - STATES(36)) - CONSTS(84)*STATES(36))+( CONSTS(87)*STATES(6)*(CONSTS(120) - STATES(38)) - CONSTS(86)*STATES(38)) ALGBRC(67) = ( CONSTS(35)*4.00000*STATES(1)*CONSTS(96)*CONSTS(110)*( 0.341000*STATES(6)*EXP( 2.00000*STATES(1)*CONSTS(110)) - 0.341000*CONSTS(20)))/(EXP( 2.00000*STATES(1)*CONSTS(110)) - 1.00000) ALGBRC(72) = CONSTS(100)*ALGBRC(67)*STATES(17)*STATES(18)*((1.00000 - STATES(20))+CONSTS(92))*CONSTS(37) ** CONSTS(111)*0.450000*1.00000 ALGBRC(93) = ( CONSTS(99)*CONSTS(50) ** CONSTS(111)*CONSTS(47)*STATES(6) ** 1.60000)/(CONSTS(48) ** 1.60000+STATES(6) ** 1.60000) ALGBRC(34) = ((1.00000/CONSTS(110))/2.00000)*log(CONSTS(20)/STATES(6)) ALGBRC(96) = CONSTS(99)*CONSTS(49)*(STATES(1) - ALGBRC(34)) ALGBRC(110) = (ALGBRC(72)+ALGBRC(96)+ALGBRC(93)) - 2.00000*ALGBRC(88) ALGBRC(10) = TERNRY( INT(MOD(VOI, 1000.00)).LE.5.00000, 9.50000, 0.00000) ALGBRC(44) = ALGBRC(42)+ALGBRC(43) ALGBRC(31) = (1.00000/CONSTS(110))*log(CONSTS(18)/STATES(4)) ALGBRC(45) = 1.00000/(1.00000+EXP((STATES(1)+74.0000)/24.0000)) ALGBRC(46) = CONSTS(102)*STATES(10)*ALGBRC(45)*(STATES(1) - ALGBRC(31)) ALGBRC(47) = 1.00000/(1.00000+EXP(7.48800 - STATES(1)/5.98000)) ALGBRC(48) = CONSTS(16)*CONSTS(30)*ALGBRC(47)*(STATES(1) - ALGBRC(31)) ALGBRC(49) = CONSTS(99)*CONSTS(30)*ALGBRC(47)*(STATES(1) - ALGBRC(31)) ALGBRC(50) = ALGBRC(48)+ALGBRC(49) ALGBRC(51) = (1.00000/CONSTS(110))*log((CONSTS(18)+ CONSTS(29)*CONSTS(19))/(STATES(4)+ CONSTS(29)*STATES(12))) ALGBRC(52) = CONSTS(16)*CONSTS(90)*STATES(11) ** 2.00000*(STATES(1) - ALGBRC(51)) ALGBRC(53) = CONSTS(99)*CONSTS(91)*STATES(11) ** 2.00000*(STATES(1) - ALGBRC(51)) ALGBRC(54) = ALGBRC(52)+ALGBRC(53) ALGBRC(55) = CONSTS(103)*STATES(13)*STATES(14)*(STATES(1) - ALGBRC(31)) ALGBRC(56) = CONSTS(104)*STATES(15)*STATES(16)*(STATES(1) - ALGBRC(31)) ALGBRC(57) = ALGBRC(55)+ALGBRC(56) ALGBRC(58) = 1.02000/(1.00000+EXP( 0.238500*((STATES(1) - ALGBRC(31)) - 59.2150))) ALGBRC(59) = ( 0.491240*EXP( 0.0803200*((STATES(1)+5.47600) - ALGBRC(31)))+EXP( 0.0617500*((STATES(1) - ALGBRC(31)) - 594.310)))/(1.00000+EXP( - 0.514300*((STATES(1) - ALGBRC(31))+4.75300))) ALGBRC(60) = ALGBRC(58)/(ALGBRC(58)+ALGBRC(59)) ALGBRC(61) = 1.00000*0.350000* (CONSTS(18)/5.40000) ** (1.0 / 2)*ALGBRC(60)*(STATES(1) - ALGBRC(31)) ALGBRC(68) = ( CONSTS(36)*STATES(1)*CONSTS(96)*CONSTS(110)*( 0.750000*STATES(4)*EXP( STATES(1)*CONSTS(110)) - 0.750000*CONSTS(18)))/(EXP( STATES(1)*CONSTS(110)) - 1.00000) ALGBRC(74) = ALGBRC(68)*STATES(17)*STATES(18)*( CONSTS(17)*(CONSTS(93)+(1.00000 - STATES(19)))+ CONSTS(100)*(CONSTS(92)+(1.00000 - STATES(20))))*CONSTS(37) ** CONSTS(111)*0.450000*1.00000 ALGBRC(108) = ((ALGBRC(57)+ALGBRC(46)+ALGBRC(54)+ALGBRC(61)) - 2.00000*ALGBRC(44))+ALGBRC(74)+ALGBRC(50) ALGBRC(111) = ALGBRC(106)+ALGBRC(107) ALGBRC(62) = (( CONSTS(16)*CONSTS(31))/(1.00000+CONSTS(33)/STATES(5)))*(STATES(1) - CONSTS(123)) ALGBRC(63) = (( CONSTS(99)*CONSTS(31))/(1.00000+CONSTS(33)/STATES(6)))*(STATES(1) - CONSTS(123)) ALGBRC(64) = ALGBRC(62)+ALGBRC(63) ALGBRC(65) = CONSTS(32)*(STATES(1) - CONSTS(123)) ALGBRC(112) = ALGBRC(64)+ALGBRC(65) ALGBRC(113) = ALGBRC(109)+ALGBRC(110) ALGBRC(114) = ALGBRC(111)+ALGBRC(112)+ALGBRC(113)+ALGBRC(108) ALGBRC(37) = ALGBRC(35)+ALGBRC(36) ALGBRC(40) = ALGBRC(38)+ALGBRC(39) ALGBRC(73) = ALGBRC(71)+ALGBRC(72) ALGBRC(77) = ALGBRC(75)+ALGBRC(76) ALGBRC(79) = ALGBRC(73)+ALGBRC(74)+ALGBRC(77) ALGBRC(89) = 3.00000*ALGBRC(87)+ 3.00000*ALGBRC(42)+ALGBRC(75) ALGBRC(90) = ALGBRC(87)+ALGBRC(88) ALGBRC(92) = 3.00000*ALGBRC(88)+ 3.00000*ALGBRC(43)+ALGBRC(76) ALGBRC(94) = ALGBRC(91)+ALGBRC(93) ALGBRC(97) = ALGBRC(95)+ALGBRC(96) RETURN END REAL FUNCTION TERNRY(TEST, VALA, VALB) LOGICAL TEST REAL VALA, VALB IF (TEST) THEN TERNRY = VALA ELSE TERNRY = VALB ENDIF RETURN END