C C There are a total of 0 entries in the algebraic variable array. C There are a total of 2 entries in each of the rate and state variable arrays. C There are a total of 1 entries in the constant variable array. C C C VOI is time in component Main (second). C STATES(1) is x in component Main (dimensionless). C STATES(2) is y in component Main (dimensionless). C CONSTS(1) is epsilon in component Main (dimensionless). C RATES(1) is d/dt x in component Main (dimensionless). C RATES(2) is d/dt y in component Main (dimensionless). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) STATES(1) = -2 STATES(2) = 0 CONSTS(1) = 1 RETURN END SUBROUTINE computeRates(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RATES(1) = STATES(2)*1.00000 RATES(2) = ( CONSTS(1)*(1.00000 - STATES(1) ** 2.00000)*STATES(2) - STATES(1))/1.00000 RETURN END SUBROUTINE computeVariables(VOI, CONSTS, RATES, STATES, ALGBRC) REAL VOI, CONSTS(*), RATES(*), STATES(*), ALGBRC(*) RETURN END