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 4 entries in the constant variable array.
C
C
C CONSTS(1) is Rc in component ParaWestkessel (UnitR).
C CONSTS(2) is Cv in component ParaWestkessel (UnitC).
C CONSTS(3) is Rv in component ParaWestkessel (UnitR).
C CONSTS(4) is P0v in component ParaWestkessel (UnitP).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 0.005
      CONSTS(2) = 2.6
      CONSTS(3) = 0.65
      CONSTS(4) = 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