NeoPZ
TPZFrontStructMatrix.h
Go to the documentation of this file.
1 
6 #ifndef TPZFRONTSTRUCTMATRIX_H
7 #define TPZFRONTSTRUCTMATRIX_H
8 
9 #include "pzstrmatrix.h"
10 #include "pzcmesh.h"
11 
12 #include "TPZFrontNonSym.h"
13 #include "TPZFrontSym.h"
14 
15 #include "pzelmat.h"
16 
17 #include "pzmatrix.h"
18 #include "pzfmatrix.h"
19 
29 template<class front>
31 
32 protected:
36  int f_quiet;
37 
42  void GetNumElConnected(TPZVec <int> &numelconnected);
43 
45  void OrderElement();//TPZVec <int> &elorder);
46 
49 
52 
53 public:
54 
61 
62  TPZFrontStructMatrix(const TPZFrontStructMatrix &copy) : TPZStructMatrix(copy), fElementOrder(copy.fElementOrder),f_quiet(copy.f_quiet), fDecomposeType(copy.fDecomposeType)
63  {
64  }
65 
67  virtual void SetDecomposeType(DecomposeType dectype)
68  {
69  fDecomposeType = dectype;
70  }
71 
72 
73  static int main();
74 
76  virtual ~TPZFrontStructMatrix();
77 
78 
79 
82 
85 
92  void AssembleNew(TPZMatrix<STATE> & stiffness
94 
101  void Assemble(TPZMatrix<STATE> & stiffness
103 
116  , TPZElementMatrix & ef, TPZMatrix<STATE> & stiffness, TPZFMatrix<STATE> & rhs);
117 
129 
130  void SetQuiet(int quiet);
131 
132 private:
134 
136 
137 };
138 
139 #endif //TPZFRONTSTRUCTMATRIX_H
void GetNumElConnected(TPZVec< int > &numelconnected)
Returns a vector containing all elements connected to a degree of freedom.
Contains the TPZFrontSym class which implements decomposition process of the frontal matrix (case sym...
void OrderElement()
It is applied over fElementOrder putting it in the correct order.
void Assemble(TPZMatrix< STATE > &stiffness, TPZFMatrix< STATE > &rhs, TPZAutoPointer< TPZGuiInterface > guiInterface)
Assemble a stiffness matrix.
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...
Contains the TPZStructMatrixOR class which responsible for a interface among Matrix and Finite Elemen...
virtual ~TPZFrontStructMatrix()
Class destructor.
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...
DecomposeType fDecomposeType
Used Decomposition method.
void AdjustSequenceNumbering()
Resequence the connects according to the element order.
TPZVec< int > fElementOrder
This vector contains an ordered list.
void AssembleElement(TPZCompEl *el, TPZElementMatrix &ek, TPZElementMatrix &ef, TPZMatrix< STATE > &stiffness, TPZFMatrix< STATE > &rhs)
Computes element matrices.
virtual void SetDecomposeType(DecomposeType dectype)
Set the decomposition type.
Contains TPZMatrixclass which implements full matrix (using column major representation).
void AssembleNew(TPZMatrix< STATE > &stiffness, TPZFMatrix< STATE > &rhs, TPZAutoPointer< TPZGuiInterface > guiInterface)
Assemble a stiffness matrix according to rhs.
Responsible for a interface among Finite Element Package and Matrices package to frontal method...
Contains declaration of TPZCompMesh class which is a repository for computational elements...
TPZStructMatrix * Clone()
Clones a TPZFrontStructMatrix.
TPZMatrix< STATE > * Create()
Returns a pointer to TPZMatrix<STATE>
Contains TPZMatrix<TVar>class, root matrix class.
This class associates an element matrix with the coeficients of its contribution in the global stiffn...
Definition: pzelmat.h:30
Implements computational mesh. Computational Mesh.
Definition: pzcmesh.h:47
TPZFrontStructMatrix(const TPZFrontStructMatrix &copy)
Defines the interface of a computational element. Computational Element.
Definition: pzcompel.h:59
virtual TPZMatrix< STATE > * CreateAssemble(TPZFMatrix< STATE > &rhs, TPZAutoPointer< TPZGuiInterface > guiInterface, unsigned numthreads_assemble, unsigned numthreads_decompose)
Definition: pzstrmatrix.h:100
DecomposeType
Defines decomposition type for any matrix classes.
Definition: pzmatrix.h:52