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
HYPRE_StructMatrixSetValues
Set matrix coefficients index by index
HYPRE_StructMatrixAddToValues
Add to matrix coefficients index by index
HYPRE_StructMatrixSetConstantValues
Set matrix coefficients which are constant over the grid
HYPRE_StructMatrixAddToConstantValues
Add to matrix coefficients which are constant over the grid
HYPRE_StructMatrixSetBoxValues
Set matrix coefficients a box at a time
HYPRE_StructMatrixAddToBoxValues
Add to matrix coefficients a box at a time
int HYPRE_StructMatrixAssemble(HYPRE_StructMatrix matrix)
Finalize the construction of the matrix before using
HYPRE_StructMatrixGetValues
Get matrix coefficients index by index
HYPRE_StructMatrixGetBoxValues
Get matrix coefficients a box at a time
HYPRE_StructMatrixSetSymmetric
Define symmetry properties of the matrix
HYPRE_StructMatrixSetConstantEntries
Specify which stencil entries are constant over the grid
int HYPRE_StructMatrixSetNumGhost(HYPRE_StructMatrix matrix, int *num_ghost)
Set the ghost layer in the matrix
HYPRE_StructMatrixPrint
Print the matrix to file
HYPRE_StructMatrixMatvec
Matvec operator

alphabetic index hierarchy of classes


generated by doc++