NeoPZ
|
Classes | |
struct | work_item_t |
Public Member Functions | |
par_assemble_task_t (TPZAutoPointer< TPZDohrAssembly< TVar > > assembly, TPZAutoPointer< TPZCompMesh > mesh) | |
void | push_work_item (unsigned submesh_idx, const TPZAutoPointer< TPZDohrSubstructCondense< TVar > > &substruct) |
void | run_serial () |
Private Attributes | |
std::vector< work_item_t< TVar > > | work_items |
TPZAutoPointer< TPZDohrAssembly< TVar > > | fAssembly |
TPZAutoPointer< TPZCompMesh > | fMesh |
Definition at line 332 of file tbbtst.cpp.
|
inline |
Definition at line 363 of file tbbtst.cpp.
|
inline |
Add a new work item to be list.
Definition at line 368 of file tbbtst.cpp.
|
inline |
Execute work items serially.
Definition at line 374 of file tbbtst.cpp.
References AssembleMatrices(), par_assemble_task_t< TVar >::work_item_t< TTVar >::fSubMeshIndex, par_assemble_task_t< TVar >::work_item_t< TTVar >::fSubstruct, pz::parallel_for(), and SubMesh().
|
private |
Definition at line 358 of file tbbtst.cpp.
|
private |
Definition at line 359 of file tbbtst.cpp.
|
private |
Array of work items.
Definition at line 353 of file tbbtst.cpp.