Chris@102: /* Chris@102: [auto_generated] Chris@102: boost/numeric/odeint/util/split.hpp Chris@102: Chris@102: [begin_description] Chris@102: Split abstraction for parallel backends. Chris@102: [end_description] Chris@102: Chris@102: Copyright 2013 Karsten Ahnert Chris@102: Copyright 2013 Mario Mulansky Chris@102: Copyright 2013 Pascal Germroth 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_UTIL_SPLIT_HPP_INCLUDED Chris@102: #define BOOST_NUMERIC_ODEINT_UTIL_SPLIT_HPP_INCLUDED Chris@102: Chris@102: namespace boost { Chris@102: namespace numeric { Chris@102: namespace odeint { Chris@102: Chris@102: /* Chris@102: * No default implementation of the split operation Chris@102: */ Chris@102: template< class Container1, class Container2 , class Enabler = void > Chris@102: struct split_impl Chris@102: { Chris@102: static void split( const Container1 &from , Container2 &to ); Chris@102: }; Chris@102: Chris@102: template< class Container1 , class Container2 > Chris@102: void split( const Container1 &from , Container2 &to ) Chris@102: { Chris@102: split_impl< Container1 , Container2 >::split( from , to ); Chris@102: } Chris@102: Chris@102: Chris@102: /* Chris@102: * No default implementation of the unsplit operation Chris@102: */ Chris@102: template< class Container1, class Container2 , class Enabler = void > Chris@102: struct unsplit_impl Chris@102: { Chris@102: static void unsplit( const Container1 &from , Container2 &to ); Chris@102: }; Chris@102: Chris@102: template< class Container1 , class Container2 > Chris@102: void unsplit( const Container1 &from , Container2 &to ) Chris@102: { Chris@102: unsplit_impl< Container1 , Container2 >::unsplit( from , to ); Chris@102: } Chris@102: Chris@102: Chris@102: } // namespace odeint Chris@102: } // namespace numeric Chris@102: } // namespace boost Chris@102: Chris@102: Chris@102: #endif // BOOST_NUMERIC_ODEINT_UTIL_COPY_HPP_INCLUDED Chris@102: