aboutsummaryrefslogtreecommitdiff
path: root/chaos/src/chua.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'chaos/src/chua.hpp')
-rw-r--r--chaos/src/chua.hpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/chaos/src/chua.hpp b/chaos/src/chua.hpp
index 3d44708..997116c 100644
--- a/chaos/src/chua.hpp
+++ b/chaos/src/chua.hpp
@@ -34,10 +34,9 @@ class chua:
public ode_base
{
public:
- chua()
+ chua():
+ ode_base(3)
{
- CHAOS_PRECONSTRUCTOR;
-
CHAOS_PAR_INIT(method,2);
CHAOS_PAR_INIT(dt,0.05);
@@ -49,15 +48,10 @@ public:
CHAOS_PAR_INIT(b,30);
CHAOS_PAR_INIT(alpha,30);
CHAOS_PAR_INIT(beta,30);
-
- CHAOS_POSTCONSTRUCTOR;
-
- ode_base_alloc();
}
~chua()
{
- ode_base_free();
}
virtual void m_system(data_t* deriv, data_t* data)