annotate DEPENDENCIES/generic/include/boost/numeric/odeint/external/vexcl/vexcl_copy.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents f46d142149f5
children
rev   line source
Chris@102 1 /*
Chris@102 2 [auto_generated]
Chris@102 3 boost/numeric/odeint/external/vexcl/vexcl_copy.hpp
Chris@102 4
Chris@102 5 [begin_description]
Chris@102 6 copy_impl specializations for vexcl
Chris@102 7 [end_description]
Chris@102 8
Chris@102 9 Copyright 2009-2011 Karsten Ahnert
Chris@102 10 Copyright 2009-2011 Mario Mulansky
Chris@102 11
Chris@102 12 Distributed under the Boost Software License, Version 1.0.
Chris@102 13 (See accompanying file LICENSE_1_0.txt or
Chris@102 14 copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@102 15 */
Chris@102 16
Chris@102 17
Chris@102 18 #ifndef BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_COPY_HPP_INCLUDED
Chris@102 19 #define BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_COPY_HPP_INCLUDED
Chris@102 20
Chris@102 21 #include <vexcl/vector.hpp>
Chris@102 22 #include <vexcl/multivector.hpp>
Chris@102 23
Chris@102 24 #include <boost/numeric/odeint/util/copy.hpp>
Chris@102 25
Chris@102 26 namespace boost {
Chris@102 27 namespace numeric {
Chris@102 28 namespace odeint {
Chris@102 29
Chris@102 30 template< typename T1, typename T2 >
Chris@102 31 struct copy_impl< vex::vector<T1>, vex::vector<T2> >
Chris@102 32 {
Chris@102 33 static void copy( const vex::vector<T1> &from , vex::vector<T2> &to )
Chris@102 34 {
Chris@102 35 to = from;
Chris@102 36 }
Chris@102 37 };
Chris@102 38
Chris@102 39 template< typename T1, typename T2, size_t N >
Chris@102 40 struct copy_impl< vex::multivector<T1, N>, vex::multivector<T2, N> >
Chris@102 41 {
Chris@102 42 static void copy( const vex::multivector<T1, N> &from , vex::multivector<T2, N> &to )
Chris@102 43 {
Chris@102 44 to = from;
Chris@102 45 }
Chris@102 46 };
Chris@102 47
Chris@102 48
Chris@102 49 } // namespace odeint
Chris@102 50 } // namespace numeric
Chris@102 51 } // namespace boost
Chris@102 52
Chris@102 53
Chris@102 54
Chris@102 55 #endif // BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_COPY_HPP_INCLUDED