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 9 entries in each of the rate and state variable arrays.
C There are a total of 20 entries in the constant variable array.
C
C
C VOI is t in component environment (s).
C CONSTS(1) is kf1 in component PKC (per_s).
C CONSTS(2) is kb1 in component PKC (per_s).
C CONSTS(3) is kf2 in component PKC (per_um_s).
C CONSTS(4) is kb2 in component PKC (per_s).
C CONSTS(5) is kf3 in component PKC (per_s).
C CONSTS(6) is kb3 in component PKC (per_s).
C CONSTS(7) is kf4 in component PKC (per_um_s).
C CONSTS(8) is kb4 in component PKC (per_s).
C CONSTS(9) is kf5 in component PKC (per_s).
C CONSTS(10) is kb5 in component PKC (per_s).
C CONSTS(11) is kf6 in component PKC (per_s).
C CONSTS(12) is kb6 in component PKC (per_s).
C CONSTS(13) is kf7 in component PKC (per_um_s).
C CONSTS(14) is kb7 in component PKC (per_s).
C CONSTS(15) is kf8 in component PKC (per_um_s).
C CONSTS(16) is kb8 in component PKC (per_s).
C CONSTS(17) is kf9 in component PKC (per_um_s).
C CONSTS(18) is kb9 in component PKC (per_s).
C CONSTS(19) is kf10 in component PKC (per_um_s).
C CONSTS(20) is kb10 in component PKC (per_s).
C STATES(1) is PKC_i in component PKC (um).
C STATES(2) is AA in component PKC (um).
C STATES(3) is DAG in component PKC (um).
C STATES(4) is Ca in component PKC (um).
C STATES(5) is DAGPKC in component PKC (um).
C STATES(6) is AADAGPKC in component PKC (um).
C STATES(7) is DAGCaPKC in component PKC (um).
C STATES(8) is CaPKC in component PKC (um).
C STATES(9) is PKC_a in component PKC (um).
C RATES(1) is d/dt PKC_i in component PKC (um).
C RATES(5) is d/dt DAGPKC in component PKC (um).
C RATES(6) is d/dt AADAGPKC in component PKC (um).
C RATES(8) is d/dt CaPKC in component PKC (um).
C RATES(7) is d/dt DAGCaPKC in component PKC (um).
C RATES(9) is d/dt PKC_a in component PKC (um).
C RATES(2) is d/dt AA in component PKC (um).
C RATES(3) is d/dt DAG in component PKC (um).
C RATES(4) is d/dt Ca in component PKC (um).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 1
      CONSTS(2) = 50
      CONSTS(3) = 0.0000000002
      CONSTS(4) = 0.1
      CONSTS(5) = 1.2705
      CONSTS(6) = 3.5026
      CONSTS(7) = 0.000000002
      CONSTS(8) = 0.1
      CONSTS(9) = 1
      CONSTS(10) = 0.1
      CONSTS(11) = 2
      CONSTS(12) = 0.2
      CONSTS(13) = 0.000001
      CONSTS(14) = 0.5
      CONSTS(15) = 0.000000013333
      CONSTS(16) = 8.6348
      CONSTS(17) = 0.000000001
      CONSTS(18) = 0.1
      CONSTS(19) = 0.00000003
      CONSTS(20) = 2
      STATES(1) = 1
      STATES(2) = 1
      STATES(3) = 0.1
      STATES(4) = 0.1
      STATES(5) = 0
      STATES(6) = 0
      STATES(7) = 0
      STATES(8) = 0
      STATES(9) = 0
      RETURN
      END
      SUBROUTINE computeRates(VOI, CONSTS,  RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RATES(1) = (((((( - STATES(1)*CONSTS(1)+ STATES(9)*CONSTS(2)) -  STATES(1)*STATES(2)*CONSTS(3))+ STATES(9)*CONSTS(4)) -  STATES(1)*STATES(3)*CONSTS(17))+ STATES(5)*CONSTS(18)) -  STATES(1)*STATES(4)*CONSTS(13))+ STATES(8)*CONSTS(14)
      RATES(5) = (( STATES(1)*STATES(3)*CONSTS(17) -  STATES(5)*CONSTS(18)) -  STATES(5)*STATES(2)*CONSTS(19))+ STATES(6)*CONSTS(20)
      RATES(6) = (( STATES(5)*STATES(2)*CONSTS(19) -  STATES(6)*CONSTS(20)) -  STATES(6)*CONSTS(11))+ STATES(9)*CONSTS(12)
      RATES(8) = (((((( STATES(1)*STATES(4)*CONSTS(13) -  STATES(8)*CONSTS(14)) -  STATES(8)*CONSTS(5))+ STATES(9)*CONSTS(6)) -  STATES(8)*STATES(2)*CONSTS(7))+ STATES(9)*CONSTS(8)) -  STATES(3)*STATES(8)*CONSTS(15))+ STATES(7)*CONSTS(16)
      RATES(7) = (( STATES(3)*STATES(8)*CONSTS(15) -  STATES(7)*CONSTS(16)) -  STATES(7)*CONSTS(9))+ STATES(9)*CONSTS(10)
      RATES(9) = (((((((((( STATES(1)*CONSTS(1) -  STATES(9)*CONSTS(2))+ STATES(1)*STATES(2)*CONSTS(3)) -  STATES(9)*CONSTS(4))+ STATES(8)*CONSTS(5)) -  STATES(9)*CONSTS(6))+ STATES(8)*STATES(2)*CONSTS(7)) -  STATES(9)*CONSTS(8))+ STATES(7)*CONSTS(9)) -  STATES(9)*CONSTS(10))+ STATES(6)*CONSTS(11)) -  STATES(9)*CONSTS(12)
      RATES(2) = (((( - STATES(1)*STATES(2)*CONSTS(3)+ STATES(9)*CONSTS(4)) -  STATES(8)*STATES(2)*CONSTS(7))+ STATES(9)*CONSTS(8)) -  STATES(5)*STATES(2)*CONSTS(19))+ STATES(6)*CONSTS(20)
      RATES(3) = (( - STATES(1)*STATES(3)*CONSTS(17)+ STATES(5)*CONSTS(18)) -  STATES(3)*STATES(8)*CONSTS(15))+ STATES(7)*CONSTS(16)
      RATES(4) =  - STATES(1)*STATES(4)*CONSTS(13)+ STATES(8)*CONSTS(14)
      RETURN
      END
      SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RETURN
      END