Struct Matrices
-
typedef struct hypre_StructMatrix_struct* HYPRE_StructMatrix
-
The matrix object
-
int HYPRE_StructMatrixCreate(MPI_Comm comm, HYPRE_StructGrid grid, HYPRE_StructStencil stencil, HYPRE_StructMatrix *matrix)
-
Create a matrix object
-
int HYPRE_StructMatrixDestroy(HYPRE_StructMatrix matrix)
-
Destroy a matrix object
-
int HYPRE_StructMatrixInitialize(HYPRE_StructMatrix matrix)
-
Prepare a matrix object for setting coefficient values
-
int HYPRE_StructMatrixSetValues(HYPRE_StructMatrix matrix, int *index, int nentries, int *entries, double *values)
-
Set matrix coefficients index by index
-
int HYPRE_StructMatrixSetBoxValues(HYPRE_StructMatrix matrix, int *ilower, int *iupper, int nentries, int *entries, double *values)
-
Set matrix coefficients a box at a time
-
int HYPRE_StructMatrixAddToValues(HYPRE_StructMatrix matrix, int *index, int nentries, int *entries, double *values)
-
Add to matrix coefficients index by index
-
int HYPRE_StructMatrixAddToBoxValues(HYPRE_StructMatrix matrix, int *ilower, int *iupper, int nentries, int *entries, double *values)
-
Add to matrix coefficients a box at a time
-
int HYPRE_StructMatrixAssemble(HYPRE_StructMatrix matrix)
-
Finalize the construction of the matrix before using
-
HYPRE_StructMatrixSetSymmetric
-
(Optional) Define symmetry properties of the matrix
-
HYPRE_StructMatrixPrint
-
Print the matrix to file
alphabetic index hierarchy of classes