Lines Matching refs:numXEdges
1289 const PetscInt numXEdges = rank == 0 ? edges[0] : 0; in DMPlexCreateSquareMesh_Simplex_CrissCross() local
1295 const PetscInt numCells = 4 * numXEdges * numYEdges; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1296 const PetscInt numTotXEdges = numXEdges * numYVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1318 for (ex = 0; ex < numXEdges; ++ex) { 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()
1327 const PetscInt e0 = firstXEdge + ey * numXEdges + ex; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1329 const PetscInt e2 = firstXEdge + eyp1 * numXEdges + ex; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1337 PetscInt cell = 4 * (ey * numXEdges + ex) + c; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1374 for (ex = 0; ex < numXEdges; ex++) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1375 const PetscInt edge = firstXEdge + vy * numXEdges + ex; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1386 if (ex == numXEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerTop)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1391 … if (ex == numXEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerBottom)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1421 … coords[2 * (vy * numXVertices + vx) + 0] = lower[0] + ((upper[0] - lower[0]) / numXEdges) * vx; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1426 for (ex = 0; ex < numXEdges; ++ex) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1427 const PetscInt c = ey * numXEdges + ex + numYVertices * numXVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1429 coords[2 * c + 0] = lower[0] + ((upper[0] - lower[0]) / numXEdges) * (ex + 0.5); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1539 const PetscInt numXEdges = rank == 0 ? edges[0] : 0; in DMPlexCreateCubeMesh_Internal() local
1545 const PetscInt numCells = numXEdges * numYEdges * numZEdges; in DMPlexCreateCubeMesh_Internal()
1547 const PetscInt numYFaces = numXEdges * numZEdges; in DMPlexCreateCubeMesh_Internal()
1548 const PetscInt numZFaces = numXEdges * numYEdges; in DMPlexCreateCubeMesh_Internal()
1553 const PetscInt numTotXEdges = numXEdges * numYVertices * numZVertices; in DMPlexCreateCubeMesh_Internal()
1580 for (fx = 0; fx < numXEdges; ++fx) { in DMPlexCreateCubeMesh_Internal()
1581 PetscInt cell = (fz * numYEdges + fy) * numXEdges + fx; in DMPlexCreateCubeMesh_Internal()
1582 PetscInt faceB = firstZFace + (fy * numXEdges + fx) * numZVertices + fz; in DMPlexCreateCubeMesh_Internal()
1583 … PetscInt faceT = firstZFace + (fy * numXEdges + fx) * numZVertices + ((fz + 1) % numZVertices); in DMPlexCreateCubeMesh_Internal()
1584 PetscInt faceF = firstYFace + (fz * numXEdges + fx) * numYVertices + fy; in DMPlexCreateCubeMesh_Internal()
1585 … PetscInt faceK = firstYFace + (fz * numXEdges + fx) * numYVertices + ((fy + 1) % numYVertices); in DMPlexCreateCubeMesh_Internal()
1601 …if (bdX != DM_BOUNDARY_NONE && fx == numXEdges - 1 && cutLabel) PetscCall(DMLabelSetValue(cutLabel… in DMPlexCreateCubeMesh_Internal()
1642 for (fx = 0; fx < numXEdges; ++fx) { in DMPlexCreateCubeMesh_Internal()
1644 PetscInt face = firstYFace + (fz * numXEdges + fx) * numYVertices + fy; in DMPlexCreateCubeMesh_Internal()
1647 PetscInt edgeB = firstXEdge + (fz * numYVertices + fy) * numXEdges + fx; in DMPlexCreateCubeMesh_Internal()
1648 … PetscInt edgeT = firstXEdge + (((fz + 1) % numZVertices) * numYVertices + fy) * numXEdges + fx; in DMPlexCreateCubeMesh_Internal()
1675 for (fx = 0; fx < numXEdges; ++fx) { in DMPlexCreateCubeMesh_Internal()
1677 PetscInt face = firstZFace + (fy * numXEdges + fx) * numZVertices + fz; in DMPlexCreateCubeMesh_Internal()
1680 PetscInt edgeB = firstXEdge + (fz * numYVertices + fy) * numXEdges + fx; in DMPlexCreateCubeMesh_Internal()
1681 … PetscInt edgeT = firstXEdge + (fz * numYVertices + ((fy + 1) % numYVertices)) * numXEdges + fx; in DMPlexCreateCubeMesh_Internal()
1686 if (bdX == DM_BOUNDARY_TWIST && fx == numXEdges - 1) { in DMPlexCreateCubeMesh_Internal()
1691 edgeT += numXEdges - 1 - 2 * fx; in DMPlexCreateCubeMesh_Internal()
1694 …if (bdX != DM_BOUNDARY_NONE && fx == numXEdges - 1 && cutLabel) PetscCall(DMLabelSetValue(cutLabel… in DMPlexCreateCubeMesh_Internal()
1819 for (ex = 0; ex < numXEdges; ex++) { in DMPlexCreateCubeMesh_Internal()
1820 …const PetscInt nextv = (dim == 2 && bdX == DM_BOUNDARY_TWIST && ex == numXEdges - 1) ? (numYVert… in DMPlexCreateCubeMesh_Internal()
1821 const PetscInt edge = firstXEdge + (vz * numYVertices + vy) * numXEdges + ex; in DMPlexCreateCubeMesh_Internal()
1835 … if (ex == numXEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerTop)); in DMPlexCreateCubeMesh_Internal()
1840 … if (ex == numXEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerBottom)); in DMPlexCreateCubeMesh_Internal()
1846 if (ex == numXEdges - 1) PetscCall(DMLabelSetValue(cutLabel, cone[1], 1)); in DMPlexCreateCubeMesh_Internal()
1854 … if (ex == numXEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerBack)); in DMPlexCreateCubeMesh_Internal()
1858 … if (ex == numXEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerFront)); in DMPlexCreateCubeMesh_Internal()
1865 … if (ex == numXEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerTop)); in DMPlexCreateCubeMesh_Internal()
1869 … if (ex == numXEdges - 1) PetscCall(DMSetLabelValue(dm, "marker", cone[1], markerBottom)); in DMPlexCreateCubeMesh_Internal()
1898 …rtices + vy) * numXVertices + vx) * dim + 0] = lower[0] + ((upper[0] - lower[0]) / numXEdges) * vx; in DMPlexCreateCubeMesh_Internal()