aboutsummaryrefslogtreecommitdiff
path: root/chaos/src/roessler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'chaos/src/roessler.hpp')
-rw-r--r--chaos/src/roessler.hpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/chaos/src/roessler.hpp b/chaos/src/roessler.hpp
index e2c55e0..fd65d4e 100644
--- a/chaos/src/roessler.hpp
+++ b/chaos/src/roessler.hpp
@@ -29,10 +29,9 @@ class roessler
: public ode_base
{
public:
- roessler()
+ roessler():
+ ode_base(3)
{
- CHAOS_PRECONSTRUCTOR;
-
CHAOS_PAR_INIT(method,0);
CHAOS_PAR_INIT(dt,0.001);
@@ -43,15 +42,10 @@ public:
CHAOS_PAR_INIT(a,4);
CHAOS_PAR_INIT(b,4);
CHAOS_PAR_INIT(c,4);
-
- CHAOS_POSTCONSTRUCTOR;
- ode_base_alloc();
}
~roessler()
{
- ode_base_free();
-
}
virtual void m_system(data_t* deriv, data_t* data)