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 21 entries in the constant variable array.
C
C
C CONSTS(17) is v_cystathionine in component v_cystathionine (flux).
C CONSTS(1) is Cys in component Cys (micromolar).
C CONSTS(2) is CGS in component CGS (micromolar).
C CONSTS(3) is Pi in component Pi (micromolar).
C CONSTS(4) is Phser in component Phser (micromolar).
C CONSTS(16) is Km_CGS_app_Cys in component v_cystathionine (micromolar).
C CONSTS(5) is Km_CGS_Cys in component v_cystathionine (micromolar).
C CONSTS(6) is kcat_CGS in component v_cystathionine (first_order_rate_constant).
C CONSTS(15) is kcat_CGS_app_Cys in component v_cystathionine (first_order_rate_constant).
C CONSTS(7) is Km_CGS_Phser in component v_cystathionine (micromolar).
C CONSTS(8) is Ki_CGS_Pi in component v_cystathionine (micromolar).
C CONSTS(20) is v_Thr in component v_Thr (flux).
C CONSTS(9) is TS in component TS (micromolar).
C CONSTS(10) is AdoMet in component AdoMet (micromolar).
C CONSTS(19) is Km_TS in component v_Thr (micromolar).
C CONSTS(11) is kcat_TS_noAdoMet in component v_Thr (first_order_rate_constant).
C CONSTS(12) is kcat_TS_AdoMet in component v_Thr (first_order_rate_constant).
C CONSTS(18) is kcat_TS in component v_Thr (first_order_rate_constant).
C CONSTS(13) is K1K2 in component v_Thr (micromolar2).
C CONSTS(14) is Ki_TS_Pi in component v_Thr (micromolar).
C CONSTS(21) is J_Phser in component J_Phser (flux).
C
      SUBROUTINE initConsts(CONSTS, RATES, STATES)
      REAL CONSTS(*), RATES(*), STATES(*)
      CONSTS(1) = 15.0
      CONSTS(2) = 0.7
      CONSTS(3) = 10000.0
      CONSTS(4) = 500.0
      CONSTS(5) = 460.0
      CONSTS(6) = 30.0
      CONSTS(7) = 2500.0
      CONSTS(8) = 2500.0
      CONSTS(9) = 5.0
      CONSTS(10) = 20.0
      CONSTS(11) = 0.42
      CONSTS(12) = 3.5
      CONSTS(13) = 73.0
      CONSTS(14) = 1000.0
      CONSTS(15) = CONSTS(6)/(1.00000+ (CONSTS(7)/CONSTS(4))*(1.00000+CONSTS(3)/CONSTS(8)))
      CONSTS(16) = CONSTS(5)/(1.00000+ (CONSTS(7)/CONSTS(4))*(1.00000+CONSTS(3)/CONSTS(8)))
      CONSTS(17) = ( CONSTS(15)*CONSTS(2)*CONSTS(1))/(CONSTS(16)+CONSTS(1))
      CONSTS(18) = (CONSTS(11)+ CONSTS(12)*(CONSTS(10) ** 2.00000/CONSTS(13)))/(1.00000+CONSTS(10) ** 2.00000/CONSTS(13))
      CONSTS(19) =  (( 250.000*((1.00000+CONSTS(10)/0.500000)/(1.00000+CONSTS(10)/1.10000)))/(1.00000+CONSTS(10) ** 2.00000/140.000))*(1.00000+CONSTS(3)/CONSTS(14))
      CONSTS(20) = ( CONSTS(9)*CONSTS(18)*CONSTS(4))/(CONSTS(19)+CONSTS(4))
      CONSTS(21) = CONSTS(17)+CONSTS(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