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 10 entries in each of the rate and state variable arrays.
C There are a total of 30 entries in the constant variable array.
C
C
C VOI is t in component environment (s).
C CONSTS(1) is kf2 in component GEF (per_s).
C CONSTS(2) is kb2 in component GEF (per_s).
C CONSTS(3) is kf5 in component GEF (per_um_s).
C CONSTS(4) is kb5 in component GEF (per_s).
C CONSTS(5) is kf7 in component GEF (per_s).
C CONSTS(6) is kb7 in component GEF (per_s).
C CONSTS(7) is kf8 in component GEF (per_um_s).
C CONSTS(8) is kb8 in component GEF (per_s).
C CONSTS(9) is km1 in component GEF (um).
C CONSTS(10) is Vmax1 in component GEF (per_s).
C CONSTS(11) is km6 in component GEF (um).
C CONSTS(12) is Vmax6 in component GEF (per_s).
C STATES(1) is GEF_inact in component GEF (um).
C STATES(2) is GEF in component GEF (um).
C CONSTS(13) is PKA in component undefinedVariables (um).
C STATES(3) is Ca4CAM in component GEF (um).
C CONSTS(14) is PKC in component undefinedVariables (um).
C STATES(4) is Gby in component GEF (um).
C STATES(5) is CaM_GEF in component GEF (um).
C STATES(6) is Gby_GEF in component GEF (um).
C CONSTS(15) is kf12 in component GTPRAS (per_s).
C CONSTS(16) is kb12 in component GTPRAS (per_s).
C CONSTS(17) is km9 in component GTPRAS (um).
C CONSTS(18) is Vmax9 in component GTPRAS (per_s).
C CONSTS(19) is km10 in component GTPRAS (um).
C CONSTS(20) is Vmax10 in component GTPRAS (per_s).
C CONSTS(21) is km11 in component GTPRAS (um).
C CONSTS(22) is Vmax11 in component GTPRAS (per_s).
C CONSTS(23) is km13 in component GTPRAS (um).
C CONSTS(24) is Vmax13 in component GTPRAS (per_s).
C STATES(7) is GTP_RAS in component GTPRAS (um).
C STATES(8) is GDP_RAS in component GTPRAS (um).
C STATES(9) is GAP in component GAP (um).
C CONSTS(25) is kf4 in component GAP (per_s).
C CONSTS(26) is kb4 in component GAP (per_s).
C CONSTS(27) is km3 in component GAP (um).
C CONSTS(28) is Vmax3 in component GAP (per_s).
C STATES(10) is GAPstar in component GAP (um).
C CONSTS(29) is Ca4CAM in component undefinedVariables (um).
C CONSTS(30) is Gby in component undefinedVariables (um).
C RATES(1) is d/dt GEF_inact in component GEF (um).
C RATES(2) is d/dt GEF in component GEF (um).
C RATES(4) is d/dt Gby in component GEF (um).
C RATES(5) is d/dt CaM_GEF in component GEF (um).
C RATES(3) is d/dt Ca4CAM in component GEF (um).
C RATES(6) is d/dt Gby_GEF in component GEF (um).
C RATES(7) is d/dt GTP_RAS in component GTPRAS (um).
C RATES(8) is d/dt GDP_RAS in component GTPRAS (um).
C RATES(9) is d/dt GAP in component GAP (um).
C RATES(10) is d/dt GAPstar in component GAP (um).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 1
      CONSTS(2) = 0
      CONSTS(3) = 0.0001
      CONSTS(4) = 1
      CONSTS(5) = 1
      CONSTS(6) = 0
      CONSTS(7) = 0.00001
      CONSTS(8) = 1
      CONSTS(9) = 7.5
      CONSTS(10) = 9
      CONSTS(11) = 3.33333333333
      CONSTS(12) = 4
      STATES(1) = 0.1
      STATES(2) = 0
      CONSTS(13) = 1
      STATES(3) = 1
      CONSTS(14) = 1
      STATES(4) = 1
      STATES(5) = 0
      STATES(6) = 0
      CONSTS(15) = 0.0001
      CONSTS(16) = 0
      CONSTS(17) = 0.50505
      CONSTS(18) = 0.02
      CONSTS(19) = 0.50505
      CONSTS(20) = 0.02
      CONSTS(21) = 0.50505
      CONSTS(22) = 0.02
      CONSTS(23) = 1.0104
      CONSTS(24) = 10
      STATES(7) = 0
      STATES(8) = 0.2
      STATES(9) = 0.002
      CONSTS(25) = 0.1
      CONSTS(26) = 0
      CONSTS(27) = 3.33333333333
      CONSTS(28) = 4
      STATES(10) = 0
      CONSTS(29) = 1
      CONSTS(30) = 1
      RETURN
      END
      SUBROUTINE computeRates(VOI, CONSTS,  RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RATES(1) = ((( CONSTS(13)*CONSTS(10)*STATES(2))/(CONSTS(9)+STATES(2))+( CONSTS(14)*CONSTS(12)*STATES(2))/(CONSTS(11)+STATES(2))) -  CONSTS(1)*STATES(1)) -  CONSTS(5)*STATES(1)
      RATES(2) = (((- (((( CONSTS(13)*CONSTS(10)*STATES(2))/(CONSTS(9)+STATES(2))+( CONSTS(14)*CONSTS(12)*STATES(2))/(CONSTS(11)+STATES(2))) -  CONSTS(1)*STATES(1)) -  CONSTS(5)*STATES(1)) -  CONSTS(3)*STATES(3)*STATES(2))+ CONSTS(4)*STATES(5)) -  CONSTS(7)*STATES(2)*STATES(4))+ CONSTS(8)*STATES(6)
      RATES(4) =  - CONSTS(7)*STATES(2)*STATES(4)+ CONSTS(8)*STATES(6)
      RATES(5) =  - CONSTS(4)*STATES(5)+ CONSTS(3)*STATES(2)*STATES(3)
      RATES(3) = - ( - CONSTS(4)*STATES(5)+ CONSTS(3)*STATES(2)*STATES(3))
      RATES(6) = - ( - CONSTS(7)*STATES(2)*STATES(4)+ CONSTS(8)*STATES(6))
      RATES(7) = (( - STATES(9)*CONSTS(24)*STATES(7))/(CONSTS(23)+STATES(7)) -  CONSTS(15)*STATES(7))+( STATES(1)*CONSTS(20)*STATES(8))/(CONSTS(19)+STATES(8))+( STATES(6)*CONSTS(22)*STATES(8))/(CONSTS(21)+STATES(8))+( STATES(5)*CONSTS(18)*STATES(8))/(CONSTS(17)+STATES(8))
      RATES(8) = - ((( - STATES(9)*CONSTS(24)*STATES(7))/(CONSTS(23)+STATES(7)) -  CONSTS(15)*STATES(7))+( STATES(1)*CONSTS(20)*STATES(8))/(CONSTS(19)+STATES(8))+( STATES(6)*CONSTS(22)*STATES(8))/(CONSTS(21)+STATES(8))+( STATES(5)*CONSTS(18)*STATES(8))/(CONSTS(17)+STATES(8)))
      RATES(9) = ( - CONSTS(14)*CONSTS(28)*STATES(9))/(CONSTS(27)+STATES(9))+ CONSTS(25)*STATES(10)
      RATES(10) = ( CONSTS(14)*CONSTS(28)*STATES(9))/(CONSTS(27)+STATES(9)) -  CONSTS(25)*STATES(10)
      RETURN
      END
      SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RETURN
      END