int HYPRE_StructMatrixSetBoxValues (HYPRE_StructMatrix matrix, int *ilower, int *iupper, int nentries, int *entries, double *values)

Set matrix coefficients a box at a time

Documentation

Set matrix coefficients a box at a time. The data in values is ordered as follows:

   m = 0;
   for (k = ilower[2]; k <= iupper[2]; k++)
      for (j = ilower[1]; j <= iupper[1]; j++)
         for (i = ilower[0]; i <= iupper[0]; i++)
            for (entry = 0; entry < nentries; entry++)
            {
               values[m] = ...;
               m++;
            }
   

alphabetic index hierarchy of classes


generated by doc++