removed null_checker

with the latest refactoring, the null checker is not necessary anymore.
This commit is contained in:
Mario Mulansky 2015-10-28 20:38:37 -06:00
parent c3856f83a5
commit c8f28df99e
6 changed files with 0 additions and 44 deletions

View File

@ -25,7 +25,6 @@
#include <boost/numeric/odeint/stepper/stepper_categories.hpp>
#include <boost/numeric/odeint/stepper/controlled_step_result.hpp>
#include <boost/numeric/odeint/integrate/null_checker.hpp>
#include <boost/numeric/odeint/integrate/max_step_checker.hpp>
#include <boost/numeric/odeint/integrate/detail/integrate_const.hpp>
#include <boost/numeric/odeint/util/bind.hpp>

View File

@ -23,7 +23,6 @@
#include <boost/numeric/odeint/stepper/stepper_categories.hpp>
#include <boost/numeric/odeint/integrate/null_observer.hpp>
#include <boost/numeric/odeint/integrate/null_checker.hpp>
#include <boost/numeric/odeint/integrate/check_adapter.hpp>
#include <boost/numeric/odeint/integrate/detail/integrate_const.hpp>
#include <boost/numeric/odeint/integrate/detail/integrate_adaptive.hpp>

View File

@ -22,7 +22,6 @@
#include <boost/numeric/odeint/stepper/stepper_categories.hpp>
#include <boost/numeric/odeint/integrate/null_observer.hpp>
#include <boost/numeric/odeint/integrate/null_checker.hpp>
#include <boost/numeric/odeint/integrate/detail/integrate_n_steps.hpp>
namespace boost {

View File

@ -24,7 +24,6 @@
#include <boost/numeric/odeint/stepper/stepper_categories.hpp>
#include <boost/numeric/odeint/integrate/null_observer.hpp>
#include <boost/numeric/odeint/integrate/null_checker.hpp>
#include <boost/numeric/odeint/integrate/check_adapter.hpp>
#include <boost/numeric/odeint/integrate/detail/integrate_times.hpp>

View File

@ -1,37 +0,0 @@
/*
[auto_generated]
boost/numeric/odeint/integrate/null_checker.hpp
[begin_description]
null_checker
[end_description]
Copyright 2015 Mario Mulansky
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or
copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_NUMERIC_ODEINT_INTEGRATE_NULL_CHECKER_HPP_INCLUDED
#define BOOST_NUMERIC_ODEINT_INTEGRATE_NULL_CHECKER_HPP_INCLUDED
namespace boost {
namespace numeric {
namespace odeint {
struct null_checker
{
void operator()( void ) const
{ }
void reset( void ) const
{ }
};
} // namespace odeint
} // namespace numeric
} // namespace boost
#endif // BOOST_NUMERIC_ODEINT_INTEGRATE_NULL_CHECKER_HPP_INCLUDED

View File

@ -78,7 +78,6 @@ BOOST_AUTO_TEST_CASE( test_integrate_const )
// check the function signatures with normal stepper
integrate_const(stepper_type(), lorenz, x, 0.0, 10.0, 1.0);
integrate_const(stepper_type(), lorenz, x, 0.0, 10.0, 1.0, null_observer());
integrate_const(stepper_type(), lorenz, x, 0.0, 10.0, 1.0, null_observer(), null_checker());
// no exceptions expected for normal steppers
integrate_const(stepper_type(), lorenz, x, 0.0, 10.0, 1.0, null_observer(), max_step_checker(10));
@ -115,7 +114,6 @@ BOOST_AUTO_TEST_CASE( test_integrate_n_steps )
// check the function signatures with normal stepper
integrate_n_steps(stepper_type(), lorenz, x, 0.0, 1.0, 10);
integrate_n_steps(stepper_type(), lorenz, x, 0.0, 1.0, 10, null_observer());
integrate_n_steps(stepper_type(), lorenz, x, 0.0, 1.0, 10, null_observer(), null_checker());
// no exceptions expected for normal steppers
integrate_n_steps(stepper_type(), lorenz, x, 0.0, 1.0, 10, null_observer(), max_step_checker(10));
@ -153,7 +151,6 @@ BOOST_AUTO_TEST_CASE( test_integrate_times )
// check the function signatures with normal stepper
integrate_times(stepper_type(), lorenz, x, t0, t1, 1.0 , push_back_time(times));
integrate_times(stepper_type(), lorenz, x, t0, t1, 1.0 , push_back_time(times), null_checker());
// no exceptions expected for big enough step size
integrate_times(stepper_type(), lorenz, x, t0, t1, 1.0 , push_back_time(times), max_step_checker(10));
// if dt*max_steps < observer time difference we expect an exception