aboutsummaryrefslogtreecommitdiff
path: root/chaos/src/lorenz.hpp
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2004-12-24 15:31:14 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:11:57 +0200
commit45932d6b4b33ecd4f4dc2e7eab9f210dfa46cc34 (patch)
tree9acb013aa42ca3c766d57ba2c7fa96dbe0a28d75 /chaos/src/lorenz.hpp
parent404bfef9e23dfc3166cb2005367e7e8a41863914 (diff)
xmas's changes
svn path=/trunk/externals/tb/; revision=2427
Diffstat (limited to 'chaos/src/lorenz.hpp')
-rw-r--r--chaos/src/lorenz.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/chaos/src/lorenz.hpp b/chaos/src/lorenz.hpp
index e3e5ccd..700e4a1 100644
--- a/chaos/src/lorenz.hpp
+++ b/chaos/src/lorenz.hpp
@@ -26,14 +26,16 @@
// taken from Willi-Hans Steeb: Chaos and Fractals
class lorenz
- : protected ode_base
+ : public ode_base
{
public:
- logistic()
+ lorenz()
{
m_num_eq = 3;
m_data = new data_t[3];
+ CHAOS_SYS_INIT(method,0);
+ CHAOS_SYS_INIT(dt,1);
CHAOS_SYS_INIT(x1,0.8);
CHAOS_SYS_INIT(x2,0.8);
CHAOS_SYS_INIT(x3,0.8);
@@ -44,7 +46,7 @@ public:
set_method(0);
}
- ~logistic()
+ ~lorenz()
{
delete m_data;
}