parallel::internal Namespace Reference


Classes

struct  Body
struct  ReductionOnSubranges

Functions

template<typename F>
Body< F > make_body (const F &f)
template<typename RangeType, typename Function>
void apply_to_subranges (const tbb::blocked_range< RangeType > &range, const Function &f)


Function Documentation

template<typename F>
Body<F> parallel::internal::make_body ( const F &  f  )  [inline]

Take a function object and create a Body object from it. We do this in this helper function since alternatively we would have to specify the actual data type of F -- which for function objects is often extraordinarily complicated.

Referenced by parallel::transform().

template<typename RangeType, typename Function>
void parallel::internal::apply_to_subranges ( const tbb::blocked_range< RangeType > &  range,
const Function f 
) [inline]

Take a range argument and call the given function with its begin and end.


deal.II documentation generated on Wed Jul 28 23:06:56 2010 by doxygen 1.5.6