NeoPZ
pzskylstrmatrix.cpp
Go to the documentation of this file.
1 
6 #include "pzskylstrmatrix.h"
7 #include "pzskylmat.h"
8 #include "pzcmesh.h"
9 #include "pzsubcmesh.h"
10 #include "pzvec.h"
11 
13  return new TPZSkylineStructMatrix(*this);
14 }
15 
17 :TPZStructMatrix(cp) {
18  //nothing here
19 }
20 
22 {
23 }
24 
26 {
27 }
28 
30 {
31 }
32 
34  TPZVec<int64_t> skyline;
35  fMesh->Skyline(skyline);
37  int64_t neq = fEquationFilter.NActiveEquations();
38 // std::cout << skyline << std::endl;
39  return this->ReallyCreate(neq,skyline);//new TPZSkylMatrix<STATE>(neq,skyline);
40 }
41 
42 
44  return new TPZSkylMatrix<STATE>(neq,skyline);
45 }
46 
47 
48 
49 
51 }
52 
53 
54 
55 
Templated vector implementation.
void FilterSkyline(TPZVec< int64_t > &skyline) const
TPZEquationFilter fEquationFilter
Object which will determine which equations will be assembled.
Implements a skyline storage format. A Skyline matrix is symmetric so square. Matrix.
Definition: pzskylmat.h:394
Implements SkyLine Structural Matrices. Structural Matrix.
Refines geometrical mesh (all the elements) num times.
Definition: pzstrmatrix.h:35
TPZCompMesh * fMesh
Pointer to the computational mesh from which the matrix will be generated.
virtual TPZMatrix< STATE > * Create()
virtual TPZMatrix< STATE > * ReallyCreate(int64_t neq, const TPZVec< int64_t > &skyline)
virtual void Skyline(TPZVec< int64_t > &skyline)
This method computes the skyline of the system of equations.
Definition: pzcmesh.cpp:787
int64_t NActiveEquations() const
Retorna o numero de equacoes ativas do sistema.
Contains the TPZSkylineStructMatrix class which implements SkyLine Structural Matrices.
Contains TPZSkyline class which implements a skyline storage format.
Contains declaration of TPZCompMesh class which is a repository for computational elements...
Contains declaration of TPZSubCompMesh class which implements a group of computational elements as a ...
Implements computational mesh. Computational Mesh.
Definition: pzcmesh.h:47
virtual TPZStructMatrix * Clone()