C C There are a total of 0 entries in the algebraic variable array. C There are a total of 3 entries in each of the rate and state variable arrays. C There are a total of 2 entries in the constant variable array. C C C VOI is time in component environment (second). C STATES(1) is Ca in component Ca (micromolar). C CONSTS(1) is k1 in component reaction_constants (second_order_rate_constant). C CONSTS(2) is k1_ in component reaction_constants (first_order_rate_constant). C STATES(2) is Trop in component Trop (micromolar). C STATES(3) is CaTrop in component CaTrop (micromolar). C RATES(1) is d/dt Ca in component Ca (micromolar). C RATES(2) is d/dt Trop in component Trop (micromolar). C RATES(3) is d/dt CaTrop in component CaTrop (micromolar). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) STATES(1) = 0.05 CONSTS(1) = 1.017E14 CONSTS(2) = 132.0 STATES(2) = 360.0 STATES(3) = 0.01 RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RATES(1) = CONSTS(2)*STATES(3) - CONSTS(1)*STATES(1)*STATES(2) RATES(2) = CONSTS(2)*STATES(3) - CONSTS(1)*STATES(1)*STATES(2) RATES(3) = CONSTS(1)*STATES(1)*STATES(2) - CONSTS(2)*STATES(3) RETURN END SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RETURN END