aboutsummaryrefslogtreecommitdiff
path: root/chaos/src/chua.hpp
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2006-05-21 18:34:34 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:12:02 +0200
commit13cba7a7997e318fbba01a36912219355e387d52 (patch)
tree77ec90e15c3a912a480d21958bdf1b57a7d7f14f /chaos/src/chua.hpp
parentcceea140611ff282d1513937f615abe2b8081ebc (diff)
rewrote most stuff using templates
svn path=/trunk/externals/tb/; revision=5105
Diffstat (limited to 'chaos/src/chua.hpp')
-rw-r--r--chaos/src/chua.hpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/chaos/src/chua.hpp b/chaos/src/chua.hpp
index 997116c..f8c6e31 100644
--- a/chaos/src/chua.hpp
+++ b/chaos/src/chua.hpp
@@ -31,11 +31,10 @@
// taken from Viktor Avrutin: lecture notes
class chua:
- public ode_base
+ public ode_base<3>
{
public:
- chua():
- ode_base(3)
+ chua()
{
CHAOS_PAR_INIT(method,2);
CHAOS_PAR_INIT(dt,0.05);
@@ -50,10 +49,6 @@ public:
CHAOS_PAR_INIT(beta,30);
}
- ~chua()
- {
- }
-
virtual void m_system(data_t* deriv, data_t* data)
{
data_t x1 = data[0];