int32_t bHYPRE_StructMatrixView_SetBoxValues ( bHYPRE_StructMatrixView self, int32_t* ilower, int32_t* iupper, int32_t dim, int32_t num_stencil_indices, int32_t* stencil_indices, double* values, int32_t nvalues, sidl_BaseInterface *_ex)

Set matrix values throughout a box in the grid, specified by its lower and upper corners

Documentation

Set matrix values throughout a box in the grid, specified by its lower and upper corners. You can supply these values for one or more positions in the stencil. Thus the total number of matrix values you supply, "nvalues", is num_stencil_indices x box_size, where box_size is the number of grid points in the box. The values array should be organized so all values for a given box point are together (i.e., the stencil index is the most rapidly varying). "ilower" and "iupper" are arrays of size "dim", "stencil_indices" is an array of size "num_stencil_indices", and "values" is an array of size "nvalues".

alphabetic index hierarchy of classes


generated by doc++