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 10 entries in the constant variable array.
C
C
C CONSTS(1) is QLO in component heart_rate_and_stroke_volume (L_per_minute).
C CONSTS(2) is AUR in component heart_rate_and_stroke_volume (dimensionless).
C CONSTS(3) is PRA in component heart_rate_and_stroke_volume (mmHg).
C CONSTS(4) is HMD in component heart_rate_and_stroke_volume (dimensionless).
C CONSTS(6) is AUHR in component effect_of_autonomic_stimulation_on_HR (beats_per_minute).
C CONSTS(7) is PRHR in component effect_of_PRA_on_HR (beats_per_minute).
C CONSTS(5) is PR1LL in component parameter_values (mmHg).
C CONSTS(8) is HDHR in component effect_of_heart_deterioration_on_HR (dimensionless).
C CONSTS(9) is HR in component heart_rate (beats_per_minute).
C CONSTS(10) is SVO in component stroke_volume_output (litre).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 4.9943
      CONSTS(2) = 1.30
      CONSTS(3) = 0.00852183
      CONSTS(4) = 1.0
      CONSTS(5) = 0
      CONSTS(6) =  72.0000*CONSTS(2)
      CONSTS(7) =  CONSTS(5) ** 0.500000*5.00000
      CONSTS(8) =  (CONSTS(4) - 1.00000)*0.500000+1.00000
      CONSTS(9) =  (CONSTS(6)+CONSTS(7))*CONSTS(8)
      CONSTS(10) = CONSTS(1)/CONSTS(9)
      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