aboutsummaryrefslogtreecommitdiff
path: root/chaos/src/duffing.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/duffing.hpp
parentcceea140611ff282d1513937f615abe2b8081ebc (diff)
rewrote most stuff using templates
svn path=/trunk/externals/tb/; revision=5105
Diffstat (limited to 'chaos/src/duffing.hpp')
-rw-r--r--chaos/src/duffing.hpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/chaos/src/duffing.hpp b/chaos/src/duffing.hpp
index 6cdafd6..ee7f7fb 100644
--- a/chaos/src/duffing.hpp
+++ b/chaos/src/duffing.hpp
@@ -26,11 +26,10 @@
class duffing:
- public ode_base
+ public ode_base<2>
{
public:
- duffing():
- ode_base(2)
+ duffing()
{
CHAOS_PAR_INIT(method,0);
CHAOS_PAR_INIT(dt,0.01);
@@ -45,9 +44,6 @@ public:
t = 0;
}
- ~duffing()
- {
- }
virtual void m_system(data_t* deriv, data_t* data)
{