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 17 entries in the constant variable array. C C C CONSTS(1) is ElaMax in component ParaHeartP (UnitE). C CONSTS(2) is ElaMin in component ParaHeartP (UnitE). C CONSTS(3) is PlaIni in component ParaHeartP (UnitP). C CONSTS(4) is VlaIni in component ParaHeartP (UnitV). C CONSTS(5) is ElvMax in component ParaHeartP (UnitE). C CONSTS(6) is ElvMin in component ParaHeartP (UnitE). C CONSTS(7) is PlvIni in component ParaHeartP (UnitP). C CONSTS(8) is VlvIni in component ParaHeartP (UnitV). C CONSTS(9) is T in component ParaHeartP (second). C CONSTS(10) is Tpwb in component ParaHeartP (dimensionless). C CONSTS(11) is Tpww in component ParaHeartP (dimensionless). C CONSTS(12) is Ts1 in component ParaHeartP (dimensionless). C CONSTS(13) is Ts2 in component ParaHeartP (dimensionless). C CONSTS(14) is CVao in component ParaHeartP (UnitCV). C CONSTS(15) is CVmi in component ParaHeartP (UnitCV). C CONSTS(16) is Vlv0 in component ParaHeartP (UnitV). C CONSTS(17) is Vla0 in component ParaHeartP (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) = 0.5 CONSTS(6) = 0.1 CONSTS(7) = 1.0 CONSTS(8) = 5.0 CONSTS(9) = 1.0 CONSTS(10) = 0.92 CONSTS(11) = 0.09 CONSTS(12) = 0.3 CONSTS(13) = 0.45 CONSTS(14) = 350. CONSTS(15) = 400. CONSTS(16) = 500 CONSTS(17) = 20 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