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 295 of file pzdohrstructmatrix.cpp.
|
inline |
Definition at line 297 of file pzdohrstructmatrix.cpp.
unsigned parallel_assemble_task_t< TVar >::work_item_t< TTVar >::fSubMeshIndex |
Definition at line 300 of file pzdohrstructmatrix.cpp.
Referenced by parallel_assemble_task_t< TVar >::run_serial().
TPZAutoPointer<TPZDohrSubstructCondense<TTVar> > parallel_assemble_task_t< TVar >::work_item_t< TTVar >::fSubstruct |
Definition at line 301 of file pzdohrstructmatrix.cpp.
Referenced by parallel_assemble_task_t< TVar >::run_serial().