Lines Matching refs:ey
612 PetscInt e, ex, ey; in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal() local
618 for (ey = 0; ey < edges[1]; ey++) { in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
619 PetscInt edge = vx * edges[1] + ey + edges[0] * (edges[1] + 1); in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
620 PetscInt vertex = ey * (edges[0] + 1) + vx + numEdges; in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
629 if (ey == edges[1] - 1) { in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
636 if (ey == edges[1] - 1) { in DMPlexCreateBoxSurfaceMesh_Tensor_2D_Internal()
1309 PetscInt c, e, ex, ey; in DMPlexCreateSquareMesh_Simplex_CrissCross() local
1317 for (ey = 0; ey < numYEdges; ++ey) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1320 const PetscInt eyp1 = (ey + 1) % numYVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1321 const PetscInt ez = firstZEdge + 4 * (ey * numXEdges + ex); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1322 const PetscInt vc = firstVertex + numXVertices * numYVertices + ey * numXEdges + ex; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1323 const PetscInt v0 = firstVertex + ey * numXVertices + ex; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1324 const PetscInt v1 = firstVertex + ey * numXVertices + exp1; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1327 const PetscInt e0 = firstXEdge + ey * numXEdges + ex; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1328 const PetscInt e1 = firstYEdge + exp1 * numYEdges + ey; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1330 const PetscInt e3 = firstYEdge + ex * numYEdges + ey; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1337 PetscInt cell = 4 * (ey * numXEdges + ex) + c; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1349 for (ey = 0; ey < numYEdges; ey++) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1350 const PetscInt edge = firstYEdge + vx * numYEdges + ey; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1351 const PetscInt v0 = firstVertex + ey * numXVertices + vx; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1352 const PetscInt v1 = firstVertex + ((ey + 1) % numYVertices) * numXVertices + vx; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1361 if (ey == numYEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerRight)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1366 if (ey == numYEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerLeft)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1425 for (ey = 0; ey < numYEdges; ++ey) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1427 const PetscInt c = ey * numXEdges + ex + numYVertices * numXVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1430 coords[2 * c + 1] = lower[1] + ((upper[1] - lower[1]) / numYEdges) * (ey + 0.5); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1570 PetscInt c, f, fx, fy, fz, e, ex, ey, ez; in DMPlexCreateCubeMesh_Internal() local
1759 for (ey = 0; ey < numYEdges; ey++) { in DMPlexCreateCubeMesh_Internal()
1760 …im == 2 && bdY == DM_BOUNDARY_TWIST && ey == numYEdges - 1) ? (numXVertices - vx - 1) : (vz * numY… in DMPlexCreateCubeMesh_Internal()
1761 const PetscInt edge = firstYEdge + (vz * numXVertices + vx) * numYEdges + ey; in DMPlexCreateCubeMesh_Internal()
1762 const PetscInt vertexF = firstVertex + (vz * numYVertices + ey) * numXVertices + vx; in DMPlexCreateCubeMesh_Internal()
1775 … if (ey == numYEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerRight)); in DMPlexCreateCubeMesh_Internal()
1780 … if (ey == numYEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerLeft)); in DMPlexCreateCubeMesh_Internal()
1786 if (ey == numYEdges - 1) PetscCall(DMLabelSetValue(cutLabel, cone[1], 1)); in DMPlexCreateCubeMesh_Internal()
1794 … if (ey == numYEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerRight)); in DMPlexCreateCubeMesh_Internal()
1798 … if (ey == numYEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerLeft)); in DMPlexCreateCubeMesh_Internal()
1805 … if (ey == numYEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerTop)); in DMPlexCreateCubeMesh_Internal()
1809 … if (ey == numYEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerBottom)); in DMPlexCreateCubeMesh_Internal()