[petsc-users] PetscSortIntWithDataArray

Jed Brown jed at jedbrown.org
Sun Apr 7 19:44:25 CDT 2019

Fande Kong via petsc-users <petsc-users at mcs.anl.gov> writes:

> Hi All,
> *Input Parameters*
> *n - number of values*
> *i - array of integers*
> *Ii - second array of data*
> *size - sizeof elements in the data array in bytes*
> *work - workspace of "size" bytes used when sorting*
> size is the size of one element or all elements? It looks like it is the
> size of one element when looked into the code.

Each element.

More information about the petsc-users mailing list