IJ Matrices


o *HYPRE_IJMatrix
The matrix object
o HYPRE_IJMatrixCreate
Create a matrix object.
o HYPRE_IJMatrixDestroy
Destroy a matrix object.
o HYPRE_IJMatrixInitialize
Prepare a matrix object for setting coefficient values.
o HYPRE_IJMatrixSetValues
Sets values for nrows rows or partial rows of the matrix.
o HYPRE_IJMatrixAddToValues
Adds to values for nrows rows or partial rows of the matrix.
o HYPRE_IJMatrixAssemble
Finalize the construction of the matrix before using
o HYPRE_IJMatrixGetRowCounts
Gets number of nonzeros elements for nrows rows specified in rows and returns them in ncols, which needs to be allocated by the user
o HYPRE_IJMatrixGetValues
Gets values for nrows rows or partial rows of the matrix.
o HYPRE_IJMatrixSetObjectType
Set the storage type of the matrix object to be constructed.
o HYPRE_IJMatrixGetObjectType
Get the storage type of the constructed matrix object
o HYPRE_IJMatrixGetLocalRange
Gets range of rows owned by this processor and range of column partitioning for this processor
o HYPRE_IJMatrixGetObject
Get a reference to the constructed matrix object.
o HYPRE_IJMatrixSetRowSizes
(Optional) Set the max number of nonzeros to expect in each row.
o HYPRE_IJMatrixSetDiagOffdSizes
(Optional) Set the max number of nonzeros to expect in each row of the diagonal and off-diagonal blocks.
o 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.
o HYPRE_IJMatrixRead
Read the matrix from file.
o HYPRE_IJMatrixPrint
Print the matrix to file.

Alphabetic index