Lines Matching refs:gdm

914 …ErrorCode DMPlexConstructGhostCells_Internal(DM dm, DMLabel label, PetscInt *numGhostCells, DM gdm)  in DMPlexConstructGhostCells_Internal()  argument
965 PetscCall(DMPlexShiftSizes_Internal(dm, depthShift, gdm)); 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()
992 PetscCall(DMSetUp(gdm)); in DMPlexConstructGhostCells_Internal()
993 PetscCall(DMPlexShiftPoints_Internal(dm, depthShift, gdm)); in DMPlexConstructGhostCells_Internal()
1011 PetscCall(DMPlexSetCone(gdm, ghostCell, &newFace)); in DMPlexConstructGhostCells_Internal()
1012 PetscCall(DMPlexInsertSupport(gdm, newFace, 1, ghostCell)); in DMPlexConstructGhostCells_Internal()
1020 PetscCall(DMPlexShiftCoordinates_Internal(dm, depthShift, gdm)); in DMPlexConstructGhostCells_Internal()
1021 PetscCall(DMPlexShiftSF_Internal(dm, depthShift, gdm)); in DMPlexConstructGhostCells_Internal()
1022 PetscCall(DMPlexShiftLabels_Internal(dm, depthShift, gdm)); in DMPlexConstructGhostCells_Internal()
1023 PetscCall(DMPlexCreateVTKLabel_Internal(dm, PETSC_TRUE, gdm)); in DMPlexConstructGhostCells_Internal()
1024 PetscCall(DMPlexShiftTree_Internal(dm, depthShift, gdm)); in DMPlexConstructGhostCells_Internal()
1026 for (c = cEnd; c < cEnd + Ng; ++c) PetscCall(DMPlexSetCellType(gdm, c, DM_POLYTOPE_FV_GHOST)); in DMPlexConstructGhostCells_Internal()
1029 PetscCall(DMSetPeriodicity(gdm, maxCell, Lstart, L)); in DMPlexConstructGhostCells_Internal()
1056 DM gdm; in DMPlexConstructGhostCells() local
1066 PetscCall(DMCreate(PetscObjectComm((PetscObject)dm), &gdm)); in DMPlexConstructGhostCells()
1067 PetscCall(DMSetType(gdm, DMPLEX)); in DMPlexConstructGhostCells()
1069 PetscCall(DMSetDimension(gdm, dim)); in DMPlexConstructGhostCells()
1071 PetscCall(DMSetBasicAdjacency(gdm, useCone, useClosure)); in DMPlexConstructGhostCells()
1079 PetscCall(DMPlexConstructGhostCells_Internal(dm, label, &Ng, gdm)); in DMPlexConstructGhostCells()
1080 PetscCall(DMCopyDisc(dm, gdm)); in DMPlexConstructGhostCells()
1081 PetscCall(DMPlexCopy_Internal(dm, PETSC_TRUE, PETSC_TRUE, gdm)); in DMPlexConstructGhostCells()
1082 gdm->setfromoptionscalled = dm->setfromoptionscalled; in DMPlexConstructGhostCells()
1084 *dmGhosted = gdm; in DMPlexConstructGhostCells()