Home
last modified time | relevance | path

Searched refs:vAdj (Results 1 – 1 of 1) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexpartition.c18 PetscInt *adj = NULL, *vOffsets = NULL, *vAdj = NULL; in DMPlexCreatePartitionerGraph_Overlap() local
81 PetscCall(PetscMalloc1(vOffsets[*numVertices], &vAdj)); in DMPlexCreatePartitionerGraph_Overlap()
90 …if (point != c && cStart <= point && point < cEnd) vAdj[off++] = DMPlex_GlobalID(cellNum[point - c… in DMPlexCreatePartitionerGraph_Overlap()
94 PetscCall(PetscSortInt(off - vOffsets[v], &vAdj[vOffsets[v]])); in DMPlexCreatePartitionerGraph_Overlap()
106 *adjacency = vAdj; in DMPlexCreatePartitionerGraph_Overlap()
107 } else PetscCall(PetscFree(vAdj)); in DMPlexCreatePartitionerGraph_Overlap()