diff options
author | Tim Blechmann <timblech@users.sourceforge.net> | 2006-05-21 18:34:34 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:12:02 +0200 |
commit | 13cba7a7997e318fbba01a36912219355e387d52 (patch) | |
tree | 77ec90e15c3a912a480d21958bdf1b57a7d7f14f /chaos/src/driven_van_der_pol.hpp | |
parent | cceea140611ff282d1513937f615abe2b8081ebc (diff) |
rewrote most stuff using templates
svn path=/trunk/externals/tb/; revision=5105
Diffstat (limited to 'chaos/src/driven_van_der_pol.hpp')
-rw-r--r-- | chaos/src/driven_van_der_pol.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/chaos/src/driven_van_der_pol.hpp b/chaos/src/driven_van_der_pol.hpp index e538185..3c034d2 100644 --- a/chaos/src/driven_van_der_pol.hpp +++ b/chaos/src/driven_van_der_pol.hpp @@ -30,11 +30,10 @@ // taken from Willi-Hans Steeb: Chaos and Fractals class driven_van_der_pol - : public ode_base + : public ode_base<3> { public: - driven_van_der_pol(): - ode_base(3) + driven_van_der_pol() { CHAOS_PAR_INIT(method,2); CHAOS_PAR_INIT(dt,0.01); @@ -48,9 +47,7 @@ public: CHAOS_PAR_INIT(k,5); } - ~driven_van_der_pol() - { - } + virtual void m_system(data_t* deriv, data_t* data) { |