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 RT in component param (kJ_per_mol).
C CONSTS(2) is K_Cl_o in component param (per_mol).
C CONSTS(3) is K_Cl_i in component param (per_mol).
C CONSTS(4) is K_HCO3_i in component param (per_mol).
C CONSTS(5) is K_HCO3_o in component param (per_mol).
C CONSTS(6) is K_E_o in component param (per_mol).
C CONSTS(7) is K_ECl_o in component param (per_mol).
C CONSTS(8) is K_ECl_i in component param (per_mol).
C CONSTS(9) is K_E_i in component param (per_mol).
C CONSTS(10) is K_EHCO3_i in component param (per_mol).
C CONSTS(11) is K_EHCO3_o in component param (per_mol).
C CONSTS(12) is K_Re1 in component param (mM_per_s).
C CONSTS(13) is K_Re2 in component param (mM_per_s).
C CONSTS(14) is K_Re3 in component param (mM_per_s).
C CONSTS(15) is K_Re4 in component param (mM_per_s).
C CONSTS(16) is K_Re5 in component param (mM_per_s).
C CONSTS(17) is K_Re6 in component param (mM_per_s).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 2.5
      CONSTS(2) = 1.34784535e+00
      CONSTS(3) = 1.34809503e+00
      CONSTS(4) = 8.37243345e-01
      CONSTS(5) = 8.37398440e-01
      CONSTS(6) = 3.42812779e+00
      CONSTS(7) = 2.30943735e+02
      CONSTS(8) = 2.50575623e+01
      CONSTS(9) = 3.71610024e-01
      CONSTS(10) = 6.15805309e+01
      CONSTS(11) = 5.68610961e+02
      CONSTS(12) = 2.16462852e+01
      CONSTS(13) = 2.43394395e+00
      CONSTS(14) = 1.99577523e+02
      CONSTS(15) = 3.21470643e+02
      CONSTS(16) = 2.19265742e+00
      CONSTS(17) = 3.48281500e+01
      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