Chris@102: /* Chris@102: [auto_generated] Chris@102: boost/numeric/odeint/external/vexcl/vexcl_copy.hpp Chris@102: Chris@102: [begin_description] Chris@102: copy_impl specializations for vexcl Chris@102: [end_description] Chris@102: Chris@102: Copyright 2009-2011 Karsten Ahnert Chris@102: Copyright 2009-2011 Mario Mulansky Chris@102: Chris@102: Distributed under the Boost Software License, Version 1.0. Chris@102: (See accompanying file LICENSE_1_0.txt or Chris@102: copy at http://www.boost.org/LICENSE_1_0.txt) Chris@102: */ Chris@102: Chris@102: Chris@102: #ifndef BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_COPY_HPP_INCLUDED Chris@102: #define BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_COPY_HPP_INCLUDED Chris@102: Chris@102: #include Chris@102: #include Chris@102: Chris@102: #include Chris@102: Chris@102: namespace boost { Chris@102: namespace numeric { Chris@102: namespace odeint { Chris@102: Chris@102: template< typename T1, typename T2 > Chris@102: struct copy_impl< vex::vector, vex::vector > Chris@102: { Chris@102: static void copy( const vex::vector &from , vex::vector &to ) Chris@102: { Chris@102: to = from; Chris@102: } Chris@102: }; Chris@102: Chris@102: template< typename T1, typename T2, size_t N > Chris@102: struct copy_impl< vex::multivector, vex::multivector > Chris@102: { Chris@102: static void copy( const vex::multivector &from , vex::multivector &to ) Chris@102: { Chris@102: to = from; Chris@102: } Chris@102: }; Chris@102: Chris@102: Chris@102: } // namespace odeint Chris@102: } // namespace numeric Chris@102: } // namespace boost Chris@102: Chris@102: Chris@102: Chris@102: #endif // BOOST_NUMERIC_ODEINT_EXTERNAL_VEXCL_VEXCL_COPY_HPP_INCLUDED