NeoPZ
Public Member Functions | Public Attributes | List of all members
parallel_assemble_task_t< TVar >::work_item_t< TTVar > Struct Template Reference
Collaboration diagram for parallel_assemble_task_t< TVar >::work_item_t< TTVar >:
[legend]

Public Member Functions

 work_item_t (unsigned submesh_idx, const TPZAutoPointer< TPZDohrSubstructCondense< TTVar > > &substruct)
 

Public Attributes

unsigned fSubMeshIndex
 
TPZAutoPointer< TPZDohrSubstructCondense< TTVar > > fSubstruct
 

Detailed Description

template<class TVar>
template<class TTVar>
struct parallel_assemble_task_t< TVar >::work_item_t< TTVar >

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.

Constructor & Destructor Documentation

◆ work_item_t()

template<class TVar>
template<class TTVar>
parallel_assemble_task_t< TVar >::work_item_t< TTVar >::work_item_t ( unsigned  submesh_idx,
const TPZAutoPointer< TPZDohrSubstructCondense< TTVar > > &  substruct 
)
inline

Definition at line 297 of file pzdohrstructmatrix.cpp.

Member Data Documentation

◆ fSubMeshIndex

template<class TVar>
template<class TTVar>
unsigned parallel_assemble_task_t< TVar >::work_item_t< TTVar >::fSubMeshIndex

◆ fSubstruct

template<class TVar>
template<class TTVar>
TPZAutoPointer<TPZDohrSubstructCondense<TTVar> > parallel_assemble_task_t< TVar >::work_item_t< TTVar >::fSubstruct

The documentation for this struct was generated from the following file: