summaryrefslogtreecommitdiffstats
path: root/tests/RKF45.cpp
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-10-07 00:02:53 -0400
committerTavian Barnes <tavianator@gmail.com>2010-10-07 00:02:53 -0400
commit90f6cedb9eae73fdf0c44c34874c7e67f39e02c2 (patch)
treea4fc804d92981da2d8e4354093e0b6df99cc3ed5 /tests/RKF45.cpp
parent2b438504e0fc68ea8224e88675247e555ee6a6e6 (diff)
downloadvz-90f6cedb9eae73fdf0c44c34874c7e67f39e02c2.tar.xz
Add iteration count to Integrator.
Diffstat (limited to 'tests/RKF45.cpp')
-rw-r--r--tests/RKF45.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/RKF45.cpp b/tests/RKF45.cpp
index 8b87216..1ac3e4f 100644
--- a/tests/RKF45.cpp
+++ b/tests/RKF45.cpp
@@ -26,6 +26,7 @@ main()
<< "Numerical: " << actual << std::endl
<< "Expected: " << expected << std::endl
<< "h: " << integrator.h() << std::endl
+ << "iterations: " << integrator.iterations() << std::endl
<< "rejections: " << integrator.rejections() << std::endl;
double error = std::fabs(expected - actual)/expected;