![]() |
Reference documentation for deal.II version 8.1.0
|
#include <work_stream.h>
Public Member Functions | |
WorkerAndCopier (const std_cxx1x::function< void(const Iterator &, ScratchData &, CopyData &)> &worker, const std_cxx1x::function< void(const CopyData &)> &copier) | |
void * | operator() (void *item) |
Private Attributes | |
const std_cxx1x::function< void(const Iterator &, ScratchData &, CopyData &)> | worker |
const std_cxx1x::function< void(const CopyData &)> | copier |
A class that manages calling the worker function on a number of parallel threads. Note that it is, in the TBB notation, a filter that can run in parallel.
Definition at line 1014 of file work_stream.h.
|
inline |
Constructor. Takes a reference to the object on which we will operate as well as a pointer to the function that will do the assembly.
Definition at line 1025 of file work_stream.h.
|
inline |
Work on an item.
Definition at line 1039 of file work_stream.h.
|
private |
Pointer to the function that does the assembling on the sequence of cells.
Definition at line 1151 of file work_stream.h.
|
private |
Pointer to the function that does the copying from local contribution to global object.
Definition at line 1157 of file work_stream.h.