Reference documentation for deal.II version 9.1.0-pre
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
parallel::internal::Body< F > Struct Template Reference

#include <deal.II/base/parallel.h>

Public Member Functions

 Body (const F &f)
 

Static Private Member Functions

template<typename I1 , typename I2 >
static void apply (const F &f, const std::tuple< I1, I2 > &p)
 
template<typename I1 , typename I2 , typename I3 >
static void apply (const F &f, const std::tuple< I1, I2, I3 > &p)
 
template<typename I1 , typename I2 , typename I3 , typename I4 >
static void apply (const F &f, const std::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 78 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 83 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::tuple< I1, I2 > &  p 
)
inlinestaticprivate

Apply F to a set of iterators with two elements.

Definition at line 107 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::tuple< I1, I2, I3 > &  p 
)
inlinestaticprivate

Apply F to a set of iterators with three elements.

Definition at line 117 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::tuple< I1, I2, I3, I4 > &  p 
)
inlinestaticprivate

Apply F to a set of iterators with three elements.

Definition at line 127 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 100 of file parallel.h.


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