compute_algebra_dispatcher.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. [auto_generated]
  3. boost/numeric/odeint/external/compute/compute_algebra_dispatcher.hpp
  4. [begin_description]
  5. algebra_dispatcher specialization for Boost.Compute
  6. [end_description]
  7. Copyright 2009-2013 Karsten Ahnert
  8. Copyright 2009-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 BOOST_NUMERIC_ODEINT_EXTERNAL_COMPUTE_COMPUTE_ALGEBRA_DISPATCHER_HPP_DEFINED
  14. #define BOOST_NUMERIC_ODEINT_EXTERNAL_COMPUTE_COMPUTE_ALGEBRA_DISPATCHER_HPP_DEFINED
  15. #include <boost/compute/container/vector.hpp>
  16. #include <boost/numeric/odeint/external/compute/compute_algebra.hpp>
  17. #include <boost/numeric/odeint/algebra/algebra_dispatcher.hpp>
  18. namespace boost {
  19. namespace numeric {
  20. namespace odeint {
  21. // specialization for Boost.Compute vector
  22. template< class T , class A >
  23. struct algebra_dispatcher< boost::compute::vector< T , A > >
  24. {
  25. typedef compute_algebra algebra_type;
  26. };
  27. } // namespace odeint
  28. } // namespace numeric
  29. } // namespace boost
  30. #endif // BOOST_NUMERIC_ODEINT_EXTERNAL_COMPUTE_COMPUTE_ALGEBRA_DISPATCHER_HPP_DEFINED