Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
parallel::internal::Body< F > Struct Template Reference

#include <parallel.h>

Public Member Functions

 Body (const F &f)
 
template<typename Range >
void operator() (const Range &range) const
 

Static Private Member Functions

template<typename I1 , typename I2 >
static void apply (const F &f, const std_cxx1x::tuple< I1, I2 > &p)
 
template<typename I1 , typename I2 , typename I3 >
static void apply (const F &f, const std_cxx1x::tuple< I1, I2, I3 > &p)
 
template<typename I1 , typename I2 , typename I3 , typename I4 >
static void apply (const F &f, const std_cxx1x::tuple< I1, I2, I3, I4 > &p)
 

Private Attributes

const F f
 

Detailed Description

template<typename F>
struct parallel::internal::Body< F >

Convert a function object of type F into an object that can be applied to all elements of a range of synchronous iterators.

Definition at line 55 of file parallel.h.

Constructor & Destructor Documentation

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

Constructor. Take and package the given function object.

Definition at line 61 of file parallel.h.

Member Function Documentation

template<typename F >
template<typename I1 , typename I2 >
static void parallel::internal::Body< F >::apply ( const F &  f,
const std_cxx1x::tuple< I1, I2 > &  p 
)
inlinestaticprivate

Apply F to a set of iterators with two elements.

Definition at line 88 of file parallel.h.

template<typename F >
template<typename I1 , typename I2 , typename I3 >
static void parallel::internal::Body< F >::apply ( const F &  f,
const std_cxx1x::tuple< I1, I2, I3 > &  p 
)
inlinestaticprivate

Apply F to a set of iterators with three elements.

Definition at line 101 of file parallel.h.

template<typename F >
template<typename I1 , typename I2 , typename I3 , typename I4 >
static void parallel::internal::Body< F >::apply ( const F &  f,
const std_cxx1x::tuple< I1, I2, I3, I4 > &  p 
)
inlinestaticprivate

Apply F to a set of iterators with three elements.

Definition at line 116 of file parallel.h.

Member Data Documentation

template<typename F >
const F parallel::internal::Body< F >::f
private

The stored function object.

Definition at line 79 of file parallel.h.


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