NeoPZ
|
Public Member Functions | |
work_item_t (unsigned submesh_idx, const TPZAutoPointer< TPZDohrSubstructCondense< TTVar > > &substruct) | |
Public Attributes | |
unsigned | fSubMeshIndex |
TPZAutoPointer< TPZDohrSubstructCondense< TTVar > > | fSubstruct |
We divide the assemble procedure into N work items, which will be executed by one or several tasks. The TBB parallel_for construct automatically divide the work items in subsets and "creates" tasks to execute the work in each subset. Each task invokes the operator(blocked_range subset), which will be responsible for executing the work items in the subset.
Definition at line 343 of file tbbtst.cpp.
|
inline |
Definition at line 345 of file tbbtst.cpp.
unsigned par_assemble_task_t< TVar >::work_item_t< TTVar >::fSubMeshIndex |
Definition at line 348 of file tbbtst.cpp.
Referenced by par_assemble_task_t< TVar >::run_serial().
TPZAutoPointer<TPZDohrSubstructCondense<TTVar> > par_assemble_task_t< TVar >::work_item_t< TTVar >::fSubstruct |
Definition at line 349 of file tbbtst.cpp.
Referenced by par_assemble_task_t< TVar >::run_serial().