PetscMergeIntArrayPair#
Merges two SORTED PetscInt arrays that share NO common values along with an additional array of PetscInt. The additional arrays are the same length as sorted arrays and are merged in the order determined by the merging of the sorted pair.
Synopsis#
Not Collective
Input Parameters#
Output Parameters#
n - number of values in the merged array (== an + bn)
L - merged sorted array
J - merged additional array
Note#
if L or J point to non-null arrays then this routine will assume they are of the appropriate size and use them, otherwise this routine will allocate space for them
See Also#
PetscIntSortSemiOrdered(), PetscSortReal(), PetscSortIntWithPermutation(), PetscSortInt(), PetscSortIntWithArray()
Level#
intermediate
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages