Lines Matching refs:faces
349 const PetscInt *cone, *ornt, *fcone, *fornt, *farr, faces[4] = {0, 1, 3, 2}; in ReorderTetrahedron() local
386 newCone[faces[e + 1]] = cone[c]; in ReorderTetrahedron()
392 …newOrnt[faces[e + 1]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_TRIANGLE, -((c2 + (!e ? 1 : 2… in ReorderTetrahedron()
394 …newOrnt[faces[e + 1]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_TRIANGLE, !e ? (c2 + 1) % 3 :… in ReorderTetrahedron()
411 const PetscInt faces[6] = {0, 5, 3, 4, 2, 1}; in ReorderHexahedron() local
447 newCone[faces[e + 1]] = cone[c]; in ReorderHexahedron()
449 …newOrnt[faces[e + 1]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_QUADRILATERAL, !e ? (c2 + 1) … in ReorderHexahedron()
486 newCone[faces[5]] = cone[c]; in ReorderHexahedron()
488 newOrnt[faces[5]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_QUADRILATERAL, c2, ornt[c]); in ReorderHexahedron()
501 const PetscInt faces[5] = {0, 4, 3, 2, 1}; in ReorderWedge() local
552 newCone[faces[e + 1]] = cone[c]; in ReorderWedge()
554 … newOrnt[faces[e + 1]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_QUADRILATERAL, c2, ornt[c]); in ReorderWedge()
591 newCone[faces[4]] = cone[c]; in ReorderWedge()
593 newOrnt[faces[4]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_TRIANGLE, c2, ornt[c]); in ReorderWedge()
689 PetscInt *faces = NULL; in DMPlexCreateFluent() local
764 if (faces) PetscCall(PetscArraycpy(tmp, faces, totFaceVert)); in DMPlexCreateFluent()
765 PetscCall(PetscFree(faces)); in DMPlexCreateFluent()
767 faces = tmp; in DMPlexCreateFluent()
775 … for (PetscInt v = 0; v < faceSize; ++v) faces[offset + v] = ((PetscInt *)s.data)[doffset + v]; in DMPlexCreateFluent()
843 if (rank == 0 && faces) { in DMPlexCreateFluent()
866 for (PetscInt v = 0; v < faceSizes[f]; ++v) fcone[v] = faces[foffset + v] + numCells - 1; in DMPlexCreateFluent()
884 if (rank == 0 && faces) { in DMPlexCreateFluent()
888 if (rank == 0 && faces) { in DMPlexCreateFluent()
910 … for (PetscInt fi = 0; fi < faceSizes[f]; fi++) fverts[fi] = faces[foffset + fi] + numCells - 1; in DMPlexCreateFluent()
970 PetscCall(PetscFree(faces)); in DMPlexCreateFluent()