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 9 entries in the constant variable array.
C
C
C CONSTS(1) is var_1 in component parameter_Ik1 (nS_per_pF).
C CONSTS(2) is var_2 in component parameter_Ik1 (per_ms).
C CONSTS(3) is var_3 in component parameter_Ik1 (mV).
C CONSTS(4) is var_4 in component parameter_Ik1 (mV).
C CONSTS(5) is var_5 in component parameter_Ik1 (mV_ms).
C CONSTS(6) is var_6 in component parameter_Ik1 (mV).
C CONSTS(7) is R in component parameter_Ik1 (J_per_mol_per_kelvin).
C CONSTS(8) is T in component parameter_Ik1 (kelvin).
C CONSTS(9) is F in component parameter_Ik1 (C_per_mol).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 0.133785
      CONSTS(2) = 0.4780
      CONSTS(3) = 27.2428
      CONSTS(4) = 4.9250
      CONSTS(5) = 8.7222
      CONSTS(6) = 56.6362
      CONSTS(7) = 8.314472
      CONSTS(8) = 310.0
      CONSTS(9) = 96.4853415
      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