summaryrefslogtreecommitdiffstats
path: root/src/vZ/Midpoint.hpp
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-10-06 21:50:48 -0400
committerTavian Barnes <tavianator@gmail.com>2010-10-06 21:50:48 -0400
commitf1983adb487bb531c1c68226596b26eebf99876a (patch)
treec0700c79531e598b827d13a46eff18a3a6153967 /src/vZ/Midpoint.hpp
parentd5639168232d1c111d6924b10c6abd74204abec1 (diff)
downloadvz-f1983adb487bb531c1c68226596b26eebf99876a.tar.xz
Add Heun-Euler adaptive method.
Diffstat (limited to 'src/vZ/Midpoint.hpp')
-rw-r--r--src/vZ/Midpoint.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vZ/Midpoint.hpp b/src/vZ/Midpoint.hpp
index 2329457..a4bb906 100644
--- a/src/vZ/Midpoint.hpp
+++ b/src/vZ/Midpoint.hpp
@@ -29,10 +29,10 @@ namespace vZ
// Two function evaluations per step
// Its tableau is:
//
- // 0 |
- // 1/2|1/2
- // ---+-----
- // |0 1
+ // 0 |
+ // 1/2 | 1/2
+ // ----+------
+ // | 0 1
//
// k1 = dt*f(y[n])
// k2 = dt*f(y[n] + (dt/2)*k1)