diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-10-11 02:38:46 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-10-11 02:38:46 -0400 |
commit | 2c2b69e1df183f118c45d74c18c7e84934aaff1f (patch) | |
tree | 20b71268a0024c751c7075fbb7ac7210f827c4d7 /src/vZ/Integrator.hpp | |
parent | c9d71b99d4bf8c7eef40c043c8d7726962847667 (diff) | |
download | vz-2c2b69e1df183f118c45d74c18c7e84934aaff1f.tar.xz |
Support systems of ODEs.
Diffstat (limited to 'src/vZ/Integrator.hpp')
-rw-r--r-- | src/vZ/Integrator.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vZ/Integrator.hpp b/src/vZ/Integrator.hpp index c6d6fbe..cb9649a 100644 --- a/src/vZ/Integrator.hpp +++ b/src/vZ/Integrator.hpp @@ -39,9 +39,9 @@ namespace vZ typedef typename Traits<Y>::Scalar Scalar; typedef std::tr1::function<Y (Scalar, Y)> Function; - // By default, y and t start at zero, h starts UNDEFINED + // By default, y, t, and h start UNDEFINED GenericIntegrator(Function f) - : m_f(f), m_y(0), m_x(0), m_iterations(0) { } + : m_f(f),m_iterations(0) { } virtual ~GenericIntegrator() { } GenericIntegrator& y(Y y) { m_y = y; return *this; } |