C C There are a total of 113 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 125 entries in the constant variable array. C C C CONSTS(1) 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(2) is epi in component parameters (dimensionless). C CONSTS(3) is R in component parameters (joule_per_kelvin_per_kilomole). C CONSTS(97) is Frdy in component parameters (coulomb_per_mole). C CONSTS(107) is Temp in component parameters (kelvin). C CONSTS(111) is FoRT in component parameters (per_mV). C CONSTS(4) is Cmem in component parameters (farad). C CONSTS(112) is Qpow in component parameters (dimensionless). C CONSTS(5) is cellLength in component parameters (um). C CONSTS(98) is cellRadius in component parameters (um). C CONSTS(6) is junctionLength in component parameters (um). C CONSTS(99) is junctionRadius in component parameters (um). C CONSTS(7) is distSLcyto in component parameters (um). C CONSTS(8) is distJuncSL in component parameters (um). C CONSTS(9) is DcaJuncSL in component parameters (cm2_per_sec). C CONSTS(10) is DcaSLcyto in component parameters (cm2_per_sec). C CONSTS(11) is DnaJuncSL in component parameters (cm2_per_sec). C CONSTS(12) is DnaSLcyto in component parameters (cm2_per_sec). C CONSTS(108) is Vcell in component parameters (liter). C CONSTS(113) is Vmyo in component parameters (liter). C CONSTS(114) is Vsr in component parameters (liter). C CONSTS(115) is Vsl in component parameters (liter). C CONSTS(116) is Vjunc in component parameters (liter). C CONSTS(109) is SAjunc in component parameters (um2). C CONSTS(110) is SAsl in component parameters (um2). C CONSTS(13) is J_ca_juncsl in component parameters (liters_per_msec). C CONSTS(14) is J_ca_slmyo in component parameters (liters_per_msec). C CONSTS(15) is J_na_juncsl in component parameters (liters_per_msec). C CONSTS(16) is J_na_slmyo in component parameters (liters_per_msec). C CONSTS(17) is Fjunc in component parameters (dimensionless). C CONSTS(100) is Fsl in component parameters (dimensionless). C CONSTS(18) is Fjunc_CaL in component parameters (dimensionless). C CONSTS(101) is Fsl_CaL in component parameters (dimensionless). C CONSTS(117) is Cli in component parameters (mM). C CONSTS(118) is Clo in component parameters (mM). C CONSTS(19) is Ko in component parameters (mM). C CONSTS(20) is Nao in component parameters (mM). C CONSTS(21) is Cao in component parameters (mM). C CONSTS(22) is Mgi in component parameters (mM). C ALGBRC(10) is ena_junc in component parameters (mV). C ALGBRC(23) is ena_sl in component parameters (mV). C ALGBRC(27) is ek in component parameters (mV). C ALGBRC(31) is eca_junc in component parameters (mV). C ALGBRC(33) is eca_sl in component parameters (mV). C CONSTS(124) is ecl in component parameters (mV). C CONSTS(23) is GNa in component parameters (mS_per_uF). C CONSTS(24) is GNaB in component parameters (mS_per_uF). C CONSTS(25) is IbarNaK in component parameters (uA_per_uF). C CONSTS(26) is KmNaip in component parameters (mM). C CONSTS(27) is KmKo in component parameters (mM). C CONSTS(28) is Q10NaK in component parameters (dimensionless). C CONSTS(29) is Q10KmNai in component parameters (dimensionless). C CONSTS(30) is pNaK in component parameters (dimensionless). C CONSTS(31) is gkp in component parameters (mS_per_uF). C CONSTS(32) is GClCa in component parameters (mS_per_uF). C CONSTS(33) is GClB in component parameters (mS_per_uF). C CONSTS(34) is KdClCa in component parameters (mM). C CONSTS(35) is pNa in component parameters (cm_per_sec). C CONSTS(36) is pCa in component parameters (cm_per_sec). C CONSTS(37) is pK in component parameters (cm_per_sec). C CONSTS(38) is Q10CaL in component parameters (dimensionless). C CONSTS(39) is IbarNCX in component parameters (uA_per_uF). C CONSTS(40) is KmCai in component parameters (mM). C CONSTS(41) is KmCao in component parameters (mM). C CONSTS(42) is KmNai in component parameters (mM). C CONSTS(43) is KmNao in component parameters (mM). C CONSTS(44) is ksat in component parameters (dimensionless). C CONSTS(45) is nu in component parameters (dimensionless). C CONSTS(46) is Kdact in component parameters (mM). C CONSTS(47) is Q10NCX in component parameters (dimensionless). C CONSTS(48) is IbarSLCaP in component parameters (uA_per_uF). C CONSTS(49) is KmPCa in component parameters (mM). C CONSTS(50) is GCaB in component parameters (mS_per_uF). C CONSTS(51) is Q10SLCaP in component parameters (dimensionless). C CONSTS(52) is Q10SRCaP in component parameters (dimensionless). C CONSTS(53) is Vmax_SRCaP in component parameters (mM_per_msec). C CONSTS(54) is Kmf in component parameters (mM). C CONSTS(55) is Kmr in component parameters (mM). C CONSTS(56) is hillSRCaP in component parameters (dimensionless). C CONSTS(57) is ks in component parameters (per_msec). C CONSTS(58) is koCa in component parameters (per_mM2_per_msec). C CONSTS(59) is kom in component parameters (per_msec). C CONSTS(106) is kiCa in component parameters (per_mM_per_msec). C CONSTS(60) is kim in component parameters (per_msec). C CONSTS(61) is ec50SR in component parameters (mM). C CONSTS(62) is Bmax_Naj in component parameters (mM). C CONSTS(63) is Bmax_Nasl in component parameters (mM). C CONSTS(64) is koff_na in component parameters (per_msec). C CONSTS(65) is kon_na in component parameters (per_mM_per_msec). C CONSTS(66) is Bmax_TnClow in component parameters (mM). C CONSTS(67) is koff_tncl in component parameters (per_msec). C CONSTS(68) is kon_tncl in component parameters (per_mM_per_msec). C CONSTS(69) is Bmax_TnChigh in component parameters (mM). C CONSTS(70) is koff_tnchca in component parameters (per_msec). C CONSTS(71) is kon_tnchca in component parameters (per_mM_per_msec). C CONSTS(72) is koff_tnchmg in component parameters (per_msec). C CONSTS(73) is kon_tnchmg in component parameters (per_mM_per_msec). C CONSTS(74) is Bmax_CaM in component parameters (mM). C CONSTS(75) is koff_cam in component parameters (per_msec). C CONSTS(76) is kon_cam in component parameters (per_mM_per_msec). C CONSTS(77) is Bmax_myosin in component parameters (mM). C CONSTS(78) is koff_myoca in component parameters (per_msec). C CONSTS(79) is kon_myoca in component parameters (per_mM_per_msec). C CONSTS(80) is koff_myomg in component parameters (per_msec). C CONSTS(81) is kon_myomg in component parameters (per_mM_per_msec). C CONSTS(82) is Bmax_SR in component parameters (mM). C CONSTS(83) is koff_sr in component parameters (per_msec). C CONSTS(84) is kon_sr in component parameters (per_mM_per_msec). C CONSTS(119) is Bmax_SLlowsl in component parameters (mM). C CONSTS(120) is Bmax_SLlowj in component parameters (mM). C CONSTS(85) is koff_sll in component parameters (per_msec). C CONSTS(86) is kon_sll in component parameters (per_mM_per_msec). C CONSTS(121) is Bmax_SLhighsl in component parameters (mM). C CONSTS(122) is Bmax_SLhighj in component parameters (mM). C CONSTS(87) is koff_slh in component parameters (per_msec). C CONSTS(88) is kon_slh in component parameters (per_mM_per_msec). C CONSTS(123) is Bmax_Csqn in component parameters (mM). C CONSTS(89) is koff_csqn in component parameters (per_msec). C CONSTS(90) 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(34) is I_Na_junc in component I_Na (uA_per_uF). C ALGBRC(35) is I_Na_sl in component I_Na (uA_per_uF). C ALGBRC(36) is I_Na in component I_Na (uA_per_uF). C ALGBRC(37) is I_nabk_junc in component I_NaBK (uA_per_uF). C ALGBRC(38) is I_nabk_sl in component I_NaBK (uA_per_uF). C ALGBRC(39) is I_nabk in component I_NaBK (uA_per_uF). C CONSTS(102) is sigma in component I_NaK (dimensionless). C ALGBRC(40) is fnak in component I_NaK (dimensionless). C ALGBRC(41) is I_nak_junc in component I_NaK (uA_per_uF). C ALGBRC(42) is I_nak_sl in component I_NaK (uA_per_uF). C ALGBRC(43) is I_nak in component I_NaK (uA_per_uF). C CONSTS(103) 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(44) is rkr in component I_Kr (dimensionless). C ALGBRC(45) is I_kr in component I_Kr (uA_per_uF). C ALGBRC(46) is kp_kp in component I_Kp (dimensionless). C ALGBRC(47) is I_kp_junc in component I_Kp (uA_per_uF). C ALGBRC(48) is I_kp_sl in component I_Kp (uA_per_uF). C ALGBRC(49) is I_kp in component I_Kp (uA_per_uF). C ALGBRC(50) is eks in component I_Ks (mV). C CONSTS(91) is gks_junc in component I_Ks (mS_per_uF). C CONSTS(92) 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(51) is I_ks_junc in component I_Ks (uA_per_uF). C ALGBRC(52) is I_ks_sl in component I_Ks (uA_per_uF). C ALGBRC(53) is I_ks in component I_Ks (uA_per_uF). C STATES(12) is Na_i in component Na_Concentrations (mM). C CONSTS(104) is GtoSlow in component I_to (mS_per_uF). C CONSTS(105) 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(54) 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(55) is I_tof in component I_to (uA_per_uF). C ALGBRC(56) is I_to in component I_to (uA_per_uF). C ALGBRC(57) is aki in component I_Ki (dimensionless). C ALGBRC(58) is bki in component I_Ki (dimensionless). C ALGBRC(59) is kiss in component I_Ki (dimensionless). C ALGBRC(60) is I_ki in component I_Ki (uA_per_uF). C ALGBRC(61) is I_ClCa_junc in component I_ClCa (uA_per_uF). C ALGBRC(62) is I_ClCa_sl in component I_ClCa (uA_per_uF). C ALGBRC(63) is I_ClCa in component I_ClCa (uA_per_uF). C ALGBRC(64) 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(93) is fcaCaMSL in component I_Ca (dimensionless). C CONSTS(94) is fcaCaj in component I_Ca (dimensionless). C ALGBRC(65) is ibarca_j in component I_Ca (uA_per_uF). C ALGBRC(66) is ibarca_sl in component I_Ca (uA_per_uF). C ALGBRC(67) is ibark in component I_Ca (uA_per_uF). C ALGBRC(68) is ibarna_j in component I_Ca (uA_per_uF). C ALGBRC(69) is ibarna_sl in component I_Ca (uA_per_uF). C ALGBRC(70) is I_Ca_junc in component I_Ca (uA_per_uF). C ALGBRC(71) is I_Ca_sl in component I_Ca (uA_per_uF). C ALGBRC(72) is I_Ca in component I_Ca (uA_per_uF). C ALGBRC(73) is I_CaK in component I_Ca (uA_per_uF). C ALGBRC(74) is I_CaNa_junc in component I_Ca (uA_per_uF). C ALGBRC(75) is I_CaNa_sl in component I_Ca (uA_per_uF). C ALGBRC(76) is I_CaNa in component I_Ca (uA_per_uF). C ALGBRC(78) is I_Catot in component I_Ca (uA_per_uF). C ALGBRC(77) is Ka_junc in component I_NCX (dimensionless). C ALGBRC(79) is Ka_sl in component I_NCX (dimensionless). C ALGBRC(80) is s1_junc in component I_NCX (mM4). C ALGBRC(81) is s1_sl in component I_NCX (mM4). C ALGBRC(82) is s2_junc in component I_NCX (mM4). C ALGBRC(83) is s3_junc in component I_NCX (mM4). C ALGBRC(84) is s2_sl in component I_NCX (mM4). C ALGBRC(85) is s3_sl in component I_NCX (mM4). C ALGBRC(86) is I_ncx_junc in component I_NCX (uA_per_uF). C ALGBRC(87) is I_ncx_sl in component I_NCX (uA_per_uF). C ALGBRC(89) is I_ncx in component I_NCX (uA_per_uF). C ALGBRC(90) is I_pca_junc in component I_PCa (uA_per_uF). C ALGBRC(92) is I_pca_sl in component I_PCa (uA_per_uF). C ALGBRC(93) is I_pca in component I_PCa (uA_per_uF). C ALGBRC(94) is I_cabk_junc in component I_CaBK (uA_per_uF). C ALGBRC(95) is I_cabk_sl in component I_CaBK (uA_per_uF). C ALGBRC(96) is I_cabk in component I_CaBK (uA_per_uF). C CONSTS(95) is MaxSR in component SR_Fluxes (dimensionless). C CONSTS(96) 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(97) is J_SRCarel in component SR_Fluxes (mM_per_msec). C ALGBRC(98) is J_serca in component SR_Fluxes (mM_per_msec). C ALGBRC(99) 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(101) is dNa_Bj_dt in component Na_Buffers (mM_per_msec). C ALGBRC(102) 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(100) 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(103) is J_CaB_junction in component Junctional_and_SL_Ca_Buffers (mM_per_msec). C ALGBRC(104) 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(105) is I_Na_tot_junc in component Na_Concentrations (uA_per_uF). C ALGBRC(106) is I_Na_tot_sl in component Na_Concentrations (uA_per_uF). C ALGBRC(91) is I_Na_tot_sl2 in component Na_Concentrations (uA_per_uF). C ALGBRC(88) is I_Na_tot_junc2 in component Na_Concentrations (uA_per_uF). C ALGBRC(107) is I_K_tot in component K_Concentration (uA_per_uF). C ALGBRC(108) is I_Ca_tot_junc in component Ca_Concentrations (uA_per_uF). C ALGBRC(109) is I_Ca_tot_sl in component Ca_Concentrations (uA_per_uF). C ALGBRC(110) is I_Na_tot in component membrane_potential (uA_per_uF). C ALGBRC(111) is I_Cl_tot in component membrane_potential (uA_per_uF). C ALGBRC(112) is I_Ca_tot in component membrane_potential (uA_per_uF). C ALGBRC(113) 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(*) CONSTS(1) = 0 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(2) = 1.00000 CONSTS(3) = 8314.00 CONSTS(4) = 1.38100e-10 CONSTS(5) = 100.000 CONSTS(6) = 0.160000 CONSTS(7) = 0.450000 CONSTS(8) = 0.500000 CONSTS(9) = 1.64000e-06 CONSTS(10) = 1.22000e-06 CONSTS(11) = 1.09000e-05 CONSTS(12) = 1.79000e-05 CONSTS(13) = 8.24130e-13 CONSTS(14) = 3.27430e-12 CONSTS(15) = 1.83130e-14 CONSTS(16) = 1.63860e-12 CONSTS(17) = 0.110000 CONSTS(18) = 0.900000 CONSTS(19) = 5.40000 CONSTS(20) = 140.000 CONSTS(21) = 1.80000 CONSTS(22) = 1.00000 CONSTS(23) = 23.0000 CONSTS(24) = 0.000597000 CONSTS(25) = 1.00000*1.80000 CONSTS(26) = 11.0000 CONSTS(27) = 1.50000 CONSTS(28) = 1.63000 CONSTS(29) = 1.39000 CONSTS(30) = 0.0183300 CONSTS(31) = 2.00000*0.00100000 CONSTS(32) = 0.500000*0.109625 CONSTS(33) = 1.00000*0.00900000 CONSTS(34) = 0.100000 CONSTS(35) = 0.500000*1.50000e-08 CONSTS(36) = 0.500000*0.000540000 CONSTS(37) = 0.500000*2.70000e-07 CONSTS(38) = 1.80000 CONSTS(39) = 1.00000*4.50000 CONSTS(40) = 0.00359000 CONSTS(41) = 1.30000 CONSTS(42) = 12.2900 CONSTS(43) = 87.5000 CONSTS(44) = 0.320000 CONSTS(45) = 0.270000 CONSTS(46) = 0.000150000 CONSTS(47) = 1.57000 CONSTS(48) = 0.0673000 CONSTS(49) = 0.000500000 CONSTS(50) = 0.000551300 CONSTS(51) = 2.35000 CONSTS(52) = 2.60000 CONSTS(53) = 0.00531140 CONSTS(54) = 0.000246000 CONSTS(55) = 1.70000 CONSTS(56) = 1.78700 CONSTS(57) = 25.0000 CONSTS(58) = 10.0000 CONSTS(59) = 0.0600000 CONSTS(60) = 0.00500000 CONSTS(61) = 0.450000 CONSTS(62) = 7.56100 CONSTS(63) = 1.65000 CONSTS(64) = 0.00100000 CONSTS(65) = 0.000100000 CONSTS(66) = 0.0700000 CONSTS(67) = 0.0196000 CONSTS(68) = 32.7000 CONSTS(69) = 0.140000 CONSTS(70) = 3.20000e-05 CONSTS(71) = 2.37000 CONSTS(72) = 0.00333000 CONSTS(73) = 0.00300000 CONSTS(74) = 0.0240000 CONSTS(75) = 0.238000 CONSTS(76) = 34.0000 CONSTS(77) = 0.140000 CONSTS(78) = 0.000460000 CONSTS(79) = 13.8000 CONSTS(80) = 5.70000e-05 CONSTS(81) = 0.0157000 CONSTS(82) = 19.0000*0.000900000 CONSTS(83) = 0.0600000 CONSTS(84) = 100.000 CONSTS(85) = 1.30000 CONSTS(86) = 100.000 CONSTS(87) = 0.0300000 CONSTS(88) = 100.000 CONSTS(89) = 65.0000 CONSTS(90) = 100.000 CONSTS(91) = 0.00350000 CONSTS(92) = 0.00350000 CONSTS(93) = 0.00000 CONSTS(94) = 0.00000 CONSTS(95) = 15.0000 CONSTS(96) = 1.00000 CONSTS(124) = 0.00000 CONSTS(97) = 96485.0 CONSTS(98) = 10.2500 CONSTS(99) = 0.0150000 CONSTS(100) = 1.00000 - CONSTS(17) CONSTS(101) = 1.00000 - CONSTS(18) CONSTS(102) = (EXP(CONSTS(20)/67.3000) - 1.00000)/7.00000 CONSTS(103) = 0.0350000* (CONSTS(19)/5.40000) ** (1.0 / 2) CONSTS(104) = TERNRY(CONSTS(2).EQ.1.00000, 1.00000*0.130000*0.120000, 0.130000*0.300000*0.964000) CONSTS(105) = TERNRY(CONSTS(2).EQ.1.00000, 1.00000*0.130000*0.880000, 0.130000*0.300000*0.0360000) CONSTS(106) = 0.500000 CONSTS(107) = 310.000 CONSTS(108) = 3.14159265358979*CONSTS(98) ** 2.00000*CONSTS(5)*1.00000e-15 CONSTS(109) = 20150.0* 3.14159265358979*2.00000*CONSTS(6)*CONSTS(99) CONSTS(110) = 3.14159265358979*2.00000*CONSTS(98)*CONSTS(5) CONSTS(111) = CONSTS(97)/( CONSTS(3)*CONSTS(107)) CONSTS(112) = (CONSTS(107) - 310.000)/10.0000 CONSTS(113) = 0.650000*CONSTS(108) CONSTS(114) = 0.0350000*CONSTS(108) CONSTS(115) = 0.0200000*CONSTS(108) CONSTS(116) = 0.0539000*0.0100000*CONSTS(108) CONSTS(117) = 15.0000 CONSTS(118) = 150.000 CONSTS(119) = ( 0.0374000*CONSTS(113))/CONSTS(115) CONSTS(120) = (( 0.00460000*CONSTS(113))/CONSTS(116))*0.100000 CONSTS(121) = ( 0.0134000*CONSTS(113))/CONSTS(115) CONSTS(122) = (( 0.00165000*CONSTS(113))/CONSTS(116))*0.100000 CONSTS(123) = ( 0.140000*CONSTS(113))/CONSTS(114) CONSTS(124) = (1.00000/CONSTS(111))*log(CONSTS(117)/CONSTS(118)) RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RATES(4) = CONSTS(124) 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(68)*STATES(25)*(CONSTS(66) - STATES(28)) - CONSTS(67)*STATES(28) RATES(29) = CONSTS(71)*STATES(25)*((CONSTS(69) - STATES(29)) - STATES(30)) - CONSTS(70)*STATES(29) RATES(30) = CONSTS(73)*CONSTS(22)*((CONSTS(69) - STATES(29)) - STATES(30)) - CONSTS(72)*STATES(30) RATES(31) = CONSTS(76)*STATES(25)*(CONSTS(74) - STATES(31)) - CONSTS(75)*STATES(31) RATES(32) = CONSTS(79)*STATES(25)*((CONSTS(77) - STATES(32)) - STATES(33)) - CONSTS(78)*STATES(32) RATES(33) = CONSTS(81)*CONSTS(22)*((CONSTS(77) - STATES(32)) - STATES(33)) - CONSTS(80)*STATES(33) RATES(34) = CONSTS(84)*STATES(25)*(CONSTS(82) - STATES(34)) - CONSTS(83)*STATES(34) RATES(35) = CONSTS(86)*STATES(5)*(CONSTS(120) - STATES(35)) - CONSTS(85)*STATES(35) RATES(36) = CONSTS(86)*STATES(6)*(CONSTS(119) - STATES(36)) - CONSTS(85)*STATES(36) RATES(37) = CONSTS(88)*STATES(5)*(CONSTS(122) - STATES(37)) - CONSTS(87)*STATES(37) RATES(38) = CONSTS(88)*STATES(6)*(CONSTS(121) - STATES(38)) - CONSTS(87)*STATES(38) RATES(39) = CONSTS(90)*STATES(24)*(CONSTS(123) - STATES(39)) - CONSTS(89)*STATES(39) RATES(12) = (CONSTS(16)/CONSTS(113))*(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(95) - (CONSTS(95) - CONSTS(96))/(1.00000+CONSTS(61)/STATES(24) ** 2.50000) ALGBRC(24) = CONSTS(58)/ALGBRC(11) ALGBRC(28) = CONSTS(106)*ALGBRC(11) RATES(22) = ( ALGBRC(24)*STATES(5) ** 2.00000*STATES(21) - CONSTS(59)*STATES(22)) - ( ALGBRC(28)*STATES(5)*STATES(22) - CONSTS(60)*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(60)*ALGBRC(32) - ALGBRC(28)*STATES(5)*STATES(21)) - ( ALGBRC(24)*STATES(5) ** 2.00000*STATES(21) - CONSTS(59)*STATES(22)) RATES(23) = ( ALGBRC(28)*STATES(5)*STATES(22) - CONSTS(60)*STATES(23)) - ( CONSTS(59)*STATES(23) - ALGBRC(24)*STATES(5) ** 2.00000*ALGBRC(32)) ALGBRC(97) = (( CONSTS(57)*STATES(22))/1.00000)*(STATES(24) - STATES(5)) ALGBRC(98) = ( CONSTS(52) ** CONSTS(112)*CONSTS(53)*(STATES(25)/CONSTS(54) ** CONSTS(56) - STATES(24)/CONSTS(55) ** CONSTS(56)))/(1.00000+STATES(25)/CONSTS(54) ** CONSTS(56)+STATES(24)/CONSTS(55) ** CONSTS(56)) ALGBRC(99) = 5.34800e-06*(STATES(24) - STATES(5)) RATES(24) = (ALGBRC(98) - (( ALGBRC(99)*CONSTS(113))/CONSTS(114)+ALGBRC(97))) - ( CONSTS(90)*STATES(24)*(CONSTS(123) - STATES(39)) - CONSTS(89)*STATES(39)) ALGBRC(100) = ((((((((((( CONSTS(68)*STATES(25)*(CONSTS(66) - STATES(28)) - CONSTS(67)*STATES(28))+ CONSTS(71)*STATES(25)*((CONSTS(69) - STATES(29)) - STATES(30))) - CONSTS(70)*STATES(29))+ CONSTS(73)*CONSTS(22)*((CONSTS(69) - STATES(29)) - STATES(30))) - CONSTS(72)*STATES(30))+ CONSTS(76)*STATES(25)*(CONSTS(74) - STATES(31))) - CONSTS(75)*STATES(31))+ CONSTS(79)*STATES(25)*((CONSTS(77) - STATES(32)) - STATES(33))) - CONSTS(78)*STATES(32))+ CONSTS(81)*CONSTS(22)*((CONSTS(77) - STATES(32)) - STATES(33))) - CONSTS(80)*STATES(33))+( CONSTS(84)*STATES(25)*(CONSTS(82) - STATES(34)) - CONSTS(83)*STATES(34)) RATES(25) = (( - ALGBRC(98)*CONSTS(114))/CONSTS(113) - ALGBRC(100))+ (CONSTS(14)/CONSTS(113))*(STATES(6) - STATES(25)) ALGBRC(101) = CONSTS(65)*STATES(2)*(CONSTS(62) - STATES(26)) - CONSTS(64)*STATES(26) RATES(26) = ALGBRC(101) ALGBRC(102) = CONSTS(65)*STATES(3)*(CONSTS(63) - STATES(27)) - CONSTS(64)*STATES(27) RATES(27) = ALGBRC(102) ALGBRC(10) = (1.00000/CONSTS(111))*log(CONSTS(20)/STATES(2)) ALGBRC(34) = CONSTS(17)*CONSTS(23)*STATES(7) ** 3.00000*STATES(8)*STATES(9)*(STATES(1) - ALGBRC(10)) ALGBRC(37) = CONSTS(17)*CONSTS(24)*(STATES(1) - ALGBRC(10)) ALGBRC(40) = 1.00000/(1.00000+ 0.124500*EXP( - 0.100000*STATES(1)*CONSTS(111))+ 0.0365000*CONSTS(102)*EXP( - STATES(1)*CONSTS(111))) ALGBRC(41) = (( CONSTS(17)*CONSTS(25)*ALGBRC(40)*CONSTS(19))/(1.00000+CONSTS(26)/STATES(2) ** 4.00000))/(CONSTS(19)+CONSTS(27)) ALGBRC(68) = ( CONSTS(35)*STATES(1)*CONSTS(97)*CONSTS(111)*( 0.750000*STATES(2)*EXP( STATES(1)*CONSTS(111)) - 0.750000*CONSTS(20)))/(EXP( STATES(1)*CONSTS(111)) - 1.00000) ALGBRC(74) = CONSTS(18)*ALGBRC(68)*STATES(17)*STATES(18)*((1.00000 - STATES(19))+CONSTS(94))*CONSTS(38) ** CONSTS(112)*0.450000*1.00000 ALGBRC(77) = 1.00000/(1.00000+CONSTS(46)/STATES(5) ** 2.00000) ALGBRC(80) = EXP( CONSTS(45)*STATES(1)*CONSTS(111))*STATES(2) ** 3.00000*CONSTS(21) ALGBRC(82) = EXP( (CONSTS(45) - 1.00000)*STATES(1)*CONSTS(111))*CONSTS(20) ** 3.00000*STATES(5) ALGBRC(83) = CONSTS(40)*CONSTS(20) ** 3.00000*(1.00000+STATES(2)/CONSTS(42) ** 3.00000)+ CONSTS(43) ** 3.00000*STATES(5)*(1.00000+STATES(5)/CONSTS(40))+ CONSTS(41)*STATES(2) ** 3.00000+ STATES(2) ** 3.00000*CONSTS(21)+ CONSTS(20) ** 3.00000*STATES(5) ALGBRC(86) = (( CONSTS(17)*CONSTS(39)*CONSTS(47) ** CONSTS(112)*ALGBRC(77)*(ALGBRC(80) - ALGBRC(82)))/ALGBRC(83))/(1.00000+ CONSTS(44)*EXP( (CONSTS(45) - 1.00000)*STATES(1)*CONSTS(111))) ALGBRC(105) = ALGBRC(34)+ALGBRC(37)+ 3.00000*ALGBRC(86)+ 3.00000*ALGBRC(41)+ALGBRC(74) RATES(2) = (( - ALGBRC(105)*CONSTS(4))/( CONSTS(116)*CONSTS(97))+ (CONSTS(15)/CONSTS(116))*(STATES(3) - STATES(2))) - ALGBRC(101) ALGBRC(23) = (1.00000/CONSTS(111))*log(CONSTS(20)/STATES(3)) ALGBRC(35) = CONSTS(100)*CONSTS(23)*STATES(7) ** 3.00000*STATES(8)*STATES(9)*(STATES(1) - ALGBRC(23)) ALGBRC(38) = CONSTS(100)*CONSTS(24)*(STATES(1) - ALGBRC(23)) ALGBRC(42) = (( CONSTS(100)*CONSTS(25)*ALGBRC(40)*CONSTS(19))/(1.00000+CONSTS(26)/STATES(3) ** 4.00000))/(CONSTS(19)+CONSTS(27)) ALGBRC(69) = ( CONSTS(35)*STATES(1)*CONSTS(97)*CONSTS(111)*( 0.750000*STATES(3)*EXP( STATES(1)*CONSTS(111)) - 0.750000*CONSTS(20)))/(EXP( STATES(1)*CONSTS(111)) - 1.00000) ALGBRC(75) = CONSTS(101)*ALGBRC(69)*STATES(17)*STATES(18)*((1.00000 - STATES(20))+CONSTS(93))*CONSTS(38) ** CONSTS(112)*0.450000*1.00000 ALGBRC(79) = 1.00000/(1.00000+CONSTS(46)/STATES(6) ** 2.00000) ALGBRC(81) = EXP( CONSTS(45)*STATES(1)*CONSTS(111))*STATES(3) ** 3.00000*CONSTS(21) ALGBRC(84) = EXP( (CONSTS(45) - 1.00000)*STATES(1)*CONSTS(111))*CONSTS(20) ** 3.00000*STATES(6) ALGBRC(85) = CONSTS(40)*CONSTS(20) ** 3.00000*(1.00000+STATES(3)/CONSTS(42) ** 3.00000)+ CONSTS(43) ** 3.00000*STATES(6)*(1.00000+STATES(6)/CONSTS(40))+ CONSTS(41)*STATES(3) ** 3.00000+ STATES(3) ** 3.00000*CONSTS(21)+ CONSTS(20) ** 3.00000*STATES(6) ALGBRC(87) = (( CONSTS(100)*CONSTS(39)*CONSTS(47) ** CONSTS(112)*ALGBRC(79)*(ALGBRC(81) - ALGBRC(84)))/ALGBRC(85))/(1.00000+ CONSTS(44)*EXP( (CONSTS(45) - 1.00000)*STATES(1)*CONSTS(111))) ALGBRC(106) = ALGBRC(35)+ALGBRC(38)+ 3.00000*ALGBRC(87)+ 3.00000*ALGBRC(42)+ALGBRC(75) RATES(3) = (( - ALGBRC(106)*CONSTS(4))/( CONSTS(115)*CONSTS(97))+ (CONSTS(15)/CONSTS(115))*(STATES(2) - STATES(3))+ (CONSTS(16)/CONSTS(115))*(STATES(12) - STATES(3))) - ALGBRC(102) ALGBRC(103) = ( CONSTS(86)*STATES(5)*(CONSTS(120) - STATES(35)) - CONSTS(85)*STATES(35))+( CONSTS(88)*STATES(5)*(CONSTS(122) - STATES(37)) - CONSTS(87)*STATES(37)) ALGBRC(65) = ( CONSTS(36)*4.00000*STATES(1)*CONSTS(97)*CONSTS(111)*( 0.341000*STATES(5)*EXP( 2.00000*STATES(1)*CONSTS(111)) - 0.341000*CONSTS(21)))/(EXP( 2.00000*STATES(1)*CONSTS(111)) - 1.00000) ALGBRC(70) = CONSTS(18)*ALGBRC(65)*STATES(17)*STATES(18)*((1.00000 - STATES(19))+CONSTS(94))*CONSTS(38) ** CONSTS(112)*0.450000*1.00000 ALGBRC(90) = ( CONSTS(17)*CONSTS(51) ** CONSTS(112)*CONSTS(48)*STATES(5) ** 1.60000)/(CONSTS(49) ** 1.60000+STATES(5) ** 1.60000) ALGBRC(31) = ((1.00000/CONSTS(111))/2.00000)*log(CONSTS(21)/STATES(5)) ALGBRC(94) = CONSTS(17)*CONSTS(50)*(STATES(1) - ALGBRC(31)) ALGBRC(108) = (ALGBRC(70)+ALGBRC(94)+ALGBRC(90)) - 2.00000*ALGBRC(86) RATES(5) = ((( - ALGBRC(108)*CONSTS(4))/( CONSTS(116)*2.00000*CONSTS(97))+ (CONSTS(13)/CONSTS(116))*(STATES(6) - STATES(5))) - ALGBRC(103))+( ALGBRC(97)*CONSTS(114))/CONSTS(116)+( ALGBRC(99)*CONSTS(113))/CONSTS(116) ALGBRC(104) = ( CONSTS(86)*STATES(6)*(CONSTS(119) - STATES(36)) - CONSTS(85)*STATES(36))+( CONSTS(88)*STATES(6)*(CONSTS(121) - STATES(38)) - CONSTS(87)*STATES(38)) ALGBRC(66) = ( CONSTS(36)*4.00000*STATES(1)*CONSTS(97)*CONSTS(111)*( 0.341000*STATES(6)*EXP( 2.00000*STATES(1)*CONSTS(111)) - 0.341000*CONSTS(21)))/(EXP( 2.00000*STATES(1)*CONSTS(111)) - 1.00000) ALGBRC(71) = CONSTS(101)*ALGBRC(66)*STATES(17)*STATES(18)*((1.00000 - STATES(20))+CONSTS(93))*CONSTS(38) ** CONSTS(112)*0.450000*1.00000 ALGBRC(92) = ( CONSTS(100)*CONSTS(51) ** CONSTS(112)*CONSTS(48)*STATES(6) ** 1.60000)/(CONSTS(49) ** 1.60000+STATES(6) ** 1.60000) ALGBRC(33) = ((1.00000/CONSTS(111))/2.00000)*log(CONSTS(21)/STATES(6)) ALGBRC(95) = CONSTS(100)*CONSTS(50)*(STATES(1) - ALGBRC(33)) ALGBRC(109) = (ALGBRC(71)+ALGBRC(95)+ALGBRC(92)) - 2.00000*ALGBRC(87) RATES(6) = (( - ALGBRC(109)*CONSTS(4))/( CONSTS(115)*2.00000*CONSTS(97))+ (CONSTS(13)/CONSTS(115))*(STATES(5) - STATES(6))+ (CONSTS(14)/CONSTS(115))*(STATES(25) - STATES(6))) - ALGBRC(104) ALGBRC(43) = ALGBRC(41)+ALGBRC(42) ALGBRC(27) = (1.00000/CONSTS(111))*log(CONSTS(19)/STATES(4)) ALGBRC(44) = 1.00000/(1.00000+EXP((STATES(1)+74.0000)/24.0000)) ALGBRC(45) = CONSTS(103)*STATES(10)*ALGBRC(44)*(STATES(1) - ALGBRC(27)) ALGBRC(46) = 1.00000/(1.00000+EXP(7.48800 - STATES(1)/5.98000)) ALGBRC(47) = CONSTS(17)*CONSTS(31)*ALGBRC(46)*(STATES(1) - ALGBRC(27)) ALGBRC(48) = CONSTS(100)*CONSTS(31)*ALGBRC(46)*(STATES(1) - ALGBRC(27)) ALGBRC(49) = ALGBRC(47)+ALGBRC(48) ALGBRC(50) = (1.00000/CONSTS(111))*log((CONSTS(19)+ CONSTS(30)*CONSTS(20))/(STATES(4)+ CONSTS(30)*STATES(12))) ALGBRC(51) = CONSTS(17)*CONSTS(91)*STATES(11) ** 2.00000*(STATES(1) - ALGBRC(50)) ALGBRC(52) = CONSTS(100)*CONSTS(92)*STATES(11) ** 2.00000*(STATES(1) - ALGBRC(50)) ALGBRC(53) = ALGBRC(51)+ALGBRC(52) ALGBRC(54) = CONSTS(104)*STATES(13)*STATES(14)*(STATES(1) - ALGBRC(27)) ALGBRC(55) = CONSTS(105)*STATES(15)*STATES(16)*(STATES(1) - ALGBRC(27)) ALGBRC(56) = ALGBRC(54)+ALGBRC(55) ALGBRC(57) = 1.02000/(1.00000+EXP( 0.238500*((STATES(1) - ALGBRC(27)) - 59.2150))) ALGBRC(58) = ( 0.491240*EXP( 0.0803200*((STATES(1)+5.47600) - ALGBRC(27)))+EXP( 0.0617500*((STATES(1) - ALGBRC(27)) - 594.310)))/(1.00000+EXP( - 0.514300*((STATES(1) - ALGBRC(27))+4.75300))) ALGBRC(59) = ALGBRC(57)/(ALGBRC(57)+ALGBRC(58)) ALGBRC(60) = 1.00000*0.350000* (CONSTS(19)/5.40000) ** (1.0 / 2)*ALGBRC(59)*(STATES(1) - ALGBRC(27)) ALGBRC(67) = ( CONSTS(37)*STATES(1)*CONSTS(97)*CONSTS(111)*( 0.750000*STATES(4)*EXP( STATES(1)*CONSTS(111)) - 0.750000*CONSTS(19)))/(EXP( STATES(1)*CONSTS(111)) - 1.00000) ALGBRC(73) = ALGBRC(67)*STATES(17)*STATES(18)*( CONSTS(18)*(CONSTS(94)+(1.00000 - STATES(19)))+ CONSTS(101)*(CONSTS(93)+(1.00000 - STATES(20))))*CONSTS(38) ** CONSTS(112)*0.450000*1.00000 ALGBRC(107) = ((ALGBRC(56)+ALGBRC(45)+ALGBRC(53)+ALGBRC(60)) - 2.00000*ALGBRC(43))+ALGBRC(73)+ALGBRC(49) ALGBRC(110) = ALGBRC(105)+ALGBRC(106) ALGBRC(61) = (( CONSTS(17)*CONSTS(32))/(1.00000+CONSTS(34)/STATES(5)))*(STATES(1) - CONSTS(124)) ALGBRC(62) = (( CONSTS(100)*CONSTS(32))/(1.00000+CONSTS(34)/STATES(6)))*(STATES(1) - CONSTS(124)) ALGBRC(63) = ALGBRC(61)+ALGBRC(62) ALGBRC(64) = CONSTS(33)*(STATES(1) - CONSTS(124)) ALGBRC(111) = ALGBRC(63)+ALGBRC(64) ALGBRC(112) = ALGBRC(108)+ALGBRC(109) ALGBRC(113) = ALGBRC(110)+ALGBRC(111)+ALGBRC(112)+ALGBRC(107) RATES(1) = - (ALGBRC(113) - CONSTS(1)) 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(95) - (CONSTS(95) - CONSTS(96))/(1.00000+CONSTS(61)/STATES(24) ** 2.50000) ALGBRC(24) = CONSTS(58)/ALGBRC(11) ALGBRC(28) = CONSTS(106)*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(97) = (( CONSTS(57)*STATES(22))/1.00000)*(STATES(24) - STATES(5)) ALGBRC(98) = ( CONSTS(52) ** CONSTS(112)*CONSTS(53)*(STATES(25)/CONSTS(54) ** CONSTS(56) - STATES(24)/CONSTS(55) ** CONSTS(56)))/(1.00000+STATES(25)/CONSTS(54) ** CONSTS(56)+STATES(24)/CONSTS(55) ** CONSTS(56)) ALGBRC(99) = 5.34800e-06*(STATES(24) - STATES(5)) ALGBRC(100) = ((((((((((( CONSTS(68)*STATES(25)*(CONSTS(66) - STATES(28)) - CONSTS(67)*STATES(28))+ CONSTS(71)*STATES(25)*((CONSTS(69) - STATES(29)) - STATES(30))) - CONSTS(70)*STATES(29))+ CONSTS(73)*CONSTS(22)*((CONSTS(69) - STATES(29)) - STATES(30))) - CONSTS(72)*STATES(30))+ CONSTS(76)*STATES(25)*(CONSTS(74) - STATES(31))) - CONSTS(75)*STATES(31))+ CONSTS(79)*STATES(25)*((CONSTS(77) - STATES(32)) - STATES(33))) - CONSTS(78)*STATES(32))+ CONSTS(81)*CONSTS(22)*((CONSTS(77) - STATES(32)) - STATES(33))) - CONSTS(80)*STATES(33))+( CONSTS(84)*STATES(25)*(CONSTS(82) - STATES(34)) - CONSTS(83)*STATES(34)) ALGBRC(101) = CONSTS(65)*STATES(2)*(CONSTS(62) - STATES(26)) - CONSTS(64)*STATES(26) ALGBRC(102) = CONSTS(65)*STATES(3)*(CONSTS(63) - STATES(27)) - CONSTS(64)*STATES(27) ALGBRC(10) = (1.00000/CONSTS(111))*log(CONSTS(20)/STATES(2)) ALGBRC(34) = CONSTS(17)*CONSTS(23)*STATES(7) ** 3.00000*STATES(8)*STATES(9)*(STATES(1) - ALGBRC(10)) ALGBRC(37) = CONSTS(17)*CONSTS(24)*(STATES(1) - ALGBRC(10)) ALGBRC(40) = 1.00000/(1.00000+ 0.124500*EXP( - 0.100000*STATES(1)*CONSTS(111))+ 0.0365000*CONSTS(102)*EXP( - STATES(1)*CONSTS(111))) ALGBRC(41) = (( CONSTS(17)*CONSTS(25)*ALGBRC(40)*CONSTS(19))/(1.00000+CONSTS(26)/STATES(2) ** 4.00000))/(CONSTS(19)+CONSTS(27)) ALGBRC(68) = ( CONSTS(35)*STATES(1)*CONSTS(97)*CONSTS(111)*( 0.750000*STATES(2)*EXP( STATES(1)*CONSTS(111)) - 0.750000*CONSTS(20)))/(EXP( STATES(1)*CONSTS(111)) - 1.00000) ALGBRC(74) = CONSTS(18)*ALGBRC(68)*STATES(17)*STATES(18)*((1.00000 - STATES(19))+CONSTS(94))*CONSTS(38) ** CONSTS(112)*0.450000*1.00000 ALGBRC(77) = 1.00000/(1.00000+CONSTS(46)/STATES(5) ** 2.00000) ALGBRC(80) = EXP( CONSTS(45)*STATES(1)*CONSTS(111))*STATES(2) ** 3.00000*CONSTS(21) ALGBRC(82) = EXP( (CONSTS(45) - 1.00000)*STATES(1)*CONSTS(111))*CONSTS(20) ** 3.00000*STATES(5) ALGBRC(83) = CONSTS(40)*CONSTS(20) ** 3.00000*(1.00000+STATES(2)/CONSTS(42) ** 3.00000)+ CONSTS(43) ** 3.00000*STATES(5)*(1.00000+STATES(5)/CONSTS(40))+ CONSTS(41)*STATES(2) ** 3.00000+ STATES(2) ** 3.00000*CONSTS(21)+ CONSTS(20) ** 3.00000*STATES(5) ALGBRC(86) = (( CONSTS(17)*CONSTS(39)*CONSTS(47) ** CONSTS(112)*ALGBRC(77)*(ALGBRC(80) - ALGBRC(82)))/ALGBRC(83))/(1.00000+ CONSTS(44)*EXP( (CONSTS(45) - 1.00000)*STATES(1)*CONSTS(111))) ALGBRC(105) = ALGBRC(34)+ALGBRC(37)+ 3.00000*ALGBRC(86)+ 3.00000*ALGBRC(41)+ALGBRC(74) ALGBRC(23) = (1.00000/CONSTS(111))*log(CONSTS(20)/STATES(3)) ALGBRC(35) = CONSTS(100)*CONSTS(23)*STATES(7) ** 3.00000*STATES(8)*STATES(9)*(STATES(1) - ALGBRC(23)) ALGBRC(38) = CONSTS(100)*CONSTS(24)*(STATES(1) - ALGBRC(23)) ALGBRC(42) = (( CONSTS(100)*CONSTS(25)*ALGBRC(40)*CONSTS(19))/(1.00000+CONSTS(26)/STATES(3) ** 4.00000))/(CONSTS(19)+CONSTS(27)) ALGBRC(69) = ( CONSTS(35)*STATES(1)*CONSTS(97)*CONSTS(111)*( 0.750000*STATES(3)*EXP( STATES(1)*CONSTS(111)) - 0.750000*CONSTS(20)))/(EXP( STATES(1)*CONSTS(111)) - 1.00000) ALGBRC(75) = CONSTS(101)*ALGBRC(69)*STATES(17)*STATES(18)*((1.00000 - STATES(20))+CONSTS(93))*CONSTS(38) ** CONSTS(112)*0.450000*1.00000 ALGBRC(79) = 1.00000/(1.00000+CONSTS(46)/STATES(6) ** 2.00000) ALGBRC(81) = EXP( CONSTS(45)*STATES(1)*CONSTS(111))*STATES(3) ** 3.00000*CONSTS(21) ALGBRC(84) = EXP( (CONSTS(45) - 1.00000)*STATES(1)*CONSTS(111))*CONSTS(20) ** 3.00000*STATES(6) ALGBRC(85) = CONSTS(40)*CONSTS(20) ** 3.00000*(1.00000+STATES(3)/CONSTS(42) ** 3.00000)+ CONSTS(43) ** 3.00000*STATES(6)*(1.00000+STATES(6)/CONSTS(40))+ CONSTS(41)*STATES(3) ** 3.00000+ STATES(3) ** 3.00000*CONSTS(21)+ CONSTS(20) ** 3.00000*STATES(6) ALGBRC(87) = (( CONSTS(100)*CONSTS(39)*CONSTS(47) ** CONSTS(112)*ALGBRC(79)*(ALGBRC(81) - ALGBRC(84)))/ALGBRC(85))/(1.00000+ CONSTS(44)*EXP( (CONSTS(45) - 1.00000)*STATES(1)*CONSTS(111))) ALGBRC(106) = ALGBRC(35)+ALGBRC(38)+ 3.00000*ALGBRC(87)+ 3.00000*ALGBRC(42)+ALGBRC(75) ALGBRC(103) = ( CONSTS(86)*STATES(5)*(CONSTS(120) - STATES(35)) - CONSTS(85)*STATES(35))+( CONSTS(88)*STATES(5)*(CONSTS(122) - STATES(37)) - CONSTS(87)*STATES(37)) ALGBRC(65) = ( CONSTS(36)*4.00000*STATES(1)*CONSTS(97)*CONSTS(111)*( 0.341000*STATES(5)*EXP( 2.00000*STATES(1)*CONSTS(111)) - 0.341000*CONSTS(21)))/(EXP( 2.00000*STATES(1)*CONSTS(111)) - 1.00000) ALGBRC(70) = CONSTS(18)*ALGBRC(65)*STATES(17)*STATES(18)*((1.00000 - STATES(19))+CONSTS(94))*CONSTS(38) ** CONSTS(112)*0.450000*1.00000 ALGBRC(90) = ( CONSTS(17)*CONSTS(51) ** CONSTS(112)*CONSTS(48)*STATES(5) ** 1.60000)/(CONSTS(49) ** 1.60000+STATES(5) ** 1.60000) ALGBRC(31) = ((1.00000/CONSTS(111))/2.00000)*log(CONSTS(21)/STATES(5)) ALGBRC(94) = CONSTS(17)*CONSTS(50)*(STATES(1) - ALGBRC(31)) ALGBRC(108) = (ALGBRC(70)+ALGBRC(94)+ALGBRC(90)) - 2.00000*ALGBRC(86) ALGBRC(104) = ( CONSTS(86)*STATES(6)*(CONSTS(119) - STATES(36)) - CONSTS(85)*STATES(36))+( CONSTS(88)*STATES(6)*(CONSTS(121) - STATES(38)) - CONSTS(87)*STATES(38)) ALGBRC(66) = ( CONSTS(36)*4.00000*STATES(1)*CONSTS(97)*CONSTS(111)*( 0.341000*STATES(6)*EXP( 2.00000*STATES(1)*CONSTS(111)) - 0.341000*CONSTS(21)))/(EXP( 2.00000*STATES(1)*CONSTS(111)) - 1.00000) ALGBRC(71) = CONSTS(101)*ALGBRC(66)*STATES(17)*STATES(18)*((1.00000 - STATES(20))+CONSTS(93))*CONSTS(38) ** CONSTS(112)*0.450000*1.00000 ALGBRC(92) = ( CONSTS(100)*CONSTS(51) ** CONSTS(112)*CONSTS(48)*STATES(6) ** 1.60000)/(CONSTS(49) ** 1.60000+STATES(6) ** 1.60000) ALGBRC(33) = ((1.00000/CONSTS(111))/2.00000)*log(CONSTS(21)/STATES(6)) ALGBRC(95) = CONSTS(100)*CONSTS(50)*(STATES(1) - ALGBRC(33)) ALGBRC(109) = (ALGBRC(71)+ALGBRC(95)+ALGBRC(92)) - 2.00000*ALGBRC(87) ALGBRC(43) = ALGBRC(41)+ALGBRC(42) ALGBRC(27) = (1.00000/CONSTS(111))*log(CONSTS(19)/STATES(4)) ALGBRC(44) = 1.00000/(1.00000+EXP((STATES(1)+74.0000)/24.0000)) ALGBRC(45) = CONSTS(103)*STATES(10)*ALGBRC(44)*(STATES(1) - ALGBRC(27)) ALGBRC(46) = 1.00000/(1.00000+EXP(7.48800 - STATES(1)/5.98000)) ALGBRC(47) = CONSTS(17)*CONSTS(31)*ALGBRC(46)*(STATES(1) - ALGBRC(27)) ALGBRC(48) = CONSTS(100)*CONSTS(31)*ALGBRC(46)*(STATES(1) - ALGBRC(27)) ALGBRC(49) = ALGBRC(47)+ALGBRC(48) ALGBRC(50) = (1.00000/CONSTS(111))*log((CONSTS(19)+ CONSTS(30)*CONSTS(20))/(STATES(4)+ CONSTS(30)*STATES(12))) ALGBRC(51) = CONSTS(17)*CONSTS(91)*STATES(11) ** 2.00000*(STATES(1) - ALGBRC(50)) ALGBRC(52) = CONSTS(100)*CONSTS(92)*STATES(11) ** 2.00000*(STATES(1) - ALGBRC(50)) ALGBRC(53) = ALGBRC(51)+ALGBRC(52) ALGBRC(54) = CONSTS(104)*STATES(13)*STATES(14)*(STATES(1) - ALGBRC(27)) ALGBRC(55) = CONSTS(105)*STATES(15)*STATES(16)*(STATES(1) - ALGBRC(27)) ALGBRC(56) = ALGBRC(54)+ALGBRC(55) ALGBRC(57) = 1.02000/(1.00000+EXP( 0.238500*((STATES(1) - ALGBRC(27)) - 59.2150))) ALGBRC(58) = ( 0.491240*EXP( 0.0803200*((STATES(1)+5.47600) - ALGBRC(27)))+EXP( 0.0617500*((STATES(1) - ALGBRC(27)) - 594.310)))/(1.00000+EXP( - 0.514300*((STATES(1) - ALGBRC(27))+4.75300))) ALGBRC(59) = ALGBRC(57)/(ALGBRC(57)+ALGBRC(58)) ALGBRC(60) = 1.00000*0.350000* (CONSTS(19)/5.40000) ** (1.0 / 2)*ALGBRC(59)*(STATES(1) - ALGBRC(27)) ALGBRC(67) = ( CONSTS(37)*STATES(1)*CONSTS(97)*CONSTS(111)*( 0.750000*STATES(4)*EXP( STATES(1)*CONSTS(111)) - 0.750000*CONSTS(19)))/(EXP( STATES(1)*CONSTS(111)) - 1.00000) ALGBRC(73) = ALGBRC(67)*STATES(17)*STATES(18)*( CONSTS(18)*(CONSTS(94)+(1.00000 - STATES(19)))+ CONSTS(101)*(CONSTS(93)+(1.00000 - STATES(20))))*CONSTS(38) ** CONSTS(112)*0.450000*1.00000 ALGBRC(107) = ((ALGBRC(56)+ALGBRC(45)+ALGBRC(53)+ALGBRC(60)) - 2.00000*ALGBRC(43))+ALGBRC(73)+ALGBRC(49) ALGBRC(110) = ALGBRC(105)+ALGBRC(106) ALGBRC(61) = (( CONSTS(17)*CONSTS(32))/(1.00000+CONSTS(34)/STATES(5)))*(STATES(1) - CONSTS(124)) ALGBRC(62) = (( CONSTS(100)*CONSTS(32))/(1.00000+CONSTS(34)/STATES(6)))*(STATES(1) - CONSTS(124)) ALGBRC(63) = ALGBRC(61)+ALGBRC(62) ALGBRC(64) = CONSTS(33)*(STATES(1) - CONSTS(124)) ALGBRC(111) = ALGBRC(63)+ALGBRC(64) ALGBRC(112) = ALGBRC(108)+ALGBRC(109) ALGBRC(113) = ALGBRC(110)+ALGBRC(111)+ALGBRC(112)+ALGBRC(107) ALGBRC(36) = ALGBRC(34)+ALGBRC(35) ALGBRC(39) = ALGBRC(37)+ALGBRC(38) ALGBRC(72) = ALGBRC(70)+ALGBRC(71) ALGBRC(76) = ALGBRC(74)+ALGBRC(75) ALGBRC(78) = ALGBRC(72)+ALGBRC(73)+ALGBRC(76) ALGBRC(88) = 3.00000*ALGBRC(86)+ 3.00000*ALGBRC(41)+ALGBRC(74) ALGBRC(89) = ALGBRC(86)+ALGBRC(87) ALGBRC(91) = 3.00000*ALGBRC(87)+ 3.00000*ALGBRC(42)+ALGBRC(75) ALGBRC(93) = ALGBRC(90)+ALGBRC(92) ALGBRC(96) = ALGBRC(94)+ALGBRC(95) RETURN END REAL FUNCTION TERNRY(TEST, VALA, VALB) LOGICAL TEST REAL VALA, VALB IF (TEST) THEN TERNRY = VALA ELSE TERNRY = VALB ENDIF RETURN END