Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::numeric::odeint::split_impl< SourceContainer, openmp_state< typename SourceContainer::value_type > > Struct Template Reference

Copy data from some container to an openmp_state and resize it. More...

#include <openmp_state.hpp>

Static Public Member Functions

static void split (const SourceContainer &from, openmp_state< typename SourceContainer::value_type > &to)
 

Detailed Description

template<class SourceContainer>
struct boost::numeric::odeint::split_impl< SourceContainer, openmp_state< typename SourceContainer::value_type > >

Copy data from some container to an openmp_state and resize it.

Target container size will determine number of blocks to split into. If it is empty, it will be resized to the maximum number of OpenMP threads. SourceContainer must support s::value_type, s::const_iterator, s.begin(), s.end() and s.size(), with Random Access Iterators; i.e. it must be a Random Access Container.

Member Function Documentation

template<class SourceContainer >
static void boost::numeric::odeint::split_impl< SourceContainer, openmp_state< typename SourceContainer::value_type > >::split ( const SourceContainer &  from,
openmp_state< typename SourceContainer::value_type > &  to 
)
inlinestatic

The documentation for this struct was generated from the following file: