7 #ifndef TPZDOHRASSEMBLELIST 8 #define TPZDOHRASSEMBLELIST 17 #include <semaphore.h> 58 std::list<TPZAutoPointer<TPZDohrAssembleItem<TVar> > >
fWork;
68 static void *Assemble(
void *voidptr);
Assembling using Dohrmann algorithm. Sub structure.
Contains declaration of the TPZSemaphore class which implements semaphore to threads.
Implements semaphore to threads. Utility.
TPZAutoPointer< TPZDohrAssembly< TVar > > fAssembleIndexes
Assembly indexes.
std::list< TPZAutoPointer< TPZDohrAssembleItem< TVar > > > fWork
List of objects needed to be assembled.
Contains the TPZDohrAssembly class which implements assembling using Dohrmann algorithm.
TPZFMatrix< TVar > fAssembleData
The data which should be assembled.
Contains TPZMatrixclass which implements full matrix (using column major representation).
TPZSemaphore fSemaphore
Semaphore (to wake up assembly thread)
To assembling one item using Dohrmann algorithm. Sub structure.
int fSubIndex
Substructure index.
List of items to assembling using Dohrmann algorithm.
Contains declaration of the TPZAutoPointer class which has Increment and Decrement actions are mutexe...
Full matrix class. Matrix.
int fNumItems
The number of items that will be assembled before returning.
TPZDohrAssembleItem(int subindex, int size)
Initialize the assemble item based on the submesh index and size of the local contribution.
pthread_mutex_t fAssemblyLock
This is the mutex which controls the assembly.
TPZFMatrix< TVar > * fOutput
Target Matrix.
pthread_mutex_t fListAccessLock
This is the mutex which controls the access to the list.
TPZDohrAssembleItem(int subindex, int nrow, int ncol)
Initialize the assemble item based on the submesh index and size of the local contribution.
This class implements a reference counter mechanism to administer a dynamically allocated object...