]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/numeric/odeint/include/boost/numeric/odeint/external/vexcl/vexcl_algebra_dispatcher.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / numeric / odeint / include / boost / numeric / odeint / external / vexcl / vexcl_algebra_dispatcher.hpp
CommitLineData
7c673cae
FG
1/*
2 [auto_generated]
3 boost/numeric/odeint/external/vexcl/vexcl_algebra_dispatcher.hpp
4
5 [begin_description]
6 algebra_dispatcher specialization for vexcl
7 [end_description]
8
9 Copyright 2013 Karsten Ahnert
10 Copyright 2013 Mario Mulansky
11
12 Distributed under the Boost Software License, Version 1.0.
13 (See accompanying file LICENSE_1_0.txt or
14 copy at http://www.boost.org/LICENSE_1_0.txt)
15*/
16
17
18#ifndef BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_ALGEBRA_DISPATCHER_HPP_DEFINED
19#define BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_ALGEBRA_DISPATCHER_HPP_DEFINED
20
21#include <vexcl/vector.hpp>
22#include <vexcl/multivector.hpp>
23
24#include <boost/numeric/odeint/algebra/vector_space_algebra.hpp>
25#include <boost/numeric/odeint/algebra/algebra_dispatcher.hpp>
26
27
28namespace boost {
29namespace numeric {
30namespace odeint {
31
32// specialization for vexcl vector
33template< typename T >
34struct algebra_dispatcher< vex::vector< T > >
35{
36 typedef vector_space_algebra algebra_type;
37};
38
39// specialization for vexcl multivector
40template< typename T , size_t N >
41struct algebra_dispatcher< vex::multivector< T , N > >
42{
43 typedef vector_space_algebra algebra_type;
44};
45
46} // namespace odeint
47} // namespace numeric
48} // namespace boost
49
50
51#endif // BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_ALGEBRA_DISPATCHER_HPP_DEFINED