Skip to content
Snippets Groups Projects
Commit 5d5a2774 authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Dmitri Naumov
Browse files

[T] changed filename and spelling.

parent 8cf0f3a0
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <logog/include/logog.hpp> #include <logog/include/logog.hpp>
#include "MathLib/ODE/ConcreteOdeSolver.h" #include "MathLib/ODE/ConcreteODESolver.h"
const double abs_tol = 1e-8; const double abs_tol = 1e-8;
const double rel_tol = 1e-8; const double rel_tol = 1e-8;
...@@ -62,18 +62,18 @@ bool any_ode_solver_libs_available() ...@@ -62,18 +62,18 @@ bool any_ode_solver_libs_available()
} }
template <unsigned NumEquations> template <unsigned NumEquations>
std::unique_ptr<MathLib::OdeSolver<NumEquations>> make_ode_solver( std::unique_ptr<MathLib::ODESolver<NumEquations>> make_ode_solver(
boost::property_tree::ptree const& conf) boost::property_tree::ptree const& conf)
{ {
BaseLib::ConfigTree config(conf, "", BaseLib::ConfigTree::onerror, BaseLib::ConfigTree config(conf, "", BaseLib::ConfigTree::onerror,
BaseLib::ConfigTree::onwarning); BaseLib::ConfigTree::onwarning);
return MathLib::createOdeSolver<NumEquations>(config); return MathLib::createODESolver<NumEquations>(config);
} }
// There is no definition of this function in order to prevent passing temporary // There is no definition of this function in order to prevent passing temporary
// property trees! There will be linker errors if you do so anyway. // property trees! There will be linker errors if you do so anyway.
template <unsigned NumEquations> template <unsigned NumEquations>
std::unique_ptr<MathLib::OdeSolver<NumEquations>> make_ode_solver( std::unique_ptr<MathLib::ODESolver<NumEquations>> make_ode_solver(
boost::property_tree::ptree&&); boost::property_tree::ptree&&);
void check(const double time_reached, const double y, const double y_dot, void check(const double time_reached, const double y, const double y_dot,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment