Generated Code
The following is f77 code generated by the CellML API from this CellML file. (Back to language selection)
The raw code is available.
C C There are a total of 15 entries in the algebraic variable array. C There are a total of 13 entries in each of the rate and state variable arrays. C There are a total of 71 entries in the constant variable array. C C C VOI is time in component environment (minute). C STATES(1) is Cln2 in component Cln2 (dimensionless). C CONSTS(1) is ks_n2 in component Cln2 (first_order_rate_constant). C CONSTS(2) is ks_n2_ in component Cln2 (first_order_rate_constant). C CONSTS(3) is kd_n2 in component Cln2 (first_order_rate_constant). C STATES(2) is mass in component mass (dimensionless). C ALGBRC(13) is SBF in component SBF (dimensionless). C STATES(3) is Clb2_T in component Clb2_T (dimensionless). C CONSTS(4) is Hct1_T in component Clb2_T (dimensionless). C CONSTS(5) is ks_b2 in component Clb2_T (first_order_rate_constant). C CONSTS(6) is ks_b2_ in component Clb2_T (first_order_rate_constant). C CONSTS(7) is kd_b2 in component Clb2_T (first_order_rate_constant). C CONSTS(8) is kd_b2_ in component Clb2_T (first_order_rate_constant). C CONSTS(9) is kd_b2__ in component Clb2_T (first_order_rate_constant). C ALGBRC(1) is Vd_b2 in component Clb2_T (first_order_rate_constant). C ALGBRC(4) is Mcm1 in component Mcm1 (dimensionless). C STATES(4) is Hct1 in component Hct1 (dimensionless). C STATES(5) is Cdc20 in component Cdc20 (dimensionless). C ALGBRC(3) is Clb2 in component Clb2 (dimensionless). C STATES(6) is Clb2_Sic1 in component Clb2_Sic1 (dimensionless). C ALGBRC(5) is Clb5 in component Clb5 (dimensionless). C STATES(7) is Clb5_Sic1 in component Clb5_Sic1 (dimensionless). C STATES(8) is Clb5_T in component Clb5_T (dimensionless). C ALGBRC(6) is Sic1 in component Sic1 (dimensionless). C STATES(9) is Sic1_T in component Sic1_T (dimensionless). C CONSTS(10) is ks_b5 in component Clb5_T (first_order_rate_constant). C CONSTS(11) is ks_b5_ in component Clb5_T (first_order_rate_constant). C CONSTS(12) is kd_b5 in component Clb5_T (first_order_rate_constant). C CONSTS(13) is kd_b5_ in component Clb5_T (first_order_rate_constant). C ALGBRC(7) is Vd_b5 in component Clb5_T (first_order_rate_constant). C ALGBRC(15) is MBF in component MBF (dimensionless). C ALGBRC(8) is Bck2 in component Bck2 (dimensionless). C CONSTS(14) is Bck2_0 in component Bck2 (dimensionless). C ALGBRC(9) is Cln3 in component Cln3 (dimensionless). C CONSTS(15) is Jn3 in component Cln3 (dimensionless). C CONSTS(16) is Dn3 in component Cln3 (dimensionless). C CONSTS(17) is Cln3_max in component Cln3 (dimensionless). C CONSTS(18) is ks_c1 in component Sic1_T (first_order_rate_constant). C CONSTS(19) is ks_c1_ in component Sic1_T (first_order_rate_constant). C CONSTS(20) is kd1_c1 in component parameters (first_order_rate_constant). C CONSTS(21) is Jd2_c1 in component parameters (dimensionless). C ALGBRC(11) is Vd2_c1 in component Vd2_c1 (first_order_rate_constant). C ALGBRC(14) is Swi5 in component Swi5 (dimensionless). C CONSTS(22) is kas_b2 in component Clb2_Sic1 (first_order_rate_constant). C CONSTS(23) is kdi_b2 in component Clb2_Sic1 (first_order_rate_constant). C CONSTS(24) is kas_b5 in component Clb5_Sic1 (first_order_rate_constant). C CONSTS(25) is kdi_b5 in component Clb5_Sic1 (first_order_rate_constant). C CONSTS(26) is kd2_c1 in component Vd2_c1 (first_order_rate_constant). C CONSTS(27) is epsilonc1_n3 in component Vd2_c1 (dimensionless). C CONSTS(28) is epsilonc1_k2 in component Vd2_c1 (dimensionless). C CONSTS(29) is epsilonc1_b5 in component Vd2_c1 (dimensionless). C CONSTS(30) is epsilonc1_b2 in component Vd2_c1 (dimensionless). C STATES(10) is Cdc20_T in component Cdc20_T (dimensionless). C CONSTS(31) is ks_20 in component Cdc20_T (first_order_rate_constant). C CONSTS(32) is ks_20_ in component Cdc20_T (first_order_rate_constant). C CONSTS(33) is kd_20 in component parameters (first_order_rate_constant). C CONSTS(34) is ka_20 in component Cdc20 (first_order_rate_constant). C CONSTS(35) is ki_20 in component Cdc20 (first_order_rate_constant). C CONSTS(36) is ki_20_ in component Cdc20 (first_order_rate_constant). C ALGBRC(2) is Vi_20 in component Cdc20 (first_order_rate_constant). C STATES(11) is ORI in component ORI (dimensionless). C STATES(12) is SPN in component SPN (dimensionless). C CONSTS(37) is ka_t1 in component Hct1 (first_order_rate_constant). C CONSTS(38) is ka_t1_ in component Hct1 (first_order_rate_constant). C CONSTS(39) is ki_t1 in component Hct1 (first_order_rate_constant). C CONSTS(40) is ki_t1_ in component Hct1 (first_order_rate_constant). C ALGBRC(12) is Vi_t1 in component Hct1 (first_order_rate_constant). C CONSTS(41) is Ji_t1 in component Hct1 (dimensionless). C CONSTS(42) is Ja_t1 in component Hct1 (dimensionless). C CONSTS(43) is epsiloni_t1_n2 in component Hct1 (dimensionless). C CONSTS(44) is epsiloni_t1_b5 in component Hct1 (dimensionless). C CONSTS(45) is epsiloni_t1_b2 in component Hct1 (dimensionless). C CONSTS(46) is mu in component mass (first_order_rate_constant). C CONSTS(47) is ks_ori in component ORI (first_order_rate_constant). C CONSTS(48) is kd_ori in component ORI (first_order_rate_constant). C CONSTS(49) is epsilonori_b2 in component ORI (dimensionless). C STATES(13) is BUD in component BUD (dimensionless). C CONSTS(50) is ks_bud in component BUD (first_order_rate_constant). C CONSTS(51) is kd_bud in component BUD (first_order_rate_constant). C CONSTS(52) is epsilonbud_b5 in component BUD (dimensionless). C CONSTS(53) is ks_spn in component SPN (first_order_rate_constant). C CONSTS(54) is kd_spn in component SPN (first_order_rate_constant). C CONSTS(55) is J_spn in component SPN (dimensionless). C CONSTS(56) is ka_sbf in component SBF (first_order_rate_constant). C CONSTS(57) is ki_sbf in component SBF (first_order_rate_constant). C CONSTS(58) is ki_sbf_ in component SBF (first_order_rate_constant). C ALGBRC(10) is Va_sbf in component SBF (first_order_rate_constant). C CONSTS(59) is Ji_sbf in component SBF (dimensionless). C CONSTS(60) is Ja_sbf in component SBF (dimensionless). C CONSTS(61) is epsilonsbf_n3 in component SBF (dimensionless). C CONSTS(62) is epsilonsbf_b5 in component SBF (dimensionless). C CONSTS(63) is ka_mcm in component Mcm1 (first_order_rate_constant). C CONSTS(64) is ki_mcm in component Mcm1 (first_order_rate_constant). C CONSTS(65) is Ji_mcm in component Mcm1 (dimensionless). C CONSTS(66) is Ja_mcm in component Mcm1 (dimensionless). C CONSTS(67) is ka_swi in component Swi5 (first_order_rate_constant). C CONSTS(68) is ki_swi in component Swi5 (first_order_rate_constant). C CONSTS(69) is ki_swi_ in component Swi5 (first_order_rate_constant). C CONSTS(70) is Ji_swi in component Swi5 (dimensionless). C CONSTS(71) is Ja_swi in component Swi5 (dimensionless). C RATES(1) is d/dt Cln2 in component Cln2 (dimensionless). C RATES(3) is d/dt Clb2_T in component Clb2_T (dimensionless). C RATES(8) is d/dt Clb5_T in component Clb5_T (dimensionless). C RATES(9) is d/dt Sic1_T in component Sic1_T (dimensionless). C RATES(6) is d/dt Clb2_Sic1 in component Clb2_Sic1 (dimensionless). C RATES(7) is d/dt Clb5_Sic1 in component Clb5_Sic1 (dimensionless). C RATES(10) is d/dt Cdc20_T in component Cdc20_T (dimensionless). C RATES(5) is d/dt Cdc20 in component Cdc20 (dimensionless). C RATES(4) is d/dt Hct1 in component Hct1 (dimensionless). C RATES(2) is d/dt mass in component mass (dimensionless). C RATES(11) is d/dt ORI in component ORI (dimensionless). C RATES(13) is d/dt BUD in component BUD (dimensionless). C RATES(12) is d/dt SPN in component SPN (dimensionless). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) STATES(1) = 0.0078 CONSTS(1) = 0 CONSTS(2) = 0.05 CONSTS(3) = 0.1 STATES(2) = 0.6608 STATES(3) = 0.2342 CONSTS(4) = 1 CONSTS(5) = 0.002 CONSTS(6) = 0.05 CONSTS(7) = 0.01 CONSTS(8) = 2 CONSTS(9) = 0.05 STATES(4) = 0.9946 STATES(5) = 0.6848 STATES(6) = 0.079 STATES(7) = 0.0207 STATES(8) = 0.0614 STATES(9) = 0.1231 CONSTS(10) = 0.006 CONSTS(11) = 0.02 CONSTS(12) = 0.1 CONSTS(13) = 0.25 CONSTS(14) = 0.0027 CONSTS(15) = 6 CONSTS(16) = 1 CONSTS(17) = 0.02 CONSTS(18) = 0.02 CONSTS(19) = 0.1 CONSTS(20) = 0.01 CONSTS(21) = 0.05 CONSTS(22) = 50 CONSTS(23) = 0.05 CONSTS(24) = 50 CONSTS(25) = 0.05 CONSTS(26) = 0.3 CONSTS(27) = 20 CONSTS(28) = 2 CONSTS(29) = 1 CONSTS(30) = 0.067 STATES(10) = 0.8332 CONSTS(31) = 0.005 CONSTS(32) = 0.06 CONSTS(33) = 0.08 CONSTS(34) = 1 CONSTS(35) = 0.1 CONSTS(36) = 10 STATES(11) = 0 STATES(12) = 0 CONSTS(37) = 0.04 CONSTS(38) = 2 CONSTS(39) = 0 CONSTS(40) = 0.64 CONSTS(41) = 0.05 CONSTS(42) = 0.05 CONSTS(43) = 1 CONSTS(44) = 0.5 CONSTS(45) = 1 CONSTS(46) = 0.005776 CONSTS(47) = 2 CONSTS(48) = 0.06 CONSTS(49) = 0.4 STATES(13) = 0 CONSTS(50) = 0.3 CONSTS(51) = 0.06 CONSTS(52) = 1 CONSTS(53) = 0.08 CONSTS(54) = 0.06 CONSTS(55) = 0.2 CONSTS(56) = 1 CONSTS(57) = 0.5 CONSTS(58) = 6 CONSTS(59) = 0.01 CONSTS(60) = 0.01 CONSTS(61) = 75 CONSTS(62) = 0.5 CONSTS(63) = 1 CONSTS(64) = 0.15 CONSTS(65) = 1 CONSTS(66) = 1 CONSTS(67) = 1 CONSTS(68) = 0.3 CONSTS(69) = 0.2 CONSTS(70) = 0.1 CONSTS(71) = 0.1 RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RATES(2) = CONSTS(46)*STATES(2) ALGBRC(2) = TERNRY(STATES(11).GE.1.00000, CONSTS(36), TERNRY(STATES(12).GE.1.00000, CONSTS(35), 0.100000) RATES(5) = CONSTS(34)*(STATES(10) - STATES(5)) - STATES(5)*(ALGBRC(2)+CONSTS(33)) ALGBRC(3) = STATES(3) - STATES(6) RATES(10) = (CONSTS(31)+ CONSTS(32)*ALGBRC(3)) - CONSTS(33)*STATES(10) RATES(12) = ( CONSTS(53)*ALGBRC(3))/(CONSTS(55)+ALGBRC(3)) - CONSTS(54)*STATES(12) ALGBRC(1) = CONSTS(7)*(CONSTS(4) - STATES(4))+ CONSTS(8)*STATES(4)+ CONSTS(9)*STATES(5) ALGBRC(4) = ( 2.00000*CONSTS(63)*ALGBRC(3)*CONSTS(65))/(((CONSTS(64)+ CONSTS(63)*ALGBRC(3)*CONSTS(65)+ CONSTS(64)*CONSTS(66)) - CONSTS(63)*ALGBRC(3))+ ((CONSTS(64)+ CONSTS(63)*ALGBRC(3)*CONSTS(65)+ CONSTS(64)*CONSTS(66)) - CONSTS(63)*ALGBRC(3) ** 2.00000 - 4.00000*(CONSTS(64) - CONSTS(63)*ALGBRC(3))*CONSTS(63)*ALGBRC(3)*CONSTS(65)) ** (1.0 / 2)) RATES(3) = STATES(2)*(CONSTS(5)+ CONSTS(6)*ALGBRC(4)) - ALGBRC(1)*STATES(3) ALGBRC(5) = STATES(8) - STATES(7) RATES(11) = CONSTS(47)*(ALGBRC(5)+ CONSTS(49)*ALGBRC(3)) - CONSTS(48)*STATES(11) ALGBRC(9) = ( CONSTS(17)*CONSTS(16)*STATES(2))/(CONSTS(15)+ CONSTS(16)*STATES(2)) RATES(13) = CONSTS(50)*(STATES(1)+ALGBRC(9)+ CONSTS(52)*ALGBRC(5)) - CONSTS(51)*STATES(13) ALGBRC(6) = STATES(9) - (STATES(6)+STATES(7)) ALGBRC(8) = CONSTS(14)*STATES(2) ALGBRC(11) = CONSTS(26)*( CONSTS(27)*ALGBRC(9)+ CONSTS(28)*ALGBRC(8)+STATES(1)+ CONSTS(29)*ALGBRC(5)+ CONSTS(30)*ALGBRC(3)) RATES(6) = CONSTS(22)*ALGBRC(3)*ALGBRC(6) - STATES(6)*(CONSTS(23)+ALGBRC(1)+CONSTS(20)+ALGBRC(11)/(CONSTS(21)+STATES(9))) ALGBRC(7) = CONSTS(12)+ CONSTS(13)*STATES(5) RATES(7) = CONSTS(24)*ALGBRC(5)*ALGBRC(6) - STATES(7)*(CONSTS(25)+ALGBRC(7)+CONSTS(20)+ALGBRC(11)/(CONSTS(21)+STATES(9))) ALGBRC(12) = CONSTS(39)+ CONSTS(40)*(ALGBRC(9)+ CONSTS(43)*STATES(1)+ CONSTS(44)*ALGBRC(5)+ CONSTS(45)*ALGBRC(3)) RATES(4) = ( (CONSTS(37)+ CONSTS(38)*STATES(5))*(CONSTS(4) - STATES(4)))/((CONSTS(42)+CONSTS(4)) - STATES(4)) - ( ALGBRC(12)*STATES(4))/(CONSTS(41)+STATES(4)) ALGBRC(10) = CONSTS(56)*(STATES(1)+ CONSTS(61)*(ALGBRC(9)+ALGBRC(8))+ CONSTS(62)*ALGBRC(5)) ALGBRC(13) = ( 2.00000*ALGBRC(10)*CONSTS(59))/(((CONSTS(57)+ CONSTS(58)*ALGBRC(3)+ ALGBRC(10)*CONSTS(59)+ (CONSTS(57)+ CONSTS(58)*ALGBRC(3))*CONSTS(60)) - ALGBRC(10))+ ((CONSTS(57)+ CONSTS(58)*ALGBRC(3)+ ALGBRC(10)*CONSTS(59)+ (CONSTS(57)+ CONSTS(58)*ALGBRC(3))*CONSTS(60)) - ALGBRC(10) ** 2.00000 - 4.00000*ALGBRC(10)*CONSTS(59)*((CONSTS(57)+ CONSTS(58)*ALGBRC(3)) - ALGBRC(10))) ** (1.0 / 2)) RATES(1) = STATES(2)*(CONSTS(1)+ CONSTS(2)*ALGBRC(13)) - CONSTS(3)*STATES(1) ALGBRC(14) = ( 2.00000*CONSTS(67)*STATES(5)*CONSTS(70))/(((CONSTS(68)+ CONSTS(69)*ALGBRC(3)+ CONSTS(67)*STATES(5)*CONSTS(70)+ (CONSTS(68)+ CONSTS(69)*ALGBRC(3))*CONSTS(71)) - CONSTS(67)*STATES(5))+ ((CONSTS(68)+ CONSTS(69)*ALGBRC(3)+ CONSTS(67)*STATES(5)*CONSTS(70)+ (CONSTS(68)+ CONSTS(69)*ALGBRC(3))*CONSTS(71)) - CONSTS(67)*STATES(5) ** 2.00000 - 4.00000*((CONSTS(68)+ CONSTS(69)*ALGBRC(3)) - CONSTS(67)*STATES(5))*CONSTS(67)*STATES(5)*CONSTS(70)) ** (1.0 / 2)) RATES(9) = (CONSTS(18)+ CONSTS(19)*ALGBRC(14)) - STATES(9)*(CONSTS(20)+ALGBRC(11)/(CONSTS(21)+STATES(9))) ALGBRC(15) = ALGBRC(13) RATES(8) = STATES(2)*(CONSTS(10)+ CONSTS(11)*ALGBRC(15)) - ALGBRC(7)*STATES(8) RETURN END SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) ALGBRC(2) = TERNRY(STATES(11).GE.1.00000, CONSTS(36), TERNRY(STATES(12).GE.1.00000, CONSTS(35), 0.100000) ALGBRC(3) = STATES(3) - STATES(6) ALGBRC(1) = CONSTS(7)*(CONSTS(4) - STATES(4))+ CONSTS(8)*STATES(4)+ CONSTS(9)*STATES(5) ALGBRC(4) = ( 2.00000*CONSTS(63)*ALGBRC(3)*CONSTS(65))/(((CONSTS(64)+ CONSTS(63)*ALGBRC(3)*CONSTS(65)+ CONSTS(64)*CONSTS(66)) - CONSTS(63)*ALGBRC(3))+ ((CONSTS(64)+ CONSTS(63)*ALGBRC(3)*CONSTS(65)+ CONSTS(64)*CONSTS(66)) - CONSTS(63)*ALGBRC(3) ** 2.00000 - 4.00000*(CONSTS(64) - CONSTS(63)*ALGBRC(3))*CONSTS(63)*ALGBRC(3)*CONSTS(65)) ** (1.0 / 2)) ALGBRC(5) = STATES(8) - STATES(7) ALGBRC(9) = ( CONSTS(17)*CONSTS(16)*STATES(2))/(CONSTS(15)+ CONSTS(16)*STATES(2)) ALGBRC(6) = STATES(9) - (STATES(6)+STATES(7)) ALGBRC(8) = CONSTS(14)*STATES(2) ALGBRC(11) = CONSTS(26)*( CONSTS(27)*ALGBRC(9)+ CONSTS(28)*ALGBRC(8)+STATES(1)+ CONSTS(29)*ALGBRC(5)+ CONSTS(30)*ALGBRC(3)) ALGBRC(7) = CONSTS(12)+ CONSTS(13)*STATES(5) ALGBRC(12) = CONSTS(39)+ CONSTS(40)*(ALGBRC(9)+ CONSTS(43)*STATES(1)+ CONSTS(44)*ALGBRC(5)+ CONSTS(45)*ALGBRC(3)) ALGBRC(10) = CONSTS(56)*(STATES(1)+ CONSTS(61)*(ALGBRC(9)+ALGBRC(8))+ CONSTS(62)*ALGBRC(5)) ALGBRC(13) = ( 2.00000*ALGBRC(10)*CONSTS(59))/(((CONSTS(57)+ CONSTS(58)*ALGBRC(3)+ ALGBRC(10)*CONSTS(59)+ (CONSTS(57)+ CONSTS(58)*ALGBRC(3))*CONSTS(60)) - ALGBRC(10))+ ((CONSTS(57)+ CONSTS(58)*ALGBRC(3)+ ALGBRC(10)*CONSTS(59)+ (CONSTS(57)+ CONSTS(58)*ALGBRC(3))*CONSTS(60)) - ALGBRC(10) ** 2.00000 - 4.00000*ALGBRC(10)*CONSTS(59)*((CONSTS(57)+ CONSTS(58)*ALGBRC(3)) - ALGBRC(10))) ** (1.0 / 2)) ALGBRC(14) = ( 2.00000*CONSTS(67)*STATES(5)*CONSTS(70))/(((CONSTS(68)+ CONSTS(69)*ALGBRC(3)+ CONSTS(67)*STATES(5)*CONSTS(70)+ (CONSTS(68)+ CONSTS(69)*ALGBRC(3))*CONSTS(71)) - CONSTS(67)*STATES(5))+ ((CONSTS(68)+ CONSTS(69)*ALGBRC(3)+ CONSTS(67)*STATES(5)*CONSTS(70)+ (CONSTS(68)+ CONSTS(69)*ALGBRC(3))*CONSTS(71)) - CONSTS(67)*STATES(5) ** 2.00000 - 4.00000*((CONSTS(68)+ CONSTS(69)*ALGBRC(3)) - CONSTS(67)*STATES(5))*CONSTS(67)*STATES(5)*CONSTS(70)) ** (1.0 / 2)) ALGBRC(15) = ALGBRC(13) RETURN END REAL FUNCTION TERNRY(TEST, VALA, VALB) LOGICAL TEST REAL VALA, VALB IF (TEST) THEN TERNRY = VALA ELSE TERNRY = VALB ENDIF RETURN END