Lines Matching refs:fcone
312 const PetscInt *fcone; in ReorderPolygon() local
315 PetscCall(DMPlexGetCone(dm, newCone[c - 1], &fcone)); in ReorderPolygon()
316 lastVertex = newOrnt[c - 1] ? fcone[0] : fcone[1]; in ReorderPolygon()
332 const PetscInt *fcone, *fcone2; in ReorderPolygon() local
335 PetscCall(DMPlexGetCone(dm, newCone[coneSize - 1], &fcone)); in ReorderPolygon()
337 vertex = newOrnt[coneSize - 1] ? fcone[0] : fcone[1]; in ReorderPolygon()
349 const PetscInt *cone, *ornt, *fcone, *fornt, *farr, faces[4] = {0, 1, 3, 2}; in ReorderTetrahedron() local
356 PetscCall(DMPlexGetOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderTetrahedron()
360 …const PetscInt edge = fcone[farr[e * 2 + 0]], eornt = DMPolytopeTypeComposeOrientation(DM_POLYTOPE… in ReorderTetrahedron()
401 PetscCall(DMPlexRestoreOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderTetrahedron()
410 const PetscInt *cone, *ornt, *fcone, *fornt, *farr; in ReorderHexahedron() local
419 PetscCall(DMPlexGetOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderHexahedron()
423 …const PetscInt edge = fcone[farr[e * 2 + 0]], eornt = DMPolytopeTypeComposeOrientation(DM_POLYTOPE… in ReorderHexahedron()
455 PetscCall(DMPlexRestoreOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderHexahedron()
467 PetscCall(DMPlexGetOrientedCone(dm, newCone[2], &fcone, &fornt)); in ReorderHexahedron()
473 …const PetscInt edge = fcone[farr[e * 2 + 0]], eornt = DMPolytopeTypeComposeOrientation(DM_POLYTOPE… in ReorderHexahedron()
489 PetscCall(DMPlexRestoreOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderHexahedron()
500 const PetscInt *cone, *ornt, *fcone, *fornt, *farr; in ReorderWedge() local
520 PetscCall(DMPlexGetOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderWedge()
524 …const PetscInt edge = fcone[farr[e * 2 + 0]], eornt = DMPolytopeTypeComposeOrientation(DM_POLYTOPE… in ReorderWedge()
560 PetscCall(DMPlexRestoreOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderWedge()
572 PetscCall(DMPlexGetOrientedCone(dm, newCone[2], &fcone, &fornt)); in ReorderWedge()
578 …const PetscInt edge = fcone[farr[e * 2 + 0]], eornt = DMPolytopeTypeComposeOrientation(DM_POLYTOPE… in ReorderWedge()
594 PetscCall(DMPlexRestoreOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderWedge()
855 PetscInt fcone[16]; in DMPlexCreateFluent() local
866 for (PetscInt v = 0; v < faceSizes[f]; ++v) fcone[v] = faces[foffset + v] + numCells - 1; in DMPlexCreateFluent()
868 PetscCall(DMPlexSetCone(*dm, face, fcone)); in DMPlexCreateFluent()