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


Documentation

Add to matrix coefficients index by index.

NOTE: Users are required to set values on all processes that own the associated variables. This means that some data will be multiply defined.

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.

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++