NeoPZ
pzspblockdiagpivot.h
Go to the documentation of this file.
1 
6 #ifndef PZSPBLOCKDIAGPIVOT_H
7 #define PZSPBLOCKDIAGPIVOT_H
8 
10 
16 template<class TVar>
18 {
19 public:
21 
23 
24  virtual int Decompose_LU();
25 
26  virtual int Decompose_LU(std::list<int64_t> &singular)
27  {
28  return TPZBlockDiagonal<TVar>::Decompose_LU(singular);
29  }
30 
31  virtual int Substitution( TPZFMatrix<TVar> * B ) const;
32 
33 private:
36 
37  int Substitution2( TPZFMatrix<TVar> * B ) const;
38 
39 };
40 
41 #endif
Contains TPZSparseBlockDiagonal class which implements a block diagonal matrix where the blocks are n...
Implements a block diagonal matrix where the blocks are not contiguous. Matrix.
TPZVec< int > fPivotIndices
Attribute to store equation changes in LU decomposition.
virtual int Decompose_LU(std::list< int64_t > &singular)
Decomposes the current matrix using LU decomposition.
virtual int Decompose_LU() override
Full matrix class. Matrix.
Definition: pzfmatrix.h:32
virtual int Substitution(TPZFMatrix< TVar > *B) const
Makes the backward and forward substitutions whether the matrix was LU decomposed.
int Substitution2(TPZFMatrix< TVar > *B) const
Derivation using decompose LU with pivot. Matrix.