nt2_algebra_dispatcher.hpp 1.0 KB

12345678910111213141516171819202122232425
  1. //==============================================================================
  2. // Copyright 2014 LRI UMR 8623 CNRS/Univ Paris Sud XI
  3. // Copyright 2014 NumScale SAS
  4. //
  5. // Distributed under the Boost Software License, Version 1.0.
  6. // See accompanying file LICENSE.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt
  8. //==============================================================================
  9. #ifndef BOOST_NUMERIC_ODEINT_EXTERNAL_NT2_NT2_ALGEBRA_DISPATCHER_HPP_INCLUDED
  10. #define BOOST_NUMERIC_ODEINT_EXTERNAL_NT2_NT2_ALGEBRA_DISPATCHER_HPP_INCLUDED
  11. #include <nt2/core/container/table/table.hpp>
  12. #include <boost/numeric/odeint/algebra/vector_space_algebra.hpp>
  13. #include <boost/numeric/odeint/algebra/algebra_dispatcher.hpp>
  14. namespace boost { namespace numeric { namespace odeint {
  15. template<typename T, typename S>
  16. struct algebra_dispatcher<nt2::container::table<T,S> >
  17. {
  18. typedef vector_space_algebra algebra_type;
  19. };
  20. } } }
  21. #endif