Searched refs:vOffsets (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexpartition.c | 18 PetscInt *adj = NULL, *vOffsets = NULL, *vAdj = NULL; in DMPlexCreatePartitionerGraph_Overlap() local 67 PetscCall(PetscCalloc1(*numVertices + 1, &vOffsets)); in DMPlexCreatePartitionerGraph_Overlap() 77 vOffsets[v + 1] = vOffsets[v] + vsize; in DMPlexCreatePartitionerGraph_Overlap() 81 PetscCall(PetscMalloc1(vOffsets[*numVertices], &vAdj)); in DMPlexCreatePartitionerGraph_Overlap() 83 PetscInt adjSize = PETSC_DETERMINE, a, off = vOffsets[v]; in DMPlexCreatePartitionerGraph_Overlap() 92 …scCheck(off == vOffsets[v + 1], PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Offsets %" PetscInt_FMT " s… in DMPlexCreatePartitionerGraph_Overlap() 94 PetscCall(PetscSortInt(off - vOffsets[v], &vAdj[vOffsets[v]])); in DMPlexCreatePartitionerGraph_Overlap() 103 *offsets = vOffsets; in DMPlexCreatePartitionerGraph_Overlap() 104 } else PetscCall(PetscFree(vOffsets)); in DMPlexCreatePartitionerGraph_Overlap() 114 PetscInt *adj = NULL, *vOffsets = NULL, *graph = NULL; in DMPlexCreatePartitionerGraph_Native() local [all …]
|