diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-10-21 14:08:00 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-10-21 14:08:00 -0400 |
commit | c44f70badcf31bfd9e8e67ce34c65bff1e1522e2 (patch) | |
tree | 43df3493393dbaff73e8d10963fe85b477401f04 | |
parent | d92b4ccd931502d1fc4117d8bc7738e0bb497297 (diff) | |
download | vz-c44f70badcf31bfd9e8e67ce34c65bff1e1522e2.tar.xz |
Use `x' instead of `t' for the variable in tests.
-rw-r--r-- | tests/BS23.cpp | 4 | ||||
-rw-r--r-- | tests/CK45.cpp | 4 | ||||
-rw-r--r-- | tests/Complex.cpp | 4 | ||||
-rw-r--r-- | tests/DP45.cpp | 4 | ||||
-rw-r--r-- | tests/EquationSystem.cpp | 4 | ||||
-rw-r--r-- | tests/Euler.cpp | 4 | ||||
-rw-r--r-- | tests/HE12.cpp | 4 | ||||
-rw-r--r-- | tests/Heun.cpp | 4 | ||||
-rw-r--r-- | tests/Midpoint.cpp | 4 | ||||
-rw-r--r-- | tests/RK4.cpp | 4 | ||||
-rw-r--r-- | tests/RKF45.cpp | 4 | ||||
-rw-r--r-- | tests/Vector.cpp | 4 |
12 files changed, 24 insertions, 24 deletions
diff --git a/tests/BS23.cpp b/tests/BS23.cpp index c2eb345..8bbcd96 100644 --- a/tests/BS23.cpp +++ b/tests/BS23.cpp @@ -23,9 +23,9 @@ #include <iostream> #include <iomanip> -// y' = y (y == C*exp(t)) +// y' = y (y == C*exp(x)) double -f(double t, double y) +f(double x, double y) { return y; } diff --git a/tests/CK45.cpp b/tests/CK45.cpp index c040436..0c275df 100644 --- a/tests/CK45.cpp +++ b/tests/CK45.cpp @@ -23,9 +23,9 @@ #include <iostream> #include <iomanip> -// y' = y (y == C*exp(t)) +// y' = y (y == C*exp(x)) double -f(double t, double y) +f(double x, double y) { return y; } diff --git a/tests/Complex.cpp b/tests/Complex.cpp index df517b0..3d290c0 100644 --- a/tests/Complex.cpp +++ b/tests/Complex.cpp @@ -24,9 +24,9 @@ #include <iostream> #include <iomanip> -// y' = -y (y == C*exp(t)) +// y' = -y (y == C*exp(x)) std::complex<double> -f(double t, std::complex<double> y) +f(double x, std::complex<double> y) { return y; } diff --git a/tests/DP45.cpp b/tests/DP45.cpp index 12c3202..6367dc7 100644 --- a/tests/DP45.cpp +++ b/tests/DP45.cpp @@ -23,9 +23,9 @@ #include <iostream> #include <iomanip> -// y' = y (y == C*exp(t)) +// y' = y (y == C*exp(x)) double -f(double t, double y) +f(double x, double y) { return y; } diff --git a/tests/EquationSystem.cpp b/tests/EquationSystem.cpp index 6919506..6d83917 100644 --- a/tests/EquationSystem.cpp +++ b/tests/EquationSystem.cpp @@ -25,13 +25,13 @@ typedef vZ::EquationSystem<2> Y; -// y'' = y (y == C*exp(t) + D*exp(-t)) +// y'' = y (y == C*exp(x) + D*exp(-x)) // // Split as: // y' = v // v' = y Y -f(double t, Y y) +f(double x, Y y) { Y r; r[0] = y[1]; diff --git a/tests/Euler.cpp b/tests/Euler.cpp index fa2d97c..d9c6d18 100644 --- a/tests/Euler.cpp +++ b/tests/Euler.cpp @@ -23,9 +23,9 @@ #include <iostream> #include <iomanip> -// y' = y (y == C*exp(t)) +// y' = y (y == C*exp(x)) double -f(double t, double y) +f(double x, double y) { return y; } diff --git a/tests/HE12.cpp b/tests/HE12.cpp index fd2fb56..19c5e59 100644 --- a/tests/HE12.cpp +++ b/tests/HE12.cpp @@ -23,9 +23,9 @@ #include <iostream> #include <iomanip> -// y' = y (y == C*exp(t)) +// y' = y (y == C*exp(x)) double -f(double t, double y) +f(double x, double y) { return y; } diff --git a/tests/Heun.cpp b/tests/Heun.cpp index d9e4cbe..d4f02bc 100644 --- a/tests/Heun.cpp +++ b/tests/Heun.cpp @@ -23,9 +23,9 @@ #include <iostream> #include <iomanip> -// y' = y (y == C*exp(t)) +// y' = y (y == C*exp(x)) double -f(double t, double y) +f(double x, double y) { return y; } diff --git a/tests/Midpoint.cpp b/tests/Midpoint.cpp index f667ca5..01c8853 100644 --- a/tests/Midpoint.cpp +++ b/tests/Midpoint.cpp @@ -23,9 +23,9 @@ #include <iostream> #include <iomanip> -// y' = y (y == C*exp(t)) +// y' = y (y == C*exp(x)) double -f(double t, double y) +f(double x, double y) { return y; } diff --git a/tests/RK4.cpp b/tests/RK4.cpp index 75ec46a..71a998c 100644 --- a/tests/RK4.cpp +++ b/tests/RK4.cpp @@ -23,9 +23,9 @@ #include <iostream> #include <iomanip> -// y' = y (y == C*exp(t)) +// y' = y (y == C*exp(x)) double -f(double t, double y) +f(double x, double y) { return y; } diff --git a/tests/RKF45.cpp b/tests/RKF45.cpp index 59bad82..c2b98b7 100644 --- a/tests/RKF45.cpp +++ b/tests/RKF45.cpp @@ -23,9 +23,9 @@ #include <iostream> #include <iomanip> -// y' = y (y == C*exp(t)) +// y' = y (y == C*exp(x)) double -f(double t, double y) +f(double x, double y) { return y; } diff --git a/tests/Vector.cpp b/tests/Vector.cpp index e3b660c..688f826 100644 --- a/tests/Vector.cpp +++ b/tests/Vector.cpp @@ -23,9 +23,9 @@ #include <iostream> #include <iomanip> -// y' = -y (y == C*exp(-t)) +// y' = -y (y == C*exp(-x)) vZ::Vector<3> -f(double t, vZ::Vector<3> y) +f(double x, vZ::Vector<3> y) { return -y; } |