diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-10-06 23:05:48 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-10-06 23:05:48 -0400 |
commit | e4857d7abd64993c18986b7b5f7e3b0c14eb27e0 (patch) | |
tree | 7c772c730fa8e7dd37d97a417f83bfa75fe547cb /src/vZ/RK4.hpp | |
parent | 486a188b074c0c4f3ad771f536159e1bd2045fe2 (diff) | |
download | vz-e4857d7abd64993c18986b7b5f7e3b0c14eb27e0.tar.xz |
Clean up integrator comments.
Diffstat (limited to 'src/vZ/RK4.hpp')
-rw-r--r-- | src/vZ/RK4.hpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/vZ/RK4.hpp b/src/vZ/RK4.hpp index 39fa306..0eb680e 100644 --- a/src/vZ/RK4.hpp +++ b/src/vZ/RK4.hpp @@ -34,13 +34,7 @@ namespace vZ // 1/2 | 0 1/2 // 1 | 0 0 1 // ----+---------------- - // | 1/6 1/3 1/3 1/6 - // - // k1 = dt*f(y[n]) - // k2 = dt*f(y[n] + (dt/2)*k1) - // k3 = dt*f(y[n] + (dt/2)*k2) - // k4 = dt*f(y[n] + dt*k3) - // y[n + 1] = y[n] + (k1 + 2*k2 + 2*k3 + k4)/6 + // b | 1/6 1/3 1/3 1/6 template <typename Y> class GenericRK4Integrator : public GenericSimpleIntegrator<Y> { |