Lines Matching refs:sdm
1236 …scErrorCode DMPlexConstructCohesiveCells_Internal(DM dm, DMLabel label, DMLabel splitLabel, DM sdm) in DMPlexConstructCohesiveCells_Internal() argument
1269 PetscCall(DMCreateLabel(sdm, "celltype")); in DMPlexConstructCohesiveCells_Internal()
1327 PetscCall(DMPlexShiftSizes_Internal(dm, depthShift, sdm)); in DMPlexConstructCohesiveCells_Internal()
1339 PetscCall(DMPlexSetConeSize(sdm, splitp, coneSize)); in DMPlexConstructCohesiveCells_Internal()
1341 PetscCall(DMPlexSetSupportSize(sdm, splitp, supportSize)); in DMPlexConstructCohesiveCells_Internal()
1343 PetscCall(DMPlexSetCellType(sdm, splitp, ct)); in DMPlexConstructCohesiveCells_Internal()
1348 PetscCall(DMPlexSetConeSize(sdm, hybcell, 2 + coneSize)); in DMPlexConstructCohesiveCells_Internal()
1351 PetscCall(DMPlexSetCellType(sdm, hybcell, DM_POLYTOPE_SEG_PRISM_TENSOR)); in DMPlexConstructCohesiveCells_Internal()
1354 PetscCall(DMPlexSetCellType(sdm, hybcell, DM_POLYTOPE_TRI_PRISM_TENSOR)); in DMPlexConstructCohesiveCells_Internal()
1357 PetscCall(DMPlexSetCellType(sdm, hybcell, DM_POLYTOPE_QUAD_PRISM_TENSOR)); in DMPlexConstructCohesiveCells_Internal()
1368 if (val < 0) PetscCall(DMPlexSetSupportSize(sdm, splitp, 2)); in DMPlexConstructCohesiveCells_Internal()
1369 else PetscCall(DMPlexSetSupportSize(sdm, newp, 2)); in DMPlexConstructCohesiveCells_Internal()
1384 PetscCall(DMPlexSetSupportSize(sdm, newp, qn + 1)); in DMPlexConstructCohesiveCells_Internal()
1386 PetscCall(DMPlexSetSupportSize(sdm, splitp, qp + 1)); in DMPlexConstructCohesiveCells_Internal()
1388 PetscCall(DMPlexSetConeSize(sdm, hybedge, 2)); in DMPlexConstructCohesiveCells_Internal()
1389 PetscCall(DMPlexSetSupportSize(sdm, hybedge, qf)); in DMPlexConstructCohesiveCells_Internal()
1390 PetscCall(DMPlexSetCellType(sdm, hybedge, DM_POLYTOPE_POINT_PRISM_TENSOR)); in DMPlexConstructCohesiveCells_Internal()
1404 PetscCall(DMPlexSetSupportSize(sdm, newp, qn + 1)); in DMPlexConstructCohesiveCells_Internal()
1406 PetscCall(DMPlexSetSupportSize(sdm, splitp, qp + 1)); in DMPlexConstructCohesiveCells_Internal()
1408 PetscCall(DMPlexSetConeSize(sdm, hybface, 4)); in DMPlexConstructCohesiveCells_Internal()
1409 PetscCall(DMPlexSetSupportSize(sdm, hybface, qf)); in DMPlexConstructCohesiveCells_Internal()
1410 PetscCall(DMPlexSetCellType(sdm, hybface, DM_POLYTOPE_SEG_PRISM_TENSOR)); in DMPlexConstructCohesiveCells_Internal()
1432 PetscCall(DMPlexSetSupportSize(sdm, newp, qf + 2)); in DMPlexConstructCohesiveCells_Internal()
1434 PetscCall(DMPlexSetConeSize(sdm, hybedge, 2)); in DMPlexConstructCohesiveCells_Internal()
1443 PetscCall(DMPlexSetSupportSize(sdm, hybedge, qf)); in DMPlexConstructCohesiveCells_Internal()
1444 PetscCall(DMPlexSetCellType(sdm, hybedge, DM_POLYTOPE_POINT_PRISM_TENSOR)); in DMPlexConstructCohesiveCells_Internal()
1455 PetscCall(DMPlexSetSupportSize(sdm, newp, qf + 2)); in DMPlexConstructCohesiveCells_Internal()
1461 PetscCall(DMPlexSetConeSize(sdm, hybface, 4)); in DMPlexConstructCohesiveCells_Internal()
1462 PetscCall(DMPlexSetSupportSize(sdm, hybface, qf)); in DMPlexConstructCohesiveCells_Internal()
1463 PetscCall(DMPlexSetCellType(sdm, hybface, DM_POLYTOPE_SEG_PRISM_TENSOR)); in DMPlexConstructCohesiveCells_Internal()
1468 PetscCall(DMSetUp(sdm)); in DMPlexConstructCohesiveCells_Internal()
1469 PetscCall(DMPlexShiftPoints_Internal(dm, depthShift, sdm)); in DMPlexConstructCohesiveCells_Internal()
1470 PetscCall(DMPlexGetMaxSizes(sdm, &maxConeSizeNew, &maxSupportSizeNew)); in DMPlexConstructCohesiveCells_Internal()
1495 PetscCall(DMPlexGetSupport(sdm, newp, &supportF)); in DMPlexConstructCohesiveCells_Internal()
1496 PetscCall(DMPlexSetSupport(sdm, splitp, supportF)); in DMPlexConstructCohesiveCells_Internal()
1524 PetscCall(DMPlexSetCone(sdm, splitp, &coneNew[2])); in DMPlexConstructCohesiveCells_Internal()
1525 PetscCall(DMPlexSetConeOrientation(sdm, splitp, ornt)); in DMPlexConstructCohesiveCells_Internal()
1538 PetscCall(DMPlexInsertSupport(sdm, newp, s, hybcell)); in DMPlexConstructCohesiveCells_Internal()
1541 PetscCall(DMPlexInsertSupport(sdm, splitp, s, hybcell)); in DMPlexConstructCohesiveCells_Internal()
1546 PetscCall(DMPlexInsertSupport(sdm, newp, s, hybcell)); in DMPlexConstructCohesiveCells_Internal()
1549 PetscCall(DMPlexInsertSupport(sdm, splitp, s, hybcell)); in DMPlexConstructCohesiveCells_Internal()
1601 PetscCall(DMPlexSetCone(sdm, hybcell, coneNew)); in DMPlexConstructCohesiveCells_Internal()
1602 PetscCall(DMPlexSetConeOrientation(sdm, hybcell, coneONew)); in DMPlexConstructCohesiveCells_Internal()
1616 PetscCall(DMPlexSetSupport(sdm, newp, supportNew)); in DMPlexConstructCohesiveCells_Internal()
1631 PetscCall(DMPlexSetSupport(sdm, splitp, supportNew)); in DMPlexConstructCohesiveCells_Internal()
1635 PetscCall(DMPlexSetCone(sdm, hybedge, coneNew)); in DMPlexConstructCohesiveCells_Internal()
1646 PetscCall(DMPlexSetSupport(sdm, hybedge, supportNew)); in DMPlexConstructCohesiveCells_Internal()
1662 PetscCall(DMPlexSetCone(sdm, splitp, coneNew)); in DMPlexConstructCohesiveCells_Internal()
1675 PetscCall(DMPlexSetSupport(sdm, newp, supportNew)); in DMPlexConstructCohesiveCells_Internal()
1690 PetscCall(DMPlexSetSupport(sdm, splitp, supportNew)); in DMPlexConstructCohesiveCells_Internal()
1705 PetscCall(DMPlexSetCone(sdm, hybface, coneNew)); in DMPlexConstructCohesiveCells_Internal()
1716 PetscCall(DMPlexSetSupport(sdm, hybface, supportNew)); in DMPlexConstructCohesiveCells_Internal()
1735 PetscCall(DMPlexGetSupportSize(sdm, newp, &supportSizeNew)); in DMPlexConstructCohesiveCells_Internal()
1744 PetscCall(DMPlexSetSupport(sdm, newp, supportNew)); in DMPlexConstructCohesiveCells_Internal()
1748 PetscCall(DMPlexSetCone(sdm, hybedge, coneNew)); in DMPlexConstructCohesiveCells_Internal()
1763 PetscCall(DMPlexSetSupport(sdm, hybedge, supportNew)); in DMPlexConstructCohesiveCells_Internal()
1783 PetscCall(DMPlexGetSupportSize(sdm, newp, &supportSizeNew)); in DMPlexConstructCohesiveCells_Internal()
1785 PetscCall(DMPlexSetSupport(sdm, newp, supportNew)); in DMPlexConstructCohesiveCells_Internal()
1795 PetscCall(DMPlexSetCone(sdm, hybface, coneNew)); in DMPlexConstructCohesiveCells_Internal()
1805 PetscCall(DMPlexGetSupportSize(sdm, hybface, &supportSizeNew)); in DMPlexConstructCohesiveCells_Internal()
1807 PetscCall(DMPlexSetSupport(sdm, hybface, supportNew)); in DMPlexConstructCohesiveCells_Internal()
1833 PetscCall(DMPlexGetConeSize(sdm, newp, &coneSize)); in DMPlexConstructCohesiveCells_Internal()
1834 PetscCall(DMPlexGetCone(sdm, newp, &cone)); in DMPlexConstructCohesiveCells_Internal()
1844 PetscCall(DMPlexInsertCone(sdm, newp, c, csplitp)); in DMPlexConstructCohesiveCells_Internal()
1854 PetscCall(DMPlexReorderCohesiveSupports(sdm)); in DMPlexConstructCohesiveCells_Internal()
1856 PetscCall(DMPlexShiftCoordinates_Internal(dm, depthShift, sdm)); in DMPlexConstructCohesiveCells_Internal()
1857 PetscCall(DMGetCoordinateSection(sdm, &coordSection)); in DMPlexConstructCohesiveCells_Internal()
1858 PetscCall(DMGetCoordinatesLocal(sdm, &coordinates)); in DMPlexConstructCohesiveCells_Internal()
1872 PetscCall(DMPlexShiftSF_Internal(dm, depthShift, sdm)); in DMPlexConstructCohesiveCells_Internal()
1875 PetscCall(DMPlexShiftLabels_Internal(dm, depthShift, sdm)); in DMPlexConstructCohesiveCells_Internal()
1876 PetscCall(DMPlexCreateVTKLabel_Internal(dm, PETSC_FALSE, sdm)); in DMPlexConstructCohesiveCells_Internal()
1877 PetscCall(DMGetNumLabels(sdm, &numLabels)); in DMPlexConstructCohesiveCells_Internal()
1896 PetscCall(DMGetLabelName(sdm, l, &lname)); in DMPlexConstructCohesiveCells_Internal()
1899 PetscCall(DMGetLabel(sdm, lname, &mlabel)); in DMPlexConstructCohesiveCells_Internal()
1921 PetscCall(DMPlexGetDepthStratum(sdm, d, NULL, &pEnd)); in DMPlexConstructCohesiveCells_Internal()
1949 DM sdm; in DMPlexConstructCohesiveCells() local
1955 PetscCall(DMCreate(PetscObjectComm((PetscObject)dm), &sdm)); in DMPlexConstructCohesiveCells()
1956 PetscCall(DMSetType(sdm, DMPLEX)); in DMPlexConstructCohesiveCells()
1958 PetscCall(DMSetDimension(sdm, dim)); in DMPlexConstructCohesiveCells()
1962 PetscCall(DMPlexConstructCohesiveCells_Internal(dm, label, splitLabel, sdm)); in DMPlexConstructCohesiveCells()
1967 *dmSplit = sdm; in DMPlexConstructCohesiveCells()
4494 DM plexA, plexB, sdm; in DMGetEnclosureRelation() local
4521 sdm = NpA > NpB ? plexB : plexA; /* The other is the original, enclosing dm */ in DMGetEnclosureRelation()
4522 PetscCall(DMPlexGetSubpointMap(sdm, &spmap)); in DMGetEnclosureRelation()
4554 DM sdm; in DMGetEnclosurePoint() local
4563 sdm = dmB; in DMGetEnclosurePoint()
4564 PetscCall(DMPlexGetSubpointIS(sdm, &subpointIS)); in DMGetEnclosurePoint()
4570 sdm = dmA; in DMGetEnclosurePoint()
4571 PetscCall(DMPlexGetSubpointIS(sdm, &subpointIS)); in DMGetEnclosurePoint()