#include <gtest/gtest.h>
#include <cmath>
#include <memory>
Go to the source code of this file.
|
const size_t | stateSize = 2 |
|
bool | plotResult = false |
|
std::vector< std::string > | integratorNames = {"euler", "rk4", "rk78", "rk5 variable", "ode45", "modified midpoint"} |
|
std::vector< std::string > | integratorCalls = {"const", "nSteps", "adaptive", "times"} |
|
◆ uniformRandomNumber()
double uniformRandomNumber |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
◆ plotResults()
◆ TEST()
TEST |
( |
IntegrationTest |
, |
|
|
derivativeTest |
|
|
) |
| |
References dt, ct::core::EULER, i, ct::core::MODIFIED_MIDPOINT, ct::core::ODE45, plotResult, plotResults(), ct::core::RK4, ct::core::RK5VARIABLE, ct::core::RK78, ct::core::plot::show(), t, uniformRandomNumber(), w_n, and zeta.
◆ stateSize
const size_t stateSize = 2 |
◆ plotResult
◆ integratorNames
std::vector<std::string> integratorNames = {"euler", "rk4", "rk78", "rk5 variable", "ode45", "modified midpoint"} |
◆ integratorCalls
std::vector<std::string> integratorCalls = {"const", "nSteps", "adaptive", "times"} |