initial import
[iDMC.git] / models / cremona.lua
blob1bbe06fa7c90c803f664d240448df80285917ef5
1 --% ft| BASIN sn| a:~1~~infi:~111~~tran:~30~~iter:~11111~~tria:~100~~min:~-1~~max:~1~~min:~-1~~ n| #0 d| 1 n| #1 d| 111 n| #2 d| 30 n| #3 d| 11111 n| #4 d| 100 n| #5 d| -1 n| #6 d| 1 n| #7 d| -1 n| #8 d| 1
2 --% ft| TRAJECTORY_T0_V0_A1_O0 sn| Invariant~curves n| #0 d| -0.45 n| #1 d| 0.3 n| #2 d| 1.33 n| #3 d| 1000 n| #4 d| 30000 n| #5 d| 30000 n| #6 d| x n| #7 d| y
3 --% ft| BIFURCATION_1 sn| Closed-curve~asimpthtotic~dynamics n| #0 d| -0.45 n| #1 d| 0.3 n| #2 d| a n| #3 d| 0.8 n| #4 d| 5.75 n| #5 d| -1 n| #6 d| 1 n| #7 d| 500 n| #8 d| 200 n| #9 d| x
4 --@@
5 name = "Cremona"
6 description = "See Model refs in user's guide"
7 type = "D"
8 parameters = {"a"}
9 variables = {"x", "y"}
11 function f(a, x, y)
13 x1 = x * math.cos(a) - (y - x^2) * math.sin (a)
14 y1 = x * math.sin(a) + (y - x^2) * math.cos(a)
16 return x1, y1
18 end