Lines Matching refs:newOrnt
304 PetscInt coneSize, newCone[16], newOrnt[16]; in ReorderPolygon() local
310 newOrnt[0] = ornt[0]; in ReorderPolygon()
316 lastVertex = newOrnt[c - 1] ? fcone[0] : fcone[1]; in ReorderPolygon()
329 newOrnt[c] = ornt[c2]; in ReorderPolygon()
337 vertex = newOrnt[coneSize - 1] ? fcone[0] : fcone[1]; in ReorderPolygon()
338 vertex2 = newOrnt[0] ? fcone2[1] : fcone2[0]; in ReorderPolygon()
342 PetscCall(DMPlexSetConeOrientation(dm, cell, newOrnt)); in ReorderPolygon()
350 PetscInt newCone[16], newOrnt[16]; in ReorderTetrahedron() local
355 newOrnt[0] = ornt[0]; in ReorderTetrahedron()
357 farr = DMPolytopeTypeGetArrangement(DM_POLYTOPE_TRIANGLE, newOrnt[0]); 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()
403 PetscCall(DMPlexSetConeOrientation(dm, cell, newOrnt)); in ReorderTetrahedron()
413 PetscInt newCone[16], newOrnt[16]; in ReorderHexahedron() local
418 newOrnt[0] = ornt[0]; in ReorderHexahedron()
420 farr = DMPolytopeTypeGetArrangement(DM_POLYTOPE_QUADRILATERAL, newOrnt[0]); in ReorderHexahedron()
449 …newOrnt[faces[e + 1]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_QUADRILATERAL, !e ? (c2 + 1) … in ReorderHexahedron()
468 farr = DMPolytopeTypeGetArrangement(DM_POLYTOPE_QUADRILATERAL, newOrnt[2]); in ReorderHexahedron()
488 newOrnt[faces[5]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_QUADRILATERAL, c2, ornt[c]); in ReorderHexahedron()
492 PetscCall(DMPlexSetConeOrientation(dm, cell, newOrnt)); in ReorderHexahedron()
503 PetscInt newCone[16], newOrnt[16], cS, bottom = 0; in ReorderWedge() local
519 newOrnt[0] = ornt[bottom]; in ReorderWedge()
521 farr = DMPolytopeTypeGetArrangement(DM_POLYTOPE_TRIANGLE, newOrnt[0]); in ReorderWedge()
554 … newOrnt[faces[e + 1]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_QUADRILATERAL, c2, ornt[c]); in ReorderWedge()
573 farr = DMPolytopeTypeGetArrangement(DM_POLYTOPE_QUADRILATERAL, newOrnt[2]); in ReorderWedge()
593 newOrnt[faces[4]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_TRIANGLE, c2, ornt[c]); in ReorderWedge()
597 PetscCall(DMPlexSetConeOrientation(dm, cell, newOrnt)); in ReorderWedge()