Lines Matching refs:numYEdges

1290     const PetscInt numYEdges    = rank == 0 ? edges[1] : 0;  in DMPlexCreateSquareMesh_Simplex_CrissCross()  local
1295 const PetscInt numCells = 4 * numXEdges * numYEdges; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1297 const PetscInt numTotYEdges = numYEdges * numXVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1317 for (ey = 0; ey < numYEdges; ++ey) { 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()
1349 for (ey = 0; ey < numYEdges; ey++) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1350 const PetscInt edge = firstYEdge + vx * numYEdges + ey; 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()
1422 … coords[2 * (vy * numXVertices + vx) + 1] = lower[1] + ((upper[1] - lower[1]) / numYEdges) * vy; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1425 for (ey = 0; ey < numYEdges; ++ey) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1430 coords[2 * c + 1] = lower[1] + ((upper[1] - lower[1]) / numYEdges) * (ey + 0.5); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1540 const PetscInt numYEdges = rank == 0 ? edges[1] : 0; in DMPlexCreateCubeMesh_Internal() local
1545 const PetscInt numCells = numXEdges * numYEdges * numZEdges; in DMPlexCreateCubeMesh_Internal()
1546 const PetscInt numXFaces = numYEdges * numZEdges; in DMPlexCreateCubeMesh_Internal()
1548 const PetscInt numZFaces = numXEdges * numYEdges; in DMPlexCreateCubeMesh_Internal()
1554 const PetscInt numTotYEdges = numYEdges * numXVertices * numZVertices; in DMPlexCreateCubeMesh_Internal()
1579 for (fy = 0; fy < numYEdges; ++fy) { in DMPlexCreateCubeMesh_Internal()
1581 PetscInt cell = (fz * numYEdges + fy) * numXEdges + fx; in DMPlexCreateCubeMesh_Internal()
1586 PetscInt faceL = firstXFace + (fz * numYEdges + fy) * numXVertices + fx; in DMPlexCreateCubeMesh_Internal()
1587 … PetscInt faceR = firstXFace + (fz * numYEdges + fy) * numXVertices + ((fx + 1) % numXVertices); in DMPlexCreateCubeMesh_Internal()
1602 …if (bdY != DM_BOUNDARY_NONE && fy == numYEdges - 1 && cutLabel) PetscCall(DMLabelSetValue(cutLabel… in DMPlexCreateCubeMesh_Internal()
1609 for (fy = 0; fy < numYEdges; ++fy) { in DMPlexCreateCubeMesh_Internal()
1611 PetscInt face = firstXFace + (fz * numYEdges + fy) * numXVertices + fx; in DMPlexCreateCubeMesh_Internal()
1614 PetscInt edgeB = firstYEdge + (fz * numXVertices + fx) * numYEdges + fy; in DMPlexCreateCubeMesh_Internal()
1615 … PetscInt edgeT = firstYEdge + (((fz + 1) % numZVertices) * numXVertices + fx) * numYEdges + fy; in DMPlexCreateCubeMesh_Internal()
1674 for (fy = 0; fy < numYEdges; ++fy) { in DMPlexCreateCubeMesh_Internal()
1678 PetscInt edgeL = firstYEdge + (fz * numXVertices + fx) * numYEdges + fy; in DMPlexCreateCubeMesh_Internal()
1679 … PetscInt edgeR = firstYEdge + (fz * numXVertices + ((fx + 1) % numXVertices)) * numYEdges + fy; in DMPlexCreateCubeMesh_Internal()
1687 edgeR += numYEdges - 1 - 2 * fy; in DMPlexCreateCubeMesh_Internal()
1690 if (bdY == DM_BOUNDARY_TWIST && fy == numYEdges - 1) { in DMPlexCreateCubeMesh_Internal()
1695 …if (bdY != DM_BOUNDARY_NONE && fy == numYEdges - 1 && cutLabel) PetscCall(DMLabelSetValue(cutLabel… in DMPlexCreateCubeMesh_Internal()
1759 for (ey = 0; ey < numYEdges; ey++) { in DMPlexCreateCubeMesh_Internal()
1760 …const PetscInt nextv = (dim == 2 && bdY == DM_BOUNDARY_TWIST && ey == numYEdges - 1) ? (numXVert… in DMPlexCreateCubeMesh_Internal()
1761 const PetscInt edge = firstYEdge + (vz * numXVertices + vx) * numYEdges + ey; 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()
1899 …rtices + vy) * numXVertices + vx) * dim + 1] = lower[1] + ((upper[1] - lower[1]) / numYEdges) * vy; in DMPlexCreateCubeMesh_Internal()