Lines Matching refs:newCone

304   PetscInt        coneSize, newCone[16], newOrnt[16];  in ReorderPolygon()  local
309 newCone[0] = cone[0]; in ReorderPolygon()
315 PetscCall(DMPlexGetCone(dm, newCone[c - 1], &fcone)); in ReorderPolygon()
328 newCone[c] = cone[c2]; in ReorderPolygon()
335 PetscCall(DMPlexGetCone(dm, newCone[coneSize - 1], &fcone)); in ReorderPolygon()
336 PetscCall(DMPlexGetCone(dm, newCone[0], &fcone2)); in ReorderPolygon()
341 PetscCall(DMPlexSetCone(dm, cell, newCone)); in ReorderPolygon()
350 PetscInt newCone[16], newOrnt[16]; in ReorderTetrahedron() local
354 newCone[0] = cone[0]; in ReorderTetrahedron()
356 PetscCall(DMPlexGetOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderTetrahedron()
386 newCone[faces[e + 1]] = cone[c]; in ReorderTetrahedron()
401 PetscCall(DMPlexRestoreOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderTetrahedron()
402 PetscCall(DMPlexSetCone(dm, cell, newCone)); in ReorderTetrahedron()
413 PetscInt newCone[16], newOrnt[16]; in ReorderHexahedron() local
417 newCone[0] = cone[0]; in ReorderHexahedron()
419 PetscCall(DMPlexGetOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderHexahedron()
447 newCone[faces[e + 1]] = cone[c]; in ReorderHexahedron()
455 PetscCall(DMPlexRestoreOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderHexahedron()
467 PetscCall(DMPlexGetOrientedCone(dm, newCone[2], &fcone, &fornt)); in ReorderHexahedron()
486 newCone[faces[5]] = cone[c]; in ReorderHexahedron()
489 PetscCall(DMPlexRestoreOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderHexahedron()
491 PetscCall(DMPlexSetCone(dm, cell, newCone)); in ReorderHexahedron()
503 PetscInt newCone[16], newOrnt[16], cS, bottom = 0; in ReorderWedge() local
518 newCone[0] = cone[bottom]; in ReorderWedge()
520 PetscCall(DMPlexGetOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderWedge()
552 newCone[faces[e + 1]] = cone[c]; in ReorderWedge()
560 PetscCall(DMPlexRestoreOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderWedge()
572 PetscCall(DMPlexGetOrientedCone(dm, newCone[2], &fcone, &fornt)); in ReorderWedge()
591 newCone[faces[4]] = cone[c]; in ReorderWedge()
594 PetscCall(DMPlexRestoreOrientedCone(dm, newCone[0], &fcone, &fornt)); in ReorderWedge()
596 PetscCall(DMPlexSetCone(dm, cell, newCone)); in ReorderWedge()