![]() |
Reference documentation for deal.II version 8.4.2
|
#include <deal.II/base/work_stream.h>
Inherits filter.
Public Member Functions | |
| Worker (const std_cxx11::function< void(const Iterator &, ScratchData &, CopyData &)> &worker, bool copier_exist=true) | |
| void * | operator() (void *item) |
Private Attributes | |
| const std_cxx11::function< void(const Iterator &, ScratchData &, CopyData &)> | worker |
| bool | copier_exist |
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 485 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 493 of file work_stream.h.
|
inline |
Work on an item.
Definition at line 507 of file work_stream.h.
|
private |
Pointer to the function that does the assembling on the sequence of cells.
Definition at line 613 of file work_stream.h.
|
private |
This flag is true if the copier stage exist. If it does not, the worker has to free the buffer. Otherwise the copier will do it.
Definition at line 619 of file work_stream.h.
1.8.12