int HYPRE_SStructMatrixGetValues (HYPRE_SStructMatrix matrix, int part, int *index, int var, int nentries, int *entries, double *values)

Get matrix coefficients index by index

Documentation

Get matrix coefficients index by index. The values array is of length nentries.

NOTE: For better efficiency, use HYPRE_SStructMatrixGetBoxValues to get coefficients a box at a time.

NOTE: Users may get values on any process that owns the associated variables.

NOTE: The entries in this routine must all be of the same type: either stencil or non-stencil, but not both. Also, if they are stencil entries, they must all represent couplings to the same variable type (there are no such restrictions for non-stencil entries).

If the matrix is complex, then values consists of pairs of doubles representing the real and imaginary parts of each complex value.

See Also:
HYPRE_SStructMatrixSetComplex

alphabetic index hierarchy of classes


generated by doc++