IJ Matrices


typedef struct hypre_IJMatrix_struct* HYPRE_IJMatrix
The matrix object
HYPRE_IJMatrixCreate
Create a matrix object
HYPRE_IJMatrixDestroy
Destroy a matrix object
HYPRE_IJMatrixInitialize
Prepare a matrix object for setting coefficient values
HYPRE_IJMatrixSetValues
Sets values for nrows rows or partial rows of the matrix
HYPRE_IJMatrixAddToValues
Adds to values for nrows rows or partial rows of the matrix
int HYPRE_IJMatrixAssemble(HYPRE_IJMatrix matrix)
Finalize the construction of the matrix before using
int HYPRE_IJMatrixGetRowCounts(HYPRE_IJMatrix matrix, int nrows, int *rows, int *ncols)
Gets number of nonzeros elements for nrows rows specified in rows and returns them in ncols, which needs to be allocated by the user
HYPRE_IJMatrixGetValues
Gets values for nrows rows or partial rows of the matrix
HYPRE_IJMatrixSetObjectType
Set the storage type of the matrix object to be constructed
int HYPRE_IJMatrixGetObjectType(HYPRE_IJMatrix matrix, int *type)
Get the storage type of the constructed matrix object
int HYPRE_IJMatrixGetLocalRange(HYPRE_IJMatrix matrix, int *ilower, int *iupper, int *jlower, int *jupper)
Gets range of rows owned by this processor and range of column partitioning for this processor
HYPRE_IJMatrixGetObject
Get a reference to the constructed matrix object
HYPRE_IJMatrixSetRowSizes
(Optional) Set the max number of nonzeros to expect in each row
HYPRE_IJMatrixSetDiagOffdSizes
(Optional) Set the max number of nonzeros to expect in each row of the diagonal and off-diagonal blocks
HYPRE_IJMatrixSetMaxOffProcElmts
(Optional) Sets the maximum number of elements that are expected to be set (or added) on other processors from this processor This routine can significantly improve the efficiency of matrix construction, and should always be utilized if possible
HYPRE_IJMatrixRead
Read the matrix from file
HYPRE_IJMatrixPrint
Print the matrix to file

alphabetic index hierarchy of classes


generated by doc++