Searched refs:roots_with_dups (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexpreallocate.c | 278 PetscInt *roots_with_dups, num_non_dups, num_pairs = 0; in DMPlexCreateAdjacencySection_Static() local 293 PetscCall(PetscSegBufferExtractAlloc(seg_roots, &roots_with_dups)); in DMPlexCreateAdjacencySection_Static() 298 PetscCall(PetscIntSortSemiOrderedWithArray(num_pairs, roots_with_dups, myRankPairLeaves)); in DMPlexCreateAdjacencySection_Static() 301 PetscCall(PetscIntViewPairs(num_pairs, 5, roots_with_dups, myRankPairLeaves, NULL)); in DMPlexCreateAdjacencySection_Static() 304 PetscCall(PetscArraycpy(myRankPairRoots, roots_with_dups, num_pairs)); in DMPlexCreateAdjacencySection_Static() 311 PetscInt root = roots_with_dups[p], index; in DMPlexCreateAdjacencySection_Static() 323 PetscCall(PetscFree(roots_with_dups)); in DMPlexCreateAdjacencySection_Static()
|