Lines Matching refs:numXVertices
1292 …const PetscInt numXVertices = rank == 0 ? (bdX == DM_BOUNDARY_PERIODIC ? edges[0] : edges[0] + 1) … in DMPlexCreateSquareMesh_Simplex_CrissCross() local
1297 const PetscInt numTotYEdges = numYEdges * numXVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1298 const PetscInt numVertices = numXVertices * numYVertices + numZVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1319 const PetscInt exp1 = (ex + 1) % numXVertices; 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()
1325 const PetscInt v2 = firstVertex + eyp1 * numXVertices + exp1; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1326 const PetscInt v3 = firstVertex + eyp1 * numXVertices + ex; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1348 for (vx = 0; vx < numXVertices; vx++) { 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()
1357 if (vx == numXVertices - 1) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1376 const PetscInt v0 = firstVertex + vy * numXVertices + ex; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1377 const PetscInt v1 = firstVertex + vy * numXVertices + (ex + 1) % numXVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1420 for (vx = 0; vx < numXVertices; ++vx) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1421 … coords[2 * (vy * numXVertices + vx) + 0] = lower[0] + ((upper[0] - lower[0]) / numXEdges) * vx; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1422 … coords[2 * (vy * numXVertices + vx) + 1] = lower[1] + ((upper[1] - lower[1]) / numYEdges) * vy; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1427 const PetscInt c = ey * numXEdges + ex + numYVertices * numXVertices; in DMPlexCreateSquareMesh_Simplex_CrissCross()
1542 …const PetscInt numXVertices = rank == 0 ? (bdX == DM_BOUNDARY_PERIODIC || bdX == DM_BOUNDARY_TWIST… in DMPlexCreateCubeMesh_Internal() local
1549 const PetscInt numTotXFaces = numXVertices * numXFaces; in DMPlexCreateCubeMesh_Internal()
1554 const PetscInt numTotYEdges = numYEdges * numXVertices * numZVertices; in DMPlexCreateCubeMesh_Internal()
1555 const PetscInt numTotZEdges = numZEdges * numXVertices * numYVertices; in DMPlexCreateCubeMesh_Internal()
1556 const PetscInt numVertices = numXVertices * numYVertices * numZVertices; 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()
1610 for (fx = 0; fx < numXVertices; ++fx) { in DMPlexCreateCubeMesh_Internal()
1611 PetscInt face = firstXFace + (fz * numYEdges + fy) * numXVertices + fx; in DMPlexCreateCubeMesh_Internal()
1612 PetscInt edgeL = firstZEdge + (fy * numXVertices + fx) * numZEdges + fz; in DMPlexCreateCubeMesh_Internal()
1613 … PetscInt edgeR = firstZEdge + (((fy + 1) % numYVertices) * numXVertices + fx) * numZEdges + fz; 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()
1622 if (fx == numXVertices - 1) { in DMPlexCreateCubeMesh_Internal()
1645 PetscInt edgeL = firstZEdge + (fy * numXVertices + fx) * numZEdges + fz; in DMPlexCreateCubeMesh_Internal()
1646 … PetscInt edgeR = firstZEdge + (fy * numXVertices + ((fx + 1) % numXVertices)) * numZEdges + fz; 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()
1719 for (vx = 0; vx < numXVertices; vx++) { in DMPlexCreateCubeMesh_Internal()
1721 const PetscInt edge = firstZEdge + (vy * numXVertices + vx) * numZEdges + ez; in DMPlexCreateCubeMesh_Internal()
1722 const PetscInt vertexB = firstVertex + (ez * numYVertices + vy) * numXVertices + vx; in DMPlexCreateCubeMesh_Internal()
1723 …tscInt vertexT = firstVertex + (((ez + 1) % numZVertices) * numYVertices + vy) * numXVertices + vx; in DMPlexCreateCubeMesh_Internal()
1731 if (vx == numXVertices - 1) { in DMPlexCreateCubeMesh_Internal()
1758 for (vx = 0; vx < numXVertices; vx++) { in DMPlexCreateCubeMesh_Internal()
1760 …TWIST && ey == numYEdges - 1) ? (numXVertices - vx - 1) : (vz * numYVertices + ((ey + 1) % numYVer… 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()
1771 if (vx == numXVertices - 1) { in DMPlexCreateCubeMesh_Internal()
1791 if (vx == numXVertices - 1) { in DMPlexCreateCubeMesh_Internal()
1820 …es - 1) ? (numYVertices - vy - 1) * numXVertices : (vz * numYVertices + vy) * numXVertices + (ex +… in DMPlexCreateCubeMesh_Internal()
1822 const PetscInt vertexL = firstVertex + (vz * numYVertices + vy) * numXVertices + ex; in DMPlexCreateCubeMesh_Internal()
1897 for (vx = 0; vx < numXVertices; ++vx) { 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()