HYPRE_Int HYPRE_SStructVectorGetBoxValues

(HYPRE_SStructVector vector,
  HYPRE_Int part,
  HYPRE_Int* ilower,
  HYPRE_Int* iupper,
  HYPRE_Int var,
  double* values)

Get vector coefficients a box at a time.

Documentation

Get vector coefficients a box at a time. The data in values is ordered as in HYPRE_SStructVectorSetBoxValues. Users must first call the routine HYPRE_SStructVectorGather to ensure that data owned by multiple processes is correct.

NOTE: Users may only get values on processes that own the associated variables.

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

See Also:
HYPRE_SStructVectorSetComplex

Alphabetic index