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