Lines Matching refs:Ng
920 PetscInt d, depth = 0, nleaves, loc, Ng, numFS, fs, fStart, fEnd, ghostCell, cEnd, c; in DMPlexConstructGhostCells_Internal() local
932 Ng = 0; in DMPlexConstructGhostCells_Internal()
950 Ng += numBdFaces; in DMPlexConstructGhostCells_Internal()
963 if (depth >= 0) depthShift[2 * depth + 1] = Ng; in DMPlexConstructGhostCells_Internal()
968 for (c = cEnd; c < cEnd + Ng; ++c) PetscCall(DMPlexSetConeSize(gdm, c, 1)); in DMPlexConstructGhostCells_Internal()
986 PetscCall(DMPlexSetSupportSize(gdm, faces[f] + Ng, 2)); in DMPlexConstructGhostCells_Internal()
1005 PetscInt newFace = faces[f] + Ng, numChildren; in DMPlexConstructGhostCells_Internal()
1026 for (c = cEnd; c < cEnd + Ng; ++c) PetscCall(DMPlexSetCellType(gdm, c, DM_POLYTOPE_FV_GHOST)); in DMPlexConstructGhostCells_Internal()
1030 if (numGhostCells) *numGhostCells = Ng; in DMPlexConstructGhostCells_Internal()
1059 PetscInt dim, Ng = 0; in DMPlexConstructGhostCells() local
1079 PetscCall(DMPlexConstructGhostCells_Internal(dm, label, &Ng, gdm)); in DMPlexConstructGhostCells()
1083 if (numGhostCells) *numGhostCells = Ng; in DMPlexConstructGhostCells()