int32_t bHYPRE_SStructParCSRMatrix_SetBoxValues

( bHYPRE_SStructParCSRMatrix self,
  int32_t part,
  int32_t* ilower,
  int32_t* iupper,
  int32_t dim,
  int32_t var,
  int32_t nentries,
  int32_t* entries,
  double* values,
  int32_t nvalues,
  sidl_BaseInterface* _ex)

Set matrix coefficients a box at a time.

Documentation

Set matrix coefficients a box at a time.

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 (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.

Alphabetic index