81 const TVar alpha,
const TVar beta,
const int opt = 0)
const override;
85 const TVar alpha,
const TVar beta,
const int opt = 0)
const;
TPZManVector< int > fColumnBlockPosition
Vector indicating the starting point of each column block.
int ClassId() const override
Define the class id associated with the class.
void SetBlockMatrix(int row, int col, TPZFMatrix< TVar > &mat)
Sets the row,col block equal to matrix mat if row col was not specified by AddBlockNumbers, an error will be issued and exit.
TPZManVector< TVar > fDoubleValues
Storage space for the matrix blocks.
TPZBlock< TVar > fColBlock
Block sizes of the columns.
void AddBlockNumbers(int row, TPZVec< int > &colnumbers)
Will specify the sparsity pattern of row.
Templated vector implementation.
MatrixOutputFormat
Defines output format.
void SetBlocks(TPZBlock< TVar > &row, TPZBlock< TVar > &col, int nvar, int nrowblocks, int ncolblocks)
This operation will reset the matrix to zero with no rows defined.
int fNTVarVar
Number of variables associated with each shape function.
int fDoubleValLastUsed
Indicates the next free position of fDoubleValues.
virtual void Print(const char *name=NULL, std::ostream &out=std::cout, const MatrixOutputFormat form=EFormatted) const override
It prints the matrix data in a MatrixFormat Rows X Cols.
virtual TPZMatrix< TVar > * Clone() const override
TPZTransfer(const TPZTransfer &cp)
copy constructor
void ExpandColumnVectorEntries(int numcol)
Increases the storage allocated int fColPosition to include numcol more values.
void SetNTVarVariables(int TVarvar)
Identifies the number of equations per shapefunction.
TPZVec< int > fNumberofColumnBlocks
Vector indicating the number of column blocks associated with each row.
void MultiplyScalar(const TPZFMatrix< TVar > &A, TPZFMatrix< TVar > &B, int opt) const
int HasRowDefinition(int row)
Returns 1 if the row is defined (i.e. has column entries)
TPZTransfer()
Default constructor.
Free store vector implementation.
void TransferResidual(const TPZFMatrix< TVar > &fine, TPZFMatrix< TVar > &coarse)
Will transfer the residual, taking into acount there may be more than one TVar variable.
TPZVec< int > fColPosition
Vector indicating the starting column block for each row.
Full matrix class. Matrix.
int32_t Hash(std::string str)
Contains TPZMatrix<TVar>class, root matrix class.
void TransferSolution(const TPZFMatrix< TVar > &coarsesol, TPZFMatrix< TVar > &finesol)
Will transfer the solution, taking into acount there may be more than one TVar variable.
int fColumnBlockLastUsed
Indicates the next free position.
Implements block matrices. Matrix utility.
TPZBlock< TVar > fRowBlock
Block sizes of the rows.
void MultAdd(const TPZFMatrix< TVar > &x, const TPZFMatrix< TVar > &y, TPZFMatrix< TVar > &z, const TVar alpha, const TVar beta, const int opt=0) const override
Multiplies the transfer matrix and puts the result in z.
void ExpandDoubleValueEntries(int numval)
Increases the storage space available in the fDoubleValues vector to include numval entries...
Implements rectangular matrix which extends a solution vector of the coarse mesh to a solution vector...
TPZManVector< int > fColumnBlockNumber
Vector indicating the number of the column corresponding to the block.
void MultAddScalar(const TPZFMatrix< TVar > &x, const TPZFMatrix< TVar > &y, TPZFMatrix< TVar > &z, const TVar alpha, const TVar beta, const int opt=0) const
Multiplies the transfer matrix and puts the result in z.
int ClassId() const override
Define the class id associated with the class.
Root matrix class (abstract). Matrix.