unsupported
  /   ˆ{‹„„-i[D<†ªoZƒ›Ù«Â515_‘I|¥‰ÓMdœv ©ƒ†ü+=ÂÁ     ‹      ½”QoÓ0Çß÷)ŒxK®MË¤n‰Ñh*QÑµUñàÆnâ-µ#Û%Ÿ§	j@-0Qñ”süÏÝÿwv.|/ÆÉ§å½MnghùþÍl:FØø0ÄIÜlý^`2ÇçÖ–W UUùÕÀW:ƒd¹ÝC0V‹ÔúÌ2L.Âú¹@aÎ)sOZaN¦’ñG¤6ÔÎÁøJ­R°¹vBÏðbZ);£ÁäTs�Šñ{;+
�ñRó”ZB“ÏU€¶D¸Vì©®Ü?c—lož®÷ÅêP“Ðæè+-D&#lU‰I(¶2:�0ˆTIë‚Ê?Œha#üy:^|q:ç þš„9+›¿GóëEc2§[W�×Ü:Í&3j,Ú*&6‚³“â»F|'¾�N7š˜›T‹Ò
%Rpˆ]ÔT¦¤Žõ•#ÈuWÕHØŸºAÓŸš±¼YMæI<]5-auŠƒ»gŸ&K·’ÅÂ›Uú©ei¿”kS^ÿX¢Ö©Yn1AÈCG•ÏÀ³üÑvñ’�ÉQ°µV•áÚ¿7˜â®×_Ì½ ïõF^0BAp:!ìû—ïþEÝô=BœÅ¿ÛûWÿ;ù U%»îE(Ý}¤Ym^ILº«sÀ\Ž†¿�ùËÿ
Ú‰Â~ª…ÐÌÓïígŠ²    D   ˆl–Ãa¾”êh¥2 ¸&®6â˜´o�þZ~9VnRÉÜcüÿÅ„Ï:ÿÄ_‹I|¥�+ýÿ¹ä³ÄÃ ?÷     /*
 [auto_generated]
 boost/numeric/odeint/external/openmp/openmp_nested_algebra.hpp

 [begin_description]
 Nested parallelized algebra for OpenMP.
 [end_description]

 Copyright 2013 Karsten Ahnert
 Copyright 2013 Mario Mulansky
 Copyright 2013 Pascal Germroth

 Distributed under the Boost Software License, Version 1.0.
 (See accompanying file LICENSE_1_0.txt or
 copy at http://www.boost.org/LICENSE_1_0.txt)
 */


#ifndef BOOST_NUMERIC_ODEINT_EXTERNAL_OPENMP_OPENMP_NESTED_ALGEBRA_HPP_INCLUDED
#define BOOST_NUMERIC_ODEINT_EXTERNAL_OPENMP_OPENMP_NESTED_ALGEBRA_HPP_INCLUDED

#include <boost/assert.hpp>
#include <boost/range.hpp>
#include <boost/numeric/odeint/algebra/norm_result_type.hpp>
#include <boost/numeric/odeint/util/n_ary_helper.hpp>

namespace boost {
namespace numeric {
namespace odeint {

/** \brief OpenMP-parallelized algebra, wrapping another, non-parallelized algebra.
 *
 * NestedState must be a model of Random Access Range, where the elements are sub-states
 * which will be processed in parallel.
 */
template< class InnerAlgebra >
struct openmp_nested_algebra
{

#if __cplusplus >= 201103L // C++11 supports _Pragma

#define BOOST_ODEINT_GEN_LOCAL(z, n, unused) \
    BOOST_ASSERT_MSG( len == boost::size(s ## n), "All nested state ranges must have the same size." ); \
    typename boost::range_iterator<S ## n>::type beg ## n = boost::begin(s ## n);
#define BOOST_ODEINT_GEN_BODY(n) \
    const size_t len = boost::size(s0); \
    BOOST_PP_REPEAT(n, BOOST_ODEINT_GEN_LOCAL, ~) \
    _Pragma("omp parallel for schedule(runtime)") \
    for( size_t i = 0 ; i < len ; i++ ) \
        InnerAlgebra::for_each##n( \
            BOOST_PP_ENUM_BINARY_PARAMS(n, beg, [i] BOOST_PP_INTERCEPT) , \
            op \
        );
BOOST_ODEINT_GEN_FOR_EACH(BOOST_ODEINT_GEN_BODY)
#undef BOOST_ODEINT_GEN_BODY
#undef BOOST_ODEINT_GEN_LOCAL

#else

    template< class S0 , class Op > static void for_each1 ( S0 &s0 , Op op ) {
        const size_t len = boost::size(s0);
        typename boost::range_iterator<S0>::type beg0 = boost::begin(s0);
        #pragma omp parallel for schedule(runtime)
        for( size_t i = 0 ; i < len ; i++ ) InnerAlgebra::for_each1( beg0 [i] , op );
    }
    template< class S0 , class S1 , class Op > static void for_each2 ( S0 &s0 , S1 &s1 , Op op ) {
        const size_t len = boost::size(s0);
        typename boost::range_iterator<S0>::type beg0 = boost::begin(s0);
        typename boost::range_iterator<S1>::type beg1 = boost::begin(s1);
        #pragma omp parallel for schedule(runtime)
        for( size_t i = 0 ; i < len ; i++ ) InnerAlgebra::for_each2( beg0 [i] , beg1 [i] , op );
    }
    template< class S0 , class S1 , class S2 , class Op > static void for_each3 ( S0 &s0 , S1 &s1 , S2 &s2 , Op op ) {
        const size_t len = boost::size(s0);
        typename boost::range_iterator<S0>::type beg0 = boost::begin(s0);
        typename boost::range_iterator<S1>::type beg1 = boost::begin(s1);
        typename boost::range_iterator<S2>::type beg2 = boost::begin(s2);
        #pragma omp parallel for schedule(runtime)
        for( size_t i = 0 ; i < len ; i++ ) InnerAlgebra::for_each3( beg0 [i] , beg1 [i] , beg2 [i] , op );
    }
    template< class S0 , class S1 , class S2 , class S3 , class Op > static void for_each4 ( S0 &s0 , S1 &s1 , S2 &s2 , S3 &s3 , Op op ) {
        const size_t len = boost::size(s0);
        typename boost::range_iterator<