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 0 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 CONSTS(1) is Rsas in component ParaSys (UnitR).
C CONSTS(2) is Csas in component ParaSys (UnitC).
C CONSTS(3) is Lsas in component ParaSys (UnitL).
C CONSTS(4) is P0sas in component ParaSys (UnitP).
C CONSTS(5) is Q0sas in component ParaSys (UnitQ).
C CONSTS(6) is Rsat in component ParaSys (UnitR).
C CONSTS(7) is Csat in component ParaSys (UnitC).
C CONSTS(8) is Lsat in component ParaSys (UnitL).
C CONSTS(9) is P0sat in component ParaSys (UnitP).
C CONSTS(10) is Q0sat in component ParaSys (UnitQ).
C CONSTS(11) is Rsar in component ParaSys (UnitR).
C CONSTS(12) is Rscp in component ParaSys (UnitR).
C CONSTS(13) is Rsvn in component ParaSys (UnitR).
C CONSTS(14) is Csvn in component ParaSys (UnitC).
C CONSTS(15) is P0svn in component ParaSys (UnitP).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 0.003
      CONSTS(2) = 0.08
      CONSTS(3) = 0.000062
      CONSTS(4) = 100.
      CONSTS(5) = 0.
      CONSTS(6) = 0.05
      CONSTS(7) = 1.6
      CONSTS(8) = 0.0017
      CONSTS(9) = 100.
      CONSTS(10) = 0.
      CONSTS(11) = 0.5
      CONSTS(12) = 0.52
      CONSTS(13) = 0.075
      CONSTS(14) = 20.5
      CONSTS(15) = 0.
      RETURN
      END
      SUBROUTINE computeRates(VOI, CONSTS,  RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RETURN
      END
      SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC)
      REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*)
      RETURN
      END