NeoPZ
TPZParFrontStructMatrix.h
Go to the documentation of this file.
1 
6 #ifndef TPZPARFRONTSTRUCTMATRIX_H
7 #define TPZPARFRONTSTRUCTMATRIX_H
8 
9 #include "TPZFrontStructMatrix.h"
10 #include "TPZFileEqnStorage.h"
11 #include "pzstrmatrix.h"
12 #include "pzcmesh.h"
13 
14 #include "TPZFrontMatrix.h"
15 #include "TPZFrontNonSym.h"
16 #include "TPZFrontSym.h"
17 #include "tpzautopointer.h"
18 
19 #include "pzelmat.h"
20 
21 #include "pzmatrix.h"
22 #include "pzfmatrix.h"
23 
24 #include <signal.h>
25 #include <time.h>
26 
27 //#ifndef PZPAR
28 #include <pthread.h>
29 //#endif
30 
31 //#define STACKSTORAGE
32 
41 template<class front>
43 
44 private:
45 
47 
48 public:
49 
53 
56  TPZCompMesh *mesh
57  );
58 
60 
64  virtual ~TPZParFrontStructMatrix();
65 
72 
73 
74  virtual void Assemble(TPZMatrix<STATE> & mat, TPZFMatrix<STATE> & rhs,TPZAutoPointer<TPZGuiInterface> guiInterface);
75 
77  static int main();
78 
84  static void *ElementAssemble(void *t);
90  static void *GlobalAssemble(void *t);
91 
92 private:
94  int64_t fCurrentElement;
98  int64_t fNElements;
106 
115 
116 
117 
118 };
119 
120 #endif //TPZPARFRONTSTRUCTMATRIX_H
Contains the TPZFrontSym class which implements decomposition process of the frontal matrix (case sym...
TPZStack< TPZElementMatrix * > fekstack
Contains the TPZFrontStructMatrix class which responsible for a interface among Finite Element Packag...
int64_t fCurrentAssembled
Current assembled element in the global stiffness matrix.
virtual TPZMatrix< STATE > * CreateAssemble(TPZFMatrix< STATE > &rhs, TPZAutoPointer< TPZGuiInterface > guiInterface)
Returns a pointer to TPZMatrix.
Contains the TPZFrontNonSym class which implements storage and decomposition process of the frontal m...
static void * GlobalAssemble(void *t)
It assembles element matrices in the global stiffness matrix, it is also executed in an independent t...
Contains the TPZStructMatrixOR class which responsible for a interface among Matrix and Finite Elemen...
TPZParFrontStructMatrix(TPZCompMesh *mesh)
Constructor passing as parameter a TPZCompMesh.
Refines geometrical mesh (all the elements) num times.
Definition: pzstrmatrix.h:35
Contains declaration of TPZElementMatrix struct which associates an element matrix with the coeficien...
static void * ElementAssemble(void *t)
It computes element matrices in an independent thread.
TPZAutoPointer< TPZGuiInterface > fGuiInterface
Contains TPZMatrixclass which implements full matrix (using column major representation).
TPZStructMatrix * Clone()
It clones a TPZStructMatrix.
Responsible for a interface among Finite Element Package and Matrices package to frontal method...
Contains declaration of the TPZAutoPointer class which has Increment and Decrement actions are mutexe...
int fMaxStackSize
Maximum stack size allowed.
Contains declaration of TPZCompMesh class which is a repository for computational elements...
Contains the TPZFileEqnStorage class which implements an equation array and stores the EqnArrays...
Contains TPZMatrix<TVar>class, root matrix class.
int64_t fCurrentElement
Current computed element.
virtual void Assemble(TPZMatrix< STATE > &mat, TPZFMatrix< STATE > &rhs, TPZAutoPointer< TPZGuiInterface > guiInterface)
Assemble a stiffness matrix.
Implements computational mesh. Computational Mesh.
Definition: pzcmesh.h:47
Contains the TPZAbstractFrontMatrix class which implements a matrix stored in a frontal decomposition...
int64_t fNElements
Total number of elements.
virtual ~TPZParFrontStructMatrix()
Destructor.
TPZFMatrix< STATE > * fRhs
Local pointer to load matrix.
TPZStack< int64_t > felnum
Stack containing elements to be assembled on Stiffness matrix.
Is a structural matrix with parallel techniques included. Structural Matrix Frontal.
TPZMatrix< STATE > * fStiffness
Local pointer to stiffness matrix.
TPZStack< TPZElementMatrix * > fefstack