annotate DEPENDENCIES/generic/include/boost/numeric/odeint/util/split.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents f46d142149f5
children
rev   line source
Chris@102 1 /*
Chris@102 2 [auto_generated]
Chris@102 3 boost/numeric/odeint/util/split.hpp
Chris@102 4
Chris@102 5 [begin_description]
Chris@102 6 Split abstraction for parallel backends.
Chris@102 7 [end_description]
Chris@102 8
Chris@102 9 Copyright 2013 Karsten Ahnert
Chris@102 10 Copyright 2013 Mario Mulansky
Chris@102 11 Copyright 2013 Pascal Germroth
Chris@102 12
Chris@102 13 Distributed under the Boost Software License, Version 1.0.
Chris@102 14 (See accompanying file LICENSE_1_0.txt or
Chris@102 15 copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@102 16 */
Chris@102 17
Chris@102 18
Chris@102 19 #ifndef BOOST_NUMERIC_ODEINT_UTIL_SPLIT_HPP_INCLUDED
Chris@102 20 #define BOOST_NUMERIC_ODEINT_UTIL_SPLIT_HPP_INCLUDED
Chris@102 21
Chris@102 22 namespace boost {
Chris@102 23 namespace numeric {
Chris@102 24 namespace odeint {
Chris@102 25
Chris@102 26 /*
Chris@102 27 * No default implementation of the split operation
Chris@102 28 */
Chris@102 29 template< class Container1, class Container2 , class Enabler = void >
Chris@102 30 struct split_impl
Chris@102 31 {
Chris@102 32 static void split( const Container1 &from , Container2 &to );
Chris@102 33 };
Chris@102 34
Chris@102 35 template< class Container1 , class Container2 >
Chris@102 36 void split( const Container1 &from , Container2 &to )
Chris@102 37 {
Chris@102 38 split_impl< Container1 , Container2 >::split( from , to );
Chris@102 39 }
Chris@102 40
Chris@102 41
Chris@102 42 /*
Chris@102 43 * No default implementation of the unsplit operation
Chris@102 44 */
Chris@102 45 template< class Container1, class Container2 , class Enabler = void >
Chris@102 46 struct unsplit_impl
Chris@102 47 {
Chris@102 48 static void unsplit( const Container1 &from , Container2 &to );
Chris@102 49 };
Chris@102 50
Chris@102 51 template< class Container1 , class Container2 >
Chris@102 52 void unsplit( const Container1 &from , Container2 &to )
Chris@102 53 {
Chris@102 54 unsplit_impl< Container1 , Container2 >::unsplit( from , to );
Chris@102 55 }
Chris@102 56
Chris@102 57
Chris@102 58 } // namespace odeint
Chris@102 59 } // namespace numeric
Chris@102 60 } // namespace boost
Chris@102 61
Chris@102 62
Chris@102 63 #endif // BOOST_NUMERIC_ODEINT_UTIL_COPY_HPP_INCLUDED
Chris@102 64