HYPRE_Int HYPRE_SStructVectorGetValues

(HYPRE_SStructVector vector,
  HYPRE_Int part,
  HYPRE_Int* index,
  HYPRE_Int var,
  double* value)

Get vector coefficients index by index.

Documentation

Get vector coefficients index by index. Users must first call the routine HYPRE_SStructVectorGather to ensure that data owned by multiple processes is correct.

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

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

If the vector is complex, then value consists of a pair of doubles representing the real and imaginary parts of the complex value.

See Also:
HYPRE_SStructVectorSetComplex

Alphabetic index