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 11 entries in each of the rate and state variable arrays.
C There are a total of 15 entries in the constant variable array.
C
C
C VOI is t in component environment (s).
C CONSTS(1) is kf8 in component PIPtoDAG (per_s).
C CONSTS(2) is kf9 in component PIPtoDAG (per_s).
C CONSTS(3) is km6 in component PIPtoDAG (um).
C CONSTS(4) is Vmax6 in component PIPtoDAG (per_s).
C CONSTS(5) is km7 in component PIPtoDAG (um).
C CONSTS(6) is Vmax7 in component PIPtoDAG (per_s).
C STATES(1) is PIP2 in component PIPtoDAG (um).
C STATES(2) is DAG in component PIPtoDAG (um).
C STATES(3) is IP3 in component PIPtoDAG (um).
C STATES(4) is CaPLC in component PLC (um).
C STATES(5) is CaGqPLC in component PLC (um).
C STATES(6) is Inositol in component PIPtoDAG (um).
C STATES(7) is PC in component PIPtoDAG (um).
C CONSTS(7) is kf1 in component PLC (per_um_s).
C CONSTS(8) is kb1 in component PLC (per_s).
C CONSTS(9) is kf2 in component PLC (per_um_s).
C CONSTS(10) is kb2 in component PLC (per_s).
C CONSTS(11) is kf3 in component PLC (per_um_s).
C CONSTS(12) is kb3 in component PLC (per_s).
C CONSTS(13) is kf4 in component PLC (per_um_s).
C CONSTS(14) is kb4 in component PLC (per_s).
C CONSTS(15) is kf5 in component PLC (per_s).
C STATES(8) is PLC in component PLC (um).
C STATES(9) is Gq in component PLC (um).
C STATES(10) is Ca in component PLC (um).
C STATES(11) is GqPLC in component PLC (um).
C RATES(1) is d/dt PIP2 in component PIPtoDAG (um).
C RATES(2) is d/dt DAG in component PIPtoDAG (um).
C RATES(3) is d/dt IP3 in component PIPtoDAG (um).
C RATES(7) is d/dt PC in component PIPtoDAG (um).
C RATES(6) is d/dt Inositol in component PIPtoDAG (um).
C RATES(8) is d/dt PLC in component PLC (um).
C RATES(9) is d/dt Gq in component PLC (um).
C RATES(10) is d/dt Ca in component PLC (um).
C RATES(11) is d/dt GqPLC in component PLC (um).
C RATES(4) is d/dt CaPLC in component PLC (um).
C RATES(5) is d/dt CaGqPLC in component PLC (um).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 0.15
      CONSTS(2) = 2.5
      CONSTS(3) = 5
      CONSTS(4) = 48
      CONSTS(5) = 19.84166667
      CONSTS(6) = 10
      STATES(1) = 10
      STATES(2) = 0
      STATES(3) = 0
      STATES(4) = 0
      STATES(5) = 0
      STATES(6) = 0
      STATES(7) = 0
      CONSTS(7) = 0.000005
      CONSTS(8) = 1
      CONSTS(9) = 0.0000042
      CONSTS(10) = 1
      CONSTS(11) = 0.00005
      CONSTS(12) = 1
      CONSTS(13) = 0.0000042
      CONSTS(14) = 1
      CONSTS(15) = 0.0133
      STATES(8) = 0.8
      STATES(9) = 0.15
      STATES(10) = 0.1
      STATES(11) = 0
      RETURN
      END
      SUBROUTINE computeRates(VOI, CONSTS,  RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RATES(1) = ( - STATES(4)*CONSTS(6)*STATES(1))/(CONSTS(5)+STATES(1)) - ( STATES(5)*CONSTS(4)*STATES(1))/(CONSTS(3)+STATES(1))
      RATES(2) = ( STATES(4)*CONSTS(6)*STATES(1))/(CONSTS(5)+STATES(1)) -  CONSTS(1)*STATES(2)
      RATES(3) = ( STATES(5)*CONSTS(4)*STATES(1))/(CONSTS(3)+STATES(1)) -  CONSTS(2)*STATES(3)
      RATES(7) =  CONSTS(1)*STATES(2)
      RATES(6) =  CONSTS(2)*STATES(3)
      RATES(8) = (( - STATES(8)*STATES(10)*CONSTS(7)+ STATES(4)*CONSTS(8)) -  STATES(8)*STATES(9)*CONSTS(9))+ STATES(11)*CONSTS(10)
      RATES(9) = ( - STATES(8)*STATES(9)*CONSTS(9)+ STATES(11)*CONSTS(10)+ STATES(5)*CONSTS(14)) -  STATES(4)*STATES(9)*CONSTS(13)
      RATES(10) = (( - STATES(8)*STATES(10)*CONSTS(7)+ STATES(4)*CONSTS(8)) -  STATES(10)*STATES(11)*CONSTS(11))+ STATES(5)*CONSTS(12)
      RATES(11) = (( STATES(8)*STATES(9)*CONSTS(9) -  STATES(11)*CONSTS(10)) -  STATES(10)*STATES(11)*CONSTS(11))+ STATES(5)*CONSTS(12)
      RATES(4) = (( STATES(8)*STATES(10)*CONSTS(7) -  STATES(4)*CONSTS(8))+ STATES(5)*CONSTS(15)+ STATES(5)*CONSTS(14)) -  STATES(4)*STATES(9)*CONSTS(13)
      RATES(5) = ((( STATES(11)*STATES(10)*CONSTS(11) -  STATES(5)*CONSTS(12))+ STATES(4)*STATES(9)*CONSTS(13)) -  STATES(5)*CONSTS(14)) -  STATES(5)*CONSTS(15)
      RETURN
      END
      SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RETURN
      END