Lines Matching refs:numYVertices

1293 …const PetscInt numYVertices = rank == 0 ? (bdY == DM_BOUNDARY_PERIODIC ? edges[1] : edges[1] + 1) …  in DMPlexCreateSquareMesh_Simplex_CrissCross()  local
1296 const PetscInt numTotXEdges = numXEdges * numYVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1298 const PetscInt numVertices = numXVertices * numYVertices + numZVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1320 const PetscInt eyp1 = (ey + 1) % numYVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1322 const PetscInt vc = firstVertex + numXVertices * numYVertices + ey * numXEdges + ex; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1352 const PetscInt v1 = firstVertex + ((ey + 1) % numYVertices) * numXVertices + vx; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1373 for (vy = 0; vy < numYVertices; vy++) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1382 if (vy == numYVertices - 1) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1419 for (vy = 0; vy < numYVertices; ++vy) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1427 const PetscInt c = ey * numXEdges + ex + numYVertices * numXVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1543 …const PetscInt numYVertices = rank == 0 ? (bdY == DM_BOUNDARY_PERIODIC || bdY == DM_BOUNDARY_TWIST… in DMPlexCreateCubeMesh_Internal() local
1550 const PetscInt numTotYFaces = numYVertices * numYFaces; in DMPlexCreateCubeMesh_Internal()
1553 const PetscInt numTotXEdges = numXEdges * numYVertices * numZVertices; in DMPlexCreateCubeMesh_Internal()
1555 const PetscInt numTotZEdges = numZEdges * numXVertices * numYVertices; in DMPlexCreateCubeMesh_Internal()
1556 const PetscInt numVertices = numXVertices * numYVertices * 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()
1613 … PetscInt edgeR = firstZEdge + (((fy + 1) % numYVertices) * numXVertices + fx) * numZEdges + fz; in DMPlexCreateCubeMesh_Internal()
1643 for (fy = 0; fy < numYVertices; ++fy) { 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()
1655 if (fy == numYVertices - 1) { 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()
1718 for (vy = 0; vy < numYVertices; vy++) { in DMPlexCreateCubeMesh_Internal()
1722 const PetscInt vertexB = firstVertex + (ez * numYVertices + vy) * numXVertices + vx; in DMPlexCreateCubeMesh_Internal()
1723 …const PetscInt vertexT = firstVertex + (((ez + 1) % numZVertices) * numYVertices + vy) * numXVerti… in DMPlexCreateCubeMesh_Internal()
1742 if (vy == numYVertices - 1) { in DMPlexCreateCubeMesh_Internal()
1760 …& ey == numYEdges - 1) ? (numXVertices - vx - 1) : (vz * numYVertices + ((ey + 1) % numYVertices))… in DMPlexCreateCubeMesh_Internal()
1762 const PetscInt vertexF = firstVertex + (vz * numYVertices + ey) * numXVertices + vx; in DMPlexCreateCubeMesh_Internal()
1818 for (vy = 0; vy < numYVertices; vy++) { in DMPlexCreateCubeMesh_Internal()
1820 …= DM_BOUNDARY_TWIST && ex == numXEdges - 1) ? (numYVertices - vy - 1) * numXVertices : (vz * numYV… in DMPlexCreateCubeMesh_Internal()
1821 const PetscInt edge = firstXEdge + (vz * numYVertices + vy) * numXEdges + ex; in DMPlexCreateCubeMesh_Internal()
1822 const PetscInt vertexL = firstVertex + (vz * numYVertices + vy) * numXVertices + ex; in DMPlexCreateCubeMesh_Internal()
1831 if (vy == numYVertices - 1) { in DMPlexCreateCubeMesh_Internal()
1851 if (vy == numYVertices - 1) { in DMPlexCreateCubeMesh_Internal()
1896 for (vy = 0; vy < numYVertices; ++vy) { in DMPlexCreateCubeMesh_Internal()
1898 …coords[((vz * numYVertices + vy) * numXVertices + vx) * dim + 0] = lower[0] + ((upper[0] - lower[0… in DMPlexCreateCubeMesh_Internal()
1899 …coords[((vz * numYVertices + vy) * numXVertices + vx) * dim + 1] = lower[1] + ((upper[1] - lower[1… in DMPlexCreateCubeMesh_Internal()
1900 …if (dim == 3) coords[((vz * numYVertices + vy) * numXVertices + vx) * dim + 2] = lower[2] + ((uppe… in DMPlexCreateCubeMesh_Internal()