24 PZError << __PRETTY_FUNCTION__ << endl;
25 PZError <<
"TPZSpBlockDiagPivot::Decompose_LU() - Matrix is already decomposed with other scheme" << endl;
35 for(
int b = 0; b < nb; b++) {
41 for(
int id = 0;
id < bsize;
id++){
50 for(
int i = 0; i < n; i++){
52 PZError << __PRETTY_FUNCTION__ << endl;
53 PZError <<
"TPZSpBlockDiagPivot::Decompose_LU() - fPivotIndices attribute has error" << endl;
75 PZError << __PRETTY_FUNCTION__ <<
"TPZSpBlockDiagPivot::Decompose_LU is decomposed with other scheme than ELUPivot." << endl;
81 int c, nc = B->
Cols();
90 for(
int id = 0;
id < bsize;
id++){
virtual int Decompose_LU(std::list< int64_t > &singular) override
LU Decomposition. Stores L and U matrices at the storage of the same matrix.
Implements a block diagonal matrix where the blocks are not contiguous. Matrix.
char fDecomposed
Decomposition type used to decompose the current matrix.
virtual void Resize(const int64_t newsize, const T &object)
Resizes the vector object.
void Gather(const TPZFMatrix< TVar > &in, TPZFMatrix< TVar > &out) const
int Zero() override
Makes Zero all the elements.
virtual void Resize(const int64_t newsize, const T &object)
Resizes the vector object reallocating the necessary storage, copying the existing objects to the new...
TPZVec< int > fPivotIndices
Attribute to store equation changes in LU decomposition.
virtual int Decompose_LU()
Contains TPZMatrixclass which implements full matrix (using column major representation).
void Scatter(const TPZFMatrix< TVar > &in, TPZFMatrix< TVar > &out) const
TPZVec< int > fBlockSize
Stores block sizes data.
Contains TPZSpBlockDiagPivot class which does derivation using decompose LU with pivot.
static int Substitution(const TVar *ptr, int64_t rows, TPZFMatrix< TVar > *B)
Full matrix class. Matrix.
TPZVec< TVar > fStorage
Stores matrix data.
TPZVec< int64_t > fBlockPos
Stores blocks data.
void Fill(const T ©, const int64_t from=0, const int64_t numelem=-1)
Will fill the elements of the vector with a copy object.
virtual int Substitution(TPZFMatrix< TVar > *B) const
Makes the backward and forward substitutions whether the matrix was LU decomposed.
int64_t Cols() const
Returns number of cols.
TPZVec< int64_t > fBlock
Equation numbers for each block.
int64_t NElements() const
Returns the number of elements of the vector.
int Substitution2(TPZFMatrix< TVar > *B) const
Non abstract class which implements full matrices with preallocated storage with (N+1) entries...
#define PZError
Defines the output device to error messages and the DebugStop() function.