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::detail Namespace Reference

Namespaces

 symplectic_euler_coef
 
 symplectic_rkn_sb3a_m4_mclachlan
 
 symplectic_rkn_sb3a_mclachlan
 

Classes

struct  fusion_maximum
 
struct  get_unit_value_impl
 
struct  get_unit_value_impl< boost::units::quantity< Unit, T > >
 
struct  maximum
 
struct  resizer
 
struct  same_size_fusion
 
struct  set_unit_value_impl
 
struct  set_unit_value_impl< boost::units::quantity< Unit, T >, V >
 
struct  split
 

Functions

template<class Container1 , class Container2 >
void do_copying (const Container1 &from, Container2 &to, boost::mpl::true_)
 
template<class Container1 , class Container2 >
void do_copying (const Container1 &from, Container2 &to, boost::mpl::false_)
 
std::pair< std::size_t,
std::size_t > 
split_offsets (std::size_t total_length, std::size_t index, std::size_t parts)
 Returns the begin and end offset for a sub-range. More...
 
template<class RandomAccessRange >
iterator_range< typename
range_iterator
< RandomAccessRange >::type
make_split_range (RandomAccessRange &rng, std::size_t index, std::size_t parts)
 Return the sub-range index from a range which is split into parts. More...
 
template<class RandomAccessRange >
iterator_range< typename
range_iterator< const
RandomAccessRange >::type
make_split_range (const RandomAccessRange &rng, std::size_t index, std::size_t parts)
 
template<class RandomAccessRange >
iterator_range< typename
range_iterator
< RandomAccessRange >::type
operator| (RandomAccessRange &rng, const split &f)
 
template<class RandomAccessRange >
iterator_range< typename
range_iterator< const
RandomAccessRange >::type
operator| (const RandomAccessRange &rng, const split &f)
 

Variables

boost::arg< 1 > _1
 
boost::arg< 2 > _2
 

Function Documentation

template<class Container1 , class Container2 >
void boost::numeric::odeint::detail::do_copying ( const Container1 &  from,
Container2 &  to,
boost::mpl::true_   
)
template<class Container1 , class Container2 >
void boost::numeric::odeint::detail::do_copying ( const Container1 &  from,
Container2 &  to,
boost::mpl::false_   
)
template<class RandomAccessRange >
iterator_range< typename range_iterator<RandomAccessRange>::type > boost::numeric::odeint::detail::make_split_range ( RandomAccessRange &  rng,
std::size_t  index,
std::size_t  parts 
)
inline

Return the sub-range index from a range which is split into parts.

For example, splitting a range into three about equal-sized sub-ranges:

sub0 = make_split_range(rng, 0, 3);
sub1 = rng | split(1, 3);
sub2 = rng | split(2, 3);

References boost::asio::begin, boost::make_iterator_range(), boost::size(), and split_offsets().

Referenced by operator|(), and boost::numeric::odeint::split_impl< Source, mpi_state< InnerState >, typename boost::enable_if< boost::has_range_const_iterator< Source > >::type >::split().

template<class RandomAccessRange >
iterator_range< typename range_iterator<const RandomAccessRange>::type > boost::numeric::odeint::detail::make_split_range ( const RandomAccessRange &  rng,
std::size_t  index,
std::size_t  parts 
)
inline
template<class RandomAccessRange >
iterator_range< typename range_iterator<RandomAccessRange>::type > boost::numeric::odeint::detail::operator| ( RandomAccessRange &  rng,
const split &  f 
)
inline
template<class RandomAccessRange >
iterator_range< typename range_iterator<const RandomAccessRange>::type > boost::numeric::odeint::detail::operator| ( const RandomAccessRange &  rng,
const split &  f 
)
inline
std::pair<std::size_t, std::size_t> boost::numeric::odeint::detail::split_offsets ( std::size_t  total_length,
std::size_t  index,
std::size_t  parts 
)
inline

Returns the begin and end offset for a sub-range.

References BOOST_ASSERT, boost::xpressive::make_pair, and boost::accumulators::extract::min.

Referenced by make_split_range().

Variable Documentation

boost::arg<1> boost::numeric::odeint::detail::_1

