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 8 entries in each of the rate and state variable arrays.
C There are a total of 12 entries in the constant variable array.
C
C
C VOI is t in component environment (s).
C CONSTS(1) is km2 in component PIPtoDAG (um).
C CONSTS(2) is km6 in component PIPtoDAG (um).
C CONSTS(3) is Vmax2 in component PIPtoDAG (per_s).
C CONSTS(4) is Vmax6 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 CaPLCg in component PLC (um).
C STATES(5) is CaPLCg_star in component PLC (um).
C CONSTS(5) is kf1 in component PLC (per_um_s).
C CONSTS(6) is kb1 in component PLC (per_s).
C CONSTS(7) is kf3 in component PLC (per_s).
C CONSTS(8) is kf5 in component PLC (per_um_s).
C CONSTS(9) is kb5 in component PLC (per_s).
C CONSTS(10) is km4 in component PLC (um).
C CONSTS(11) is Vmax4 in component PLC (per_s).
C STATES(6) is PLCg in component PLC (um).
C STATES(7) is PLCg_star in component PLC (um).
C CONSTS(12) is EGF_EGFR in component UndefinedVariables (um).
C STATES(8) is Ca 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(6) is d/dt PLCg in component PLC (um).
C RATES(4) is d/dt CaPLCg in component PLC (um).
C RATES(5) is d/dt CaPLCg_star in component PLC (um).
C RATES(7) is d/dt PLCg_star in component PLC (um).
C RATES(8) is d/dt Ca in component PLC (um).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 97
      CONSTS(2) = 19.79166667
      CONSTS(3) = 14
      CONSTS(4) = 57
      STATES(1) = 10
      STATES(2) = 0
      STATES(3) = 0
      STATES(4) = 0
      STATES(5) = 0
      CONSTS(5) = 0.0003
      CONSTS(6) = 10
      CONSTS(7) = 0.05
      CONSTS(8) = 0.00002
      CONSTS(9) = 10
      CONSTS(10) = 0.33333333333
      CONSTS(11) = 0.2
      STATES(6) = 0.82
      STATES(7) = 0
      CONSTS(12) = 0.1
      STATES(8) = 0.1
      RETURN
      END
      SUBROUTINE computeRates(VOI, CONSTS,  RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RATES(1) = ( - STATES(4)*CONSTS(3)*STATES(1))/(CONSTS(1)+STATES(1)) - ( STATES(5)*CONSTS(4)*STATES(1))/(CONSTS(2)+STATES(1))
      RATES(2) = ( STATES(4)*CONSTS(3)*STATES(1))/(CONSTS(1)+STATES(1))+( STATES(5)*CONSTS(4)*STATES(1))/(CONSTS(2)+STATES(1))
      RATES(3) = ( STATES(4)*CONSTS(3)*STATES(1))/(CONSTS(1)+STATES(1))+( STATES(5)*CONSTS(4)*STATES(1))/(CONSTS(2)+STATES(1))
      RATES(6) =  - STATES(8)*STATES(6)*CONSTS(5)+ STATES(4)*CONSTS(6)
      RATES(4) = (- ( - STATES(8)*STATES(6)*CONSTS(5)+ STATES(4)*CONSTS(6))+ CONSTS(7)*STATES(5)) - ( CONSTS(11)*CONSTS(12)*STATES(4))/(CONSTS(10)+STATES(4))
      RATES(5) = (- ( CONSTS(7)*STATES(5) - ( CONSTS(11)*CONSTS(12)*STATES(4))/(CONSTS(10)+STATES(4)))+ STATES(8)*STATES(7)*CONSTS(8)) -  CONSTS(9)*STATES(5)
      RATES(7) =  - STATES(8)*STATES(7)*CONSTS(8)+ CONSTS(9)*STATES(5)
      RATES(8) = ( - STATES(8)*STATES(6)*CONSTS(5)+ STATES(4)*CONSTS(6)+ CONSTS(9)*STATES(5)) -  STATES(8)*STATES(7)*CONSTS(8)
      RETURN
      END
      SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RETURN
      END