NeoPZ
|
Implements a list of Dohrman assembling and control thread and semaphores. More...
#include <pzdohrstructmatrix.h>
Public Member Functions | |
ThreadDohrmanAssemblyList () | |
ThreadDohrmanAssemblyList (ThreadDohrmanAssemblyList< TVar > &cpy) | |
~ThreadDohrmanAssemblyList () | |
void | Append (TPZAutoPointer< ThreadDohrmanAssembly< TVar > > object) |
TPZAutoPointer< ThreadDohrmanAssembly< TVar > > | NextObject () |
Returns an object and removes it from the list in a thread safe way. More... | |
Static Public Member Functions | |
static void * | ThreadWork (void *voidptr) |
Public Attributes | |
std::list< TPZAutoPointer< ThreadDohrmanAssembly< TVar > > > | fList |
pthread_mutex_t | fAccessElement |
Mutexes (to choose which submesh is next) More... | |
pthread_mutex_t | fTestThreads |
mutex to debug the assembly process More... | |
Implements a list of Dohrman assembling and control thread and semaphores.
Definition at line 204 of file pzdohrstructmatrix.h.
ThreadDohrmanAssemblyList< TVar >::ThreadDohrmanAssemblyList | ( | ) |
Definition at line 1540 of file pzdohrstructmatrix.cpp.
ThreadDohrmanAssemblyList< TVar >::ThreadDohrmanAssemblyList | ( | ThreadDohrmanAssemblyList< TVar > & | cpy | ) |
Definition at line 1547 of file pzdohrstructmatrix.cpp.
ThreadDohrmanAssemblyList< TVar >::~ThreadDohrmanAssemblyList | ( | ) |
Definition at line 1554 of file pzdohrstructmatrix.cpp.
void ThreadDohrmanAssemblyList< TVar >::Append | ( | TPZAutoPointer< ThreadDohrmanAssembly< TVar > > | object | ) |
Definition at line 1561 of file pzdohrstructmatrix.cpp.
Referenced by TPZDohrStructMatrix::Assemble().
TPZAutoPointer< ThreadDohrmanAssembly< TVar > > ThreadDohrmanAssemblyList< TVar >::NextObject | ( | ) |
Returns an object and removes it from the list in a thread safe way.
Definition at line 1569 of file pzdohrstructmatrix.cpp.
|
static |
Definition at line 1582 of file pzdohrstructmatrix.cpp.
Referenced by TPZDohrStructMatrix::Assemble().
pthread_mutex_t ThreadDohrmanAssemblyList< TVar >::fAccessElement |
Mutexes (to choose which submesh is next)
Definition at line 221 of file pzdohrstructmatrix.h.
Referenced by ThreadDohrmanAssemblyList< T >::Append(), ThreadDohrmanAssemblyList< T >::NextObject(), ThreadDohrmanAssemblyList< T >::ThreadDohrmanAssemblyList(), and ThreadDohrmanAssemblyList< T >::~ThreadDohrmanAssemblyList().
std::list<TPZAutoPointer<ThreadDohrmanAssembly<TVar> > > ThreadDohrmanAssemblyList< TVar >::fList |
Definition at line 211 of file pzdohrstructmatrix.h.
Referenced by ThreadDohrmanAssemblyList< T >::Append(), TPZDohrStructMatrix::Assemble(), and ThreadDohrmanAssemblyList< T >::NextObject().
pthread_mutex_t ThreadDohrmanAssemblyList< TVar >::fTestThreads |
mutex to debug the assembly process
Definition at line 224 of file pzdohrstructmatrix.h.
Referenced by ThreadDohrmanAssemblyList< T >::ThreadDohrmanAssemblyList(), and ThreadDohrmanAssemblyList< T >::~ThreadDohrmanAssemblyList().