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 9 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 43 entries in the constant variable array.
C
C
C VOI is time in component environment (minute).
C CONSTS(1) is k1 in component rate_constants (first_order_rate_constant).
C ALGBRC(2) is k2 in component rate_constants (first_order_rate_constant).
C CONSTS(2) is k2_ in component rate_constants (first_order_rate_constant).
C CONSTS(3) is k3 in component rate_constants (first_order_rate_constant).
C CONSTS(4) is k4 in component rate_constants (first_order_rate_constant).
C CONSTS(5) is k5 in component rate_constants (first_order_rate_constant).
C ALGBRC(1) is k6 in component rate_constants (first_order_rate_constant).
C CONSTS(6) is k6_ in component rate_constants (first_order_rate_constant).
C CONSTS(7) is k7 in component rate_constants (first_order_rate_constant).
C CONSTS(8) is k7r in component rate_constants (first_order_rate_constant).
C CONSTS(9) is k8 in component rate_constants (first_order_rate_constant).
C CONSTS(10) is k8r in component rate_constants (first_order_rate_constant).
C ALGBRC(6) is kwee in component rate_constants (first_order_rate_constant).
C ALGBRC(8) is k25 in component rate_constants (first_order_rate_constant).
C CONSTS(11) is ku in component rate_constants (first_order_rate_constant).
C CONSTS(12) is kp in component rate_constants (first_order_rate_constant).
C CONSTS(13) is kur in component rate_constants (first_order_rate_constant).
C CONSTS(14) is ku2 in component rate_constants (first_order_rate_constant).
C CONSTS(15) is kur2 in component rate_constants (first_order_rate_constant).
C CONSTS(16) is kc in component rate_constants (first_order_rate_constant).
C CONSTS(17) is kcr in component rate_constants (first_order_rate_constant).
C CONSTS(18) is kw in component rate_constants (first_order_rate_constant).
C CONSTS(19) is kwr in component rate_constants (first_order_rate_constant).
C CONSTS(20) is ki in component rate_constants (first_order_rate_constant).
C CONSTS(21) is kir in component rate_constants (first_order_rate_constant).
C CONSTS(22) is mu in component rate_constants (first_order_rate_constant).
C CONSTS(23) is Kmu2 in component rate_constants (dimensionless).
C CONSTS(24) is Kmur2 in component rate_constants (dimensionless).
C CONSTS(25) is Kmi in component rate_constants (dimensionless).
C CONSTS(26) is Kmir in component rate_constants (dimensionless).
C CONSTS(27) is Kmw in component rate_constants (dimensionless).
C CONSTS(28) is Kmwr in component rate_constants (dimensionless).
C CONSTS(29) is Kmu in component rate_constants (dimensionless).
C CONSTS(30) is Kmur in component rate_constants (dimensionless).
C CONSTS(31) is Kmc in component rate_constants (dimensionless).
C CONSTS(32) is Kmcr in component rate_constants (dimensionless).
C CONSTS(33) is Kmp in component rate_constants (dimensionless).
C CONSTS(34) is V2 in component rate_constants (first_order_rate_constant).
C CONSTS(35) is V2_ in component rate_constants (first_order_rate_constant).
C CONSTS(36) is V6 in component rate_constants (first_order_rate_constant).
C CONSTS(37) is V6_ in component rate_constants (first_order_rate_constant).
C CONSTS(38) is V25 in component rate_constants (first_order_rate_constant).
C CONSTS(39) is V25_ in component rate_constants (first_order_rate_constant).
C CONSTS(40) is Vw in component rate_constants (first_order_rate_constant).
C CONSTS(41) is Vw_ in component rate_constants (first_order_rate_constant).
C STATES(1) is Cdc25 in component Cdc25 (dimensionless).
C STATES(2) is UbE in component UbE (dimensionless).
C STATES(3) is UbE2 in component UbE2 (dimensionless).
C STATES(4) is Wee1 in component Wee1 (dimensionless).
C ALGBRC(9) is SPF in component concentration_variables (dimensionless).
C ALGBRC(7) is MPF in component concentration_variables (dimensionless).
C CONSTS(42) is alpha in component concentration_variables (dimensionless).
C CONSTS(43) is beta in component concentration_variables (dimensionless).
C STATES(5) is G1K in component G1K (dimensionless).
C STATES(6) is G2K in component G2K (dimensionless).
C STATES(7) is PG2 in component PG2 (dimensionless).
C STATES(8) is G2R in component G2R (dimensionless).
C STATES(9) is R in component R (dimensionless).
C STATES(10) is G1R in component G1R (dimensionless).
C STATES(11) is PG2R in component PG2R (dimensionless).
C STATES(12) is mass in component mass (dimensionless).
C STATES(13) is IE in component IE (dimensionless).
C ALGBRC(3) is Cig2_total in component Cig2_total (dimensionless).
C ALGBRC(4) is Rum1_total in component Rum1_total (dimensionless).
C ALGBRC(5) is Cdc13_total in component Cdc13_total (dimensionless).
C RATES(6) is d/dt G2K in component G2K (dimensionless).
C RATES(9) is d/dt R in component R (dimensionless).
C RATES(5) is d/dt G1K in component G1K (dimensionless).
C RATES(8) is d/dt G2R in component G2R (dimensionless).
C RATES(13) is d/dt IE in component IE (dimensionless).
C RATES(3) is d/dt UbE2 in component UbE2 (dimensionless).
C RATES(4) is d/dt Wee1 in component Wee1 (dimensionless).
C RATES(7) is d/dt PG2 in component PG2 (dimensionless).
C RATES(10) is d/dt G1R in component G1R (dimensionless).
C RATES(11) is d/dt PG2R in component PG2R (dimensionless).
C RATES(2) is d/dt UbE in component UbE (dimensionless).
C RATES(12) is d/dt mass in component mass (dimensionless).
C RATES(1) is d/dt Cdc25 in component Cdc25 (dimensionless).
C
SUBROUTINE initConsts(CONSTS, RATES, STATES)
REAL CONSTS(*), RATES(*), STATES(*)
CONSTS(1) = 0.015
CONSTS(2) = 0.05
CONSTS(3) = 0.09375
CONSTS(4) = 0.1875
CONSTS(5) = 0.00175
CONSTS(6) = 0
CONSTS(7) = 100
CONSTS(8) = 0.1
CONSTS(9) = 10
CONSTS(10) = 0.1
CONSTS(11) = 0.2
CONSTS(12) = 3.25
CONSTS(13) = 0.1
CONSTS(14) = 1
CONSTS(15) = 0.3
CONSTS(16) = 1
CONSTS(17) = 0.25
CONSTS(18) = 1
CONSTS(19) = 0.25
CONSTS(20) = 0.4
CONSTS(21) = 0.1
CONSTS(22) = 0.00495
CONSTS(23) = 0.05
CONSTS(24) = 0.05
CONSTS(25) = 0.01
CONSTS(26) = 0.01
CONSTS(27) = 0.1
CONSTS(28) = 0.1
CONSTS(29) = 0.01
CONSTS(30) = 0.01
CONSTS(31) = 0.1
CONSTS(32) = 0.1
CONSTS(33) = 0.001
CONSTS(34) = 0.25
CONSTS(35) = 0.0075
CONSTS(36) = 7.5
CONSTS(37) = 0.0375
CONSTS(38) = 0.5
CONSTS(39) = 0.025
CONSTS(40) = 0.35
CONSTS(41) = 0.035
STATES(1) = 0
STATES(2) = 1
STATES(3) = 0
STATES(4) = 0
CONSTS(42) = 0.25
CONSTS(43) = 0.05
STATES(5) = 0
STATES(6) = 0
STATES(7) = 0
STATES(8) = 0
STATES(9) = 0.4
STATES(10) = 0
STATES(11) = 0
STATES(12) = 0.5
STATES(13) = 0
RETURN
END
SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC)
REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
RATES(10) = CONSTS(9)*STATES(9)*STATES(5) - (CONSTS(10)+CONSTS(4)+CONSTS(6))*STATES(10)
RATES(2) = ( CONSTS(11)*STATES(13)*(1.00000 - STATES(2)))/((CONSTS(29)+1.00000) - STATES(2)) - ( CONSTS(13)*STATES(2))/(CONSTS(30)+STATES(2))
RATES(12) = CONSTS(22)*STATES(12)
ALGBRC(1) = CONSTS(37)*(1.00000 - STATES(3))+ CONSTS(36)*STATES(3)
RATES(5) = (CONSTS(5)+ (CONSTS(10)+CONSTS(4))*STATES(10)) - (ALGBRC(1)+ CONSTS(9)*STATES(9))*STATES(5)
ALGBRC(2) = CONSTS(35)*(1.00000 - STATES(2))+ CONSTS(34)*STATES(2)
RATES(8) = CONSTS(7)*STATES(9)*STATES(6) - (CONSTS(8)+CONSTS(4)+ALGBRC(2)+CONSTS(2))*STATES(8)
RATES(11) = CONSTS(7)*STATES(9)*STATES(7) - (CONSTS(8)+CONSTS(4)+ALGBRC(2)+CONSTS(2))*STATES(11)
ALGBRC(7) = STATES(6)+ CONSTS(43)*STATES(7)
RATES(13) = ( CONSTS(20)*ALGBRC(7)*(1.00000 - STATES(13)))/((CONSTS(25)+1.00000) - STATES(13)) - ( CONSTS(21)*STATES(13))/(CONSTS(26)+STATES(13))
RATES(3) = ( CONSTS(14)*ALGBRC(7)*(1.00000 - STATES(3)))/((CONSTS(23)+1.00000) - STATES(3)) - ( CONSTS(15)*STATES(3))/(CONSTS(24)+STATES(3))
RATES(4) = ( CONSTS(19)*(1.00000 - STATES(4)))/((CONSTS(28)+1.00000) - STATES(4)) - ( CONSTS(18)*ALGBRC(7)*STATES(4))/(CONSTS(27)+STATES(4))
RATES(1) = ( CONSTS(16)*ALGBRC(7)*(1.00000 - STATES(1)))/((CONSTS(31)+1.00000) - STATES(1)) - ( CONSTS(17)*STATES(1))/(CONSTS(32)+STATES(1))
ALGBRC(6) = CONSTS(41)*(1.00000 - STATES(4))+ CONSTS(40)*STATES(4)
ALGBRC(8) = CONSTS(39)*(1.00000 - STATES(1))+ CONSTS(38)*STATES(1)
RATES(6) = (CONSTS(1)+ ALGBRC(8)*STATES(7)+ (CONSTS(8)+CONSTS(4))*STATES(8)) - (ALGBRC(2)+ALGBRC(6)+ CONSTS(7)*STATES(9))*STATES(6)
ALGBRC(9) = ALGBRC(7)+ CONSTS(42)*STATES(5)
RATES(9) = (CONSTS(3)+ (CONSTS(8)+ALGBRC(2)+CONSTS(2))*(STATES(8)+STATES(11))+ (CONSTS(10)+CONSTS(6))*STATES(10)) - ( CONSTS(4)*STATES(9)+ CONSTS(7)*STATES(9)*(STATES(6)+STATES(7))+ CONSTS(9)*STATES(9)*STATES(5)+( CONSTS(12)*STATES(9)*ALGBRC(9)*STATES(12))/(CONSTS(33)+STATES(9)))
RATES(7) = ( ALGBRC(6)*STATES(6)+ (CONSTS(8)+CONSTS(4))*STATES(11)) - (ALGBRC(8)+ALGBRC(2)+ CONSTS(7)*STATES(9))*STATES(7)
RETURN
END
SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC)
REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
ALGBRC(1) = CONSTS(37)*(1.00000 - STATES(3))+ CONSTS(36)*STATES(3)
ALGBRC(2) = CONSTS(35)*(1.00000 - STATES(2))+ CONSTS(34)*STATES(2)
ALGBRC(7) = STATES(6)+ CONSTS(43)*STATES(7)
ALGBRC(6) = CONSTS(41)*(1.00000 - STATES(4))+ CONSTS(40)*STATES(4)
ALGBRC(8) = CONSTS(39)*(1.00000 - STATES(1))+ CONSTS(38)*STATES(1)
ALGBRC(9) = ALGBRC(7)+ CONSTS(42)*STATES(5)
ALGBRC(3) = STATES(5)+STATES(10)
ALGBRC(4) = STATES(9)+STATES(10)+STATES(8)+STATES(11)
ALGBRC(5) = STATES(6)+STATES(8)+STATES(7)+STATES(11)
RETURN
END
