NeoPZ
|
Auxiliar structure with list for v2 vector data. Sub Structure. More...
#include <tpzdohrprecond.h>
Public Member Functions | |
TPZDohrPrecondV2SubDataList (TPZAutoPointer< TPZDohrAssembleList< TVar > > &assemble) | |
~TPZDohrPrecondV2SubDataList () | |
void | AddItem (TPZDohrPrecondV2SubData< TVar, TSubStruct > &data) |
Interface to add items in a thread safe way. More... | |
TPZDohrPrecondV2SubData< TVar, TSubStruct > | PopItem () |
Interface to pop an item in a thread safe way. More... | |
Static Public Member Functions | |
static void * | ThreadWork (void *voidptr) |
The procedure which executes the lengthy process. More... | |
Public Attributes | |
pthread_mutex_t | fAccessLock |
Mutex which will enable the access protection of the list. More... | |
std::list< TPZDohrPrecondV2SubData< TVar, TSubStruct > > | fWork |
The list of structures which need to be computed. More... | |
TPZAutoPointer< TPZDohrAssembleList< TVar > > | fAssemblyStructure |
The local contribution to the v2 vector. More... | |
Auxiliar structure with list for v2 vector data. Sub Structure.
Definition at line 214 of file tpzdohrprecond.h.
|
inline |
Definition at line 215 of file tpzdohrprecond.h.
References PZ_PTHREAD_MUTEX_INIT.
|
inline |
Definition at line 219 of file tpzdohrprecond.h.
References PZ_PTHREAD_MUTEX_DESTROY.
|
inline |
Interface to add items in a thread safe way.
Definition at line 231 of file tpzdohrprecond.h.
References PZ_PTHREAD_MUTEX_LOCK, and PZ_PTHREAD_MUTEX_UNLOCK.
|
inline |
Interface to pop an item in a thread safe way.
Definition at line 238 of file tpzdohrprecond.h.
References PZ_PTHREAD_MUTEX_LOCK, and PZ_PTHREAD_MUTEX_UNLOCK.
Referenced by TPZDohrPrecondV2SubDataList< TVar, TSubStruct >::ThreadWork().
|
static |
The procedure which executes the lengthy process.
Definition at line 491 of file tpzdohrprecond.cpp.
References TPZDohrPrecondV2SubDataList< TVar, TSubStruct >::fAssemblyStructure, TPZDohrPrecondV2SubData< TVar, TSubStruct >::fInput_local, TPZDohrPrecondV2SubData< TVar, TSubStruct >::fSubStructure, TPZDohrPrecondV2SubData< TVar, TSubStruct >::fv2_local, TPZDohrPrecondV2SubData< TVar, TSubStruct >::IsValid(), and TPZDohrPrecondV2SubDataList< TVar, TSubStruct >::PopItem().
pthread_mutex_t TPZDohrPrecondV2SubDataList< TVar, TSubStruct >::fAccessLock |
Mutex which will enable the access protection of the list.
Definition at line 225 of file tpzdohrprecond.h.
TPZAutoPointer<TPZDohrAssembleList<TVar> > TPZDohrPrecondV2SubDataList< TVar, TSubStruct >::fAssemblyStructure |
The local contribution to the v2 vector.
Definition at line 251 of file tpzdohrprecond.h.
Referenced by TPZDohrPrecondV2SubDataList< TVar, TSubStruct >::ThreadWork().
std::list<TPZDohrPrecondV2SubData<TVar, TSubStruct> > TPZDohrPrecondV2SubDataList< TVar, TSubStruct >::fWork |
The list of structures which need to be computed.
Definition at line 228 of file tpzdohrprecond.h.