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 18 entries in the constant variable array. C C C CONSTS(1) is E11 in component interface (strain). C CONSTS(2) is E22 in component interface (strain). C CONSTS(3) is E33 in component interface (strain). C CONSTS(4) is E12 in component interface (strain). C CONSTS(5) is E13 in component interface (strain). C CONSTS(6) is E23 in component interface (strain). C CONSTS(7) is c1 in component interface (strain). C CONSTS(8) is c2 in component interface (strain). C CONSTS(9) is c3 in component interface (strain). C CONSTS(10) is c4 in component interface (strain). C CONSTS(11) is c5 in component interface (strain). C CONSTS(13) is Tdev11 in component equations (stress). C CONSTS(14) is Tdev22 in component equations (stress). C CONSTS(15) is Tdev33 in component equations (stress). C CONSTS(16) is Tdev12 in component equations (stress). C CONSTS(17) is Tdev13 in component equations (stress). C CONSTS(18) is Tdev23 in component equations (stress). C CONSTS(12) is Q in component equations (strain). C SUBROUTINE initConsts(CONSTS, RATES, STATES) REAL CONSTS(*), RATES(*), STATES(*) CONSTS(1) = 0 CONSTS(2) = 0 CONSTS(3) = 0 CONSTS(4) = 0 CONSTS(5) = 0 CONSTS(6) = 0 CONSTS(7) = 0.88 CONSTS(8) = 0 CONSTS(9) = 18.5 CONSTS(10) = 3.58 CONSTS(11) = 3.26 CONSTS(12) = 2.00000*CONSTS(8)*(CONSTS(1)+CONSTS(2)+CONSTS(3))+ CONSTS(9)*CONSTS(1) ** 2.00000+ CONSTS(10)*(CONSTS(3) ** 2.00000+CONSTS(2) ** 2.00000+ CONSTS(6) ** 2.00000*2.00000)+ 2.00000*CONSTS(11)*(CONSTS(5) ** 2.00000+CONSTS(4) ** 2.00000) CONSTS(13) = CONSTS(7)*EXP(CONSTS(12))*(CONSTS(8)+ CONSTS(9)*CONSTS(1)) CONSTS(14) = CONSTS(7)*EXP(CONSTS(12))*(CONSTS(8)+ CONSTS(10)*CONSTS(2)) CONSTS(15) = CONSTS(7)*EXP(CONSTS(12))*(CONSTS(8)+ CONSTS(10)*CONSTS(3)) CONSTS(16) = CONSTS(7)*EXP(CONSTS(12))*CONSTS(11)*CONSTS(4) CONSTS(17) = CONSTS(7)*EXP(CONSTS(12))*CONSTS(11)*CONSTS(5) CONSTS(18) = CONSTS(7)*EXP(CONSTS(12))*CONSTS(10)*CONSTS(6) 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