Referenced by boost::spirit::grammar_def< T, >::BOOST_PP_REPEAT(), boost::spirit::lex::lexertl::detail::wrap_action< FunctionType, Iterator, Context, IdType >::call(), boost::gil::copy_and_convert_pixels(), boost::gil::copy_pixels(), boost::msm::back::dispatch_table< Fsm, Stt, Event, CompilePolicy >::dispatch_table(), boost::msm::back::state_machine< A0, A1, A2, A3, A4 >::handle_defer_helper< StateType, typename enable_if< typename::boost::msm::back::has_fsm_deferred_events< StateType >::type, int >::type >::do_post_handle_deferred(), boost::numeric::odeint::implicit_euler_mtl4< ValueType, Resizer >::do_step(), boost::numeric::odeint::implicit_euler< ValueType, Resizer >::do_step(), boost::numeric::odeint::explicit_stepper_base< euler< State, Value, Deriv, Time, Algebra, Operations, Resizer >, 1, State, Value, Deriv, Time, Algebra, Operations, Resizer >::do_step(), boost::numeric::odeint::explicit_error_stepper_fsal_base< runge_kutta_dopri5< State, Value, Deriv, Time, Algebra, Operations, Resizer >, 5, 5, 4, State, Value, Deriv, Time, Algebra, Operations, Resizer >::do_step(), boost::numeric::odeint::explicit_error_stepper_base< runge_kutta_cash_karp54_classic< State, Value, Deriv, Time, Algebra, Operations, Resizer >, 5, 5, 4, State, Value, Deriv, Time, Algebra, Operations, Resizer >::do_step(), boost::numeric::odeint::rosenbrock4< Value, Coefficients, Resizer >::do_step(), boost::numeric::odeint::modified_midpoint_dense_out< state_type, value_type, deriv_type, time_type, algebra_type, operations_type, resizer_type >::do_step(), boost::numeric::odeint::modified_midpoint< state_type, value_type, deriv_type, time_type, algebra_type, operations_type, resizer_type >::do_step_impl(), boost::numeric::odeint::runge_kutta4_classic< State, Value, Deriv, Time, Algebra, Operations, Resizer >::do_step_impl(), boost::numeric::odeint::runge_kutta_dopri5< State, Value, Deriv, Time, Algebra, Operations, Resizer >::do_step_impl(), boost::numeric::odeint::runge_kutta_cash_karp54_classic< State, Value, Deriv, Time, Algebra, Operations, Resizer >::do_step_impl(), boost::numeric::odeint::explicit_error_generic_rk< 6, 5, 5, 4, State, Value, Deriv, Time, Algebra, Operations, Resizer >::do_step_impl(), boost::numeric::odeint::explicit_generic_rk< 4, 4, State, Value, Deriv, Time, Algebra, Operations, Resizer >::do_step_impl(), boost::gil::equal_pixels(), boost::detail::bfs_king_visitor< OutputIterator, Buffer, Compare, PseudoDegreeMap, VecMap, VertexIndexMap >::finish_vertex(), boost::algorithm::gather(), boost::numeric::odeint::rosenbrock4_dense_output< ControlledStepper >::initialize(), boost::numeric::odeint::dense_output_runge_kutta< Stepper, stepper_tag >::initialize(), boost::numeric::odeint::velocity_verlet< Coor, Velocity, Value, Acceleration, Time, TimeSq, Algebra, Operations, Resizer >::initialize(), boost::numeric::odeint::adams_bashforth< steps, state_type, value_type, deriv_type, time_type, algebra_type, operations_type, resizer_type >::initialize(), boost::numeric::odeint::bulirsch_stoer_dense_out< State, Value, Deriv, Time, Algebra, Operations, Resizer >::initialize(), boost::numeric::odeint::dense_output_runge_kutta< Stepper, explicit_controlled_stepper_fsal_tag >::initialize(), boost::python::detail::make_iterator(), boost::numeric::odeint::compute_algebra::norm_inf(), phoenix::operator&&(), boost::numeric::odeint::compute_operations::rel_error< Fac1 >::operator()(), phoenix::operator,(), phoenix::operator<(), phoenix::operator<<(), phoenix::operator<<=(), phoenix::operator<=(), phoenix::operator||(), boost::python::register_exception_translator(), boost::spirit::grammar_def< T, >::start(), boost::transitive_closure(), boost::numeric::odeint::rosenbrock4_controller< Stepper >::try_step(), boost::numeric::odeint::bulirsch_stoer< State, Value, Deriv, Time, Algebra, Operations, Resizer >::try_step(), boost::numeric::odeint::controlled_runge_kutta< ErrorStepper, ErrorChecker, Resizer, explicit_error_stepper_tag >::try_step(), boost::numeric::odeint::controlled_runge_kutta< ErrorStepper, ErrorChecker, Resizer, explicit_error_stepper_fsal_tag >::try_step(), and v2_eval().