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 29 entries in the constant variable array.
C
C
C CONSTS(1) is ElaMax in component ParaHeart (UnitE).
C CONSTS(2) is ElaMin in component ParaHeart (UnitE).
C CONSTS(3) is PlaIni in component ParaHeart (UnitP).
C CONSTS(4) is VlaIni in component ParaHeart (UnitV).
C CONSTS(5) is ElvMax in component ParaHeart (UnitE).
C CONSTS(6) is ElvMin in component ParaHeart (UnitE).
C CONSTS(7) is PlvIni in component ParaHeart (UnitP).
C CONSTS(8) is VlvIni in component ParaHeart (UnitV).
C CONSTS(9) is EraMax in component ParaHeart (UnitE).
C CONSTS(10) is EraMin in component ParaHeart (UnitE).
C CONSTS(11) is PraIni in component ParaHeart (UnitP).
C CONSTS(12) is VraIni in component ParaHeart (UnitV).
C CONSTS(13) is ErvMax in component ParaHeart (UnitE).
C CONSTS(14) is ErvMin in component ParaHeart (UnitE).
C CONSTS(15) is PrvIni in component ParaHeart (UnitP).
C CONSTS(16) is VrvIni in component ParaHeart (UnitV).
C CONSTS(17) is T in component ParaHeart (second).
C CONSTS(18) is Tpwb in component ParaHeart (dimensionless).
C CONSTS(19) is Tpww in component ParaHeart (dimensionless).
C CONSTS(20) is Ts1 in component ParaHeart (dimensionless).
C CONSTS(21) is Ts2 in component ParaHeart (dimensionless).
C CONSTS(22) is CVao in component ParaHeart (UnitCV).
C CONSTS(23) is CVmi in component ParaHeart (UnitCV).
C CONSTS(24) is CVpa in component ParaHeart (UnitCV).
C CONSTS(25) is CVti in component ParaHeart (UnitCV).
C CONSTS(26) is Vlv0 in component ParaHeart (UnitV).
C CONSTS(27) is Vla0 in component ParaHeart (UnitV).
C CONSTS(28) is Vra0 in component ParaHeart (UnitV).
C CONSTS(29) is Vrv0 in component ParaHeart (UnitV).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 0.25
      CONSTS(2) = 0.15
      CONSTS(3) = 1.0
      CONSTS(4) = 4.0
      CONSTS(5) = 2.5
      CONSTS(6) = 0.1
      CONSTS(7) = 1.0
      CONSTS(8) = 5.0
      CONSTS(9) = 0.25
      CONSTS(10) = 0.15
      CONSTS(11) = 1.0
      CONSTS(12) = 4.0
      CONSTS(13) = 1.15
      CONSTS(14) = 0.1
      CONSTS(15) = 1.0
      CONSTS(16) = 10.0
      CONSTS(17) = 1.0
      CONSTS(18) = 0.92
      CONSTS(19) = 0.09
      CONSTS(20) = 0.3
      CONSTS(21) = 0.45
      CONSTS(22) = 350.
      CONSTS(23) = 400.
      CONSTS(24) = 350.
      CONSTS(25) = 400.
      CONSTS(26) = 500
      CONSTS(27) = 20
      CONSTS(28) = 20
      CONSTS(29) = 500
      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