fixed double error message reporting in trajectory plot
[iDMC.git] / models / Primer / conbif.lua
blob40194ce965fbcafb9bbeccab34db4ff9cf7b522a
1 --% ft| TRAJECTORY_T1_V0_A1_O1 sn| Convergence~to~a~fixed~point n| #0 d| 0.2 n| #1 d| -0.9 n| #2 d| 0.02 n| #3 d| 0 n| #4 d| 500 n| #5 d| 500 n| #6 d| x
2 --@@
3 name = "Conbif"
4 description = "See Model refs in user's guide"
5 type = "C"
7 parameters = {"mu"}
9 variables = {"x"}
12 function f(mu, x)
14 x1 = x^3 + x^2 - (2+mu)*x + mu
16 return x1
18 end