HYPRE_Int HYPRE_IJMatrixAddToValues

(HYPRE_IJMatrix matrix,
  HYPRE_Int nrows,
  HYPRE_Int* ncols,
  const HYPRE_Int* rows,
  const HYPRE_Int* cols,
  const double* values)

Adds to values for nrows rows or partial rows of the matrix.

Documentation

Adds to values for nrows rows or partial rows of the matrix. Usage details are analogous to HYPRE_IJMatrixSetValues. Adds to any previous values at the specified locations, or, if there was no value there before, inserts a new one. AddToValues can be used to add to values on other processors.

Not collective.

Alphabetic index