dummy_observers.hpp 770 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. [auto_generated]
  3. libs/numeric/odeint/test/dummy_observers.hpp
  4. [begin_description]
  5. tba.
  6. [end_description]
  7. Copyright 2013 Karsten Ahnert
  8. Copyright 2013 Mario Mulansky
  9. Distributed under the Boost Software License, Version 1.0.
  10. (See accompanying file LICENSE_1_0.txt or
  11. copy at http://www.boost.org/LICENSE_1_0.txt)
  12. */
  13. #ifndef LIBS_NUMERIC_ODEINT_TEST_DUMMY_OBSERVERS_HPP_DEFINED
  14. #define LIBS_NUMERIC_ODEINT_TEST_DUMMY_OBSERVERS_HPP_DEFINED
  15. namespace boost {
  16. namespace numeric {
  17. namespace odeint {
  18. struct dummy_observer
  19. {
  20. template< class State >
  21. void operator()( const State &s ) const
  22. {
  23. }
  24. };
  25. } // namespace odeint
  26. } // namespace numeric
  27. } // namespace boost
  28. #endif // LIBS_NUMERIC_ODEINT_TEST_DUMMY_OBSERVERS_HPP_DEFINED