aboutsummaryrefslogtreecommitdiff
path: root/chaos/src/lorenz.hpp
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2004-12-25 12:50:41 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:11:57 +0200
commiteced45909ba691a454fec179360ec1c2663f773a (patch)
treed67d33d3fde0ac583ad01795e3e3736874fb13f4 /chaos/src/lorenz.hpp
parent5c3670b6322b60b8bc5f60e22d891fe39b854e3e (diff)
getting stable
svn path=/trunk/externals/tb/; revision=2429
Diffstat (limited to 'chaos/src/lorenz.hpp')
-rw-r--r--chaos/src/lorenz.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/chaos/src/lorenz.hpp b/chaos/src/lorenz.hpp
index fdae428..a31c151 100644
--- a/chaos/src/lorenz.hpp
+++ b/chaos/src/lorenz.hpp
@@ -35,10 +35,10 @@ public:
m_data = new data_t[m_num_eq];
CHAOS_SYS_INIT(method,0);
- CHAOS_SYS_INIT(dt,1);
+ CHAOS_SYS_INIT(dt,0.01);
CHAOS_SYS_INIT(x1,0.8);
- CHAOS_SYS_INIT(x2,0.8);
- CHAOS_SYS_INIT(x3,0.8);
+ CHAOS_SYS_INIT(x2,0.7);
+ CHAOS_SYS_INIT(x3,0.6);
CHAOS_SYS_INIT(sigma,16);
CHAOS_SYS_INIT(b,4);
CHAOS_SYS_INIT(r,40);
@@ -60,7 +60,7 @@ public:
deriv[0] = CHAOS_PARAMETER(sigma) * (x2 - x1);
deriv[1] = - x1 * x3 + CHAOS_PARAMETER(r) * x1 - x2;
- deriv[3] = x1 * x2 - CHAOS_PARAMETER(b) * x3;
+ deriv[2] = x1 * x2 - CHAOS_PARAMETER(b) * x3;
}
CHAOS_SYSVAR_FUNCS(x1, 0);