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 0 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 24 entries in the constant variable array.
C
C
C VOI is t in component environment (s).
C CONSTS(1) is kf1 in component EGF_EGFRtoEGFEGFR (per_um_s).
C CONSTS(2) is kb1 in component EGF_EGFRtoEGFEGFR (per_s).
C CONSTS(3) is kf2 in component EGF_EGFRtoEGFEGFR (per_s).
C CONSTS(4) is kb2 in component EGF_EGFRtoEGFEGFR (per_s).
C STATES(1) is EGF in component EGF_EGFRtoEGFEGFR (um).
C STATES(2) is EGFR in component EGF_EGFRtoEGFEGFR (um).
C STATES(3) is EGF_EGFR in component EGF_EGFRtoEGFEGFR (um).
C STATES(4) is EGF_EGFR_INTERNAL in component EGF_EGFRtoEGFEGFR (um).
C CONSTS(5) is km3 in component SHCtoSHCStar (um).
C CONSTS(6) is kf4 in component SHCtoSHCStar (per_s).
C CONSTS(7) is kb4 in component SHCtoSHCStar (per_s).
C CONSTS(8) is kf5 in component SHCtoSHCStar (per_um_s).
C CONSTS(9) is kb5 in component SHCtoSHCStar (per_s).
C CONSTS(10) is kf6 in component SHCtoSHCStar (per_um_s).
C CONSTS(11) is kb6 in component SHCtoSHCStar (per_s).
C CONSTS(12) is kf8 in component SHCtoSHCStar (per_s).
C CONSTS(13) is kb8 in component SHCtoSHCStar (per_s).
C CONSTS(14) is kf10 in component SHCtoSHCStar (per_um_s).
C CONSTS(15) is kb10 in component SHCtoSHCStar (per_s).
C CONSTS(16) is km7 in component SHCtoSHCStar (um).
C CONSTS(17) is km9 in component SHCtoSHCStar (um).
C CONSTS(18) is Vmax7 in component SHCtoSHCStar (per_s).
C CONSTS(19) is Vmax3 in component SHCtoSHCStar (per_s).
C CONSTS(20) is Vmax9 in component SHCtoSHCStar (per_s).
C STATES(5) is SHC in component SHCtoSHCStar (um).
C STATES(6) is SHCstar in component SHCtoSHCStar (um).
C STATES(7) is SHCstar_SOS_GRB2 in component SHCtoSHCStar (um).
C STATES(8) is SOS_GRB2 in component SHCtoSHCStar (um).
C STATES(9) is SOS in component SHCtoSHCStar (um).
C CONSTS(21) is GRB2 in component SHCtoSHCStar (um).
C CONSTS(22) is MAPK in component SHCtoSHCStar (um).
C STATES(10) is SOSstar in component SHCtoSHCStar (um).
C STATES(11) is SOSstar_GRB2 in component SHCtoSHCStar (um).
C CONSTS(23) is km7 in component GDPrasToGTPras (um).
C CONSTS(24) is Vmax7 in component GDPrasToGTPras (per_s).
C STATES(12) is GDP_ras in component GDPrasToGTPras (um).
C STATES(13) is GTP_ras in component GDPrasToGTPras (um).
C RATES(1) is d/dt EGF in component EGF_EGFRtoEGFEGFR (um).
C RATES(2) is d/dt EGFR in component EGF_EGFRtoEGFEGFR (um).
C RATES(3) is d/dt EGF_EGFR in component EGF_EGFRtoEGFEGFR (um).
C RATES(4) is d/dt EGF_EGFR_INTERNAL in component EGF_EGFRtoEGFEGFR (um).
C RATES(6) is d/dt SHCstar in component SHCtoSHCStar (um).
C RATES(5) is d/dt SHC in component SHCtoSHCStar (um).
C RATES(7) is d/dt SHCstar_SOS_GRB2 in component SHCtoSHCStar (um).
C RATES(8) is d/dt SOS_GRB2 in component SHCtoSHCStar (um).
C RATES(9) is d/dt SOS in component SHCtoSHCStar (um).
C RATES(10) is d/dt SOSstar in component SHCtoSHCStar (um).
C RATES(11) is d/dt SOSstar_GRB2 in component SHCtoSHCStar (um).
C RATES(12) is d/dt GDP_ras in component GDPrasToGTPras (um).
C RATES(13) is d/dt GTP_ras in component GDPrasToGTPras (um).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 0.000007
      CONSTS(2) = 0.25
      CONSTS(3) = 0.002
      CONSTS(4) = 0.00033
      STATES(1) = 0.16667
      STATES(2) = 0.16667
      STATES(3) = 0
      STATES(4) = 0
      CONSTS(5) = 0.83333333333
      CONSTS(6) = 0.0016667
      CONSTS(7) = 0
      CONSTS(8) = 0.000000041667
      CONSTS(9) = 0.0168
      CONSTS(10) = 0.0000008333
      CONSTS(11) = 0.1
      CONSTS(12) = 0.001
      CONSTS(13) = 0
      CONSTS(14) = 0.000000041667
      CONSTS(15) = 0.0168
      CONSTS(16) = 0.40404
      CONSTS(17) = 2.564166667
      CONSTS(18) = 0.02
      CONSTS(19) = 0.2
      CONSTS(20) = 10
      STATES(5) = 0.5
      STATES(6) = 0
      STATES(7) = 0
      STATES(8) = 0
      STATES(9) = 0.1
      CONSTS(21) = 1
      CONSTS(22) = 0.36
      STATES(10) = 0
      STATES(11) = 0
      CONSTS(23) = 0.50505
      CONSTS(24) = 0.02
      STATES(12) = 1
      STATES(13) = 0
      RETURN
      END
      SUBROUTINE computeRates(VOI, CONSTS,  RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RATES(1) =  - CONSTS(1)*STATES(1)*STATES(2)+ CONSTS(2)*STATES(3)
      RATES(2) =  - CONSTS(1)*STATES(1)*STATES(2)+ CONSTS(2)*STATES(3)
      RATES(3) = (( CONSTS(1)*STATES(1)*STATES(2) -  CONSTS(2)*STATES(3)) -  CONSTS(3)*STATES(3))+ CONSTS(4)*STATES(4)
      RATES(4) =  CONSTS(3)*STATES(3) -  CONSTS(4)*STATES(4)
      RATES(6) = (( STATES(3)*CONSTS(19)*STATES(5))/(CONSTS(5)+STATES(5)) -  CONSTS(10)*STATES(6)*STATES(8))+ CONSTS(11)*STATES(7)
      RATES(5) = ( CONSTS(6)*STATES(6) -  CONSTS(7)*STATES(5)) - ( STATES(3)*CONSTS(19)*STATES(5))/(CONSTS(5)+STATES(5))
      RATES(7) =  CONSTS(10)*STATES(6)*STATES(8) -  CONSTS(11)*STATES(7)
      RATES(8) = (( - CONSTS(10)*STATES(6)*STATES(8)+ CONSTS(11)*STATES(7)) -  CONSTS(9)*STATES(8))+ CONSTS(8)*STATES(9)*CONSTS(21)
      RATES(9) = ( CONSTS(12)*STATES(10) -  CONSTS(13)*STATES(9)) - ( CONSTS(22)*CONSTS(20)*STATES(9))/(CONSTS(17)+STATES(9))
      RATES(10) = (( - CONSTS(12)*STATES(10)+ CONSTS(13)*STATES(9)+( CONSTS(22)*CONSTS(20)*STATES(9))/(CONSTS(17)+STATES(9))) -  CONSTS(14)*STATES(10)*CONSTS(21))+ CONSTS(15)*STATES(11)
      RATES(11) =  CONSTS(14)*STATES(10)*CONSTS(21) -  CONSTS(15)*STATES(11)
      RATES(12) = ( - STATES(11)*CONSTS(24)*STATES(12))/(CONSTS(23)+STATES(12))
      RATES(13) = ( STATES(11)*CONSTS(24)*STATES(12))/(CONSTS(23)+STATES(12))
      RETURN
      END
      SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RETURN
      END