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 6 entries in the constant variable array.
C
C
C CONSTS(1) is g_f in component parameter_If (nS_per_pF).
C CONSTS(2) is xf_1 in component parameter_If (dimensionless).
C CONSTS(3) is xf_2 in component parameter_If (dimensionless).
C CONSTS(4) is xf_5 in component parameter_If (dimensionless).
C CONSTS(5) is xf_6 in component parameter_If (dimensionless).
C CONSTS(6) is xf_const in component parameter_If (dimensionless).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 0.0435
      CONSTS(2) = 5.7897e-07
      CONSTS(3) = -14.58971217
      CONSTS(4) = 20086.65023
      CONSTS(5) = 10.202352
      CONSTS(6) = 23.945291
      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