From c44f70badcf31bfd9e8e67ce34c65bff1e1522e2 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 21 Oct 2010 14:08:00 -0400 Subject: Use `x' instead of `t' for the variable in tests. --- tests/BS23.cpp | 4 ++-- tests/CK45.cpp | 4 ++-- tests/Complex.cpp | 4 ++-- tests/DP45.cpp | 4 ++-- tests/EquationSystem.cpp | 4 ++-- tests/Euler.cpp | 4 ++-- tests/HE12.cpp | 4 ++-- tests/Heun.cpp | 4 ++-- tests/Midpoint.cpp | 4 ++-- tests/RK4.cpp | 4 ++-- tests/RKF45.cpp | 4 ++-- 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 #include -// 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 #include -// 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 #include -// y' = -y (y == C*exp(t)) +// y' = -y (y == C*exp(x)) std::complex -f(double t, std::complex y) +f(double x, std::complex 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 #include -// 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 #include -// 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 #include -// 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 #include -// 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 #include -// 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 #include -// 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 #include -// 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 #include -// 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; } -- cgit v1.2.3