Lines Matching refs:firstVertex

1300     const PetscInt firstVertex  = numCells;  in DMPlexCreateSquareMesh_Simplex_CrissCross()  local
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()
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()
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()
1406 PetscCall(PetscSectionSetChart(coordSection, firstVertex, firstVertex + numVertices)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1407 for (v = firstVertex; v < firstVertex + numVertices; ++v) { in DMPlexCreateSquareMesh_Simplex_CrissCross()
1558 const PetscInt firstVertex = (dim == 2) ? numFaces : numCells; in DMPlexCreateCubeMesh_Internal() local
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()
1762 const PetscInt vertexF = firstVertex + (vz * numYVertices + ey) * numXVertices + vx; in DMPlexCreateCubeMesh_Internal()
1763 const PetscInt vertexK = firstVertex + nextv; in DMPlexCreateCubeMesh_Internal()
1822 const PetscInt vertexL = firstVertex + (vz * numYVertices + vy) * numXVertices + ex; in DMPlexCreateCubeMesh_Internal()
1823 const PetscInt vertexR = firstVertex + nextv; in DMPlexCreateCubeMesh_Internal()
1882 PetscCall(PetscSectionSetChart(coordSection, firstVertex, firstVertex + numVertices)); in DMPlexCreateCubeMesh_Internal()
1883 for (v = firstVertex; v < firstVertex + numVertices; ++v) { in DMPlexCreateCubeMesh_Internal()
3184 PetscInt numCells, numEdges, numVerts = 0, firstVertex = 0, v, firstEdge, coordSize, d, e; in DMPlexCreateSphereMesh_Internal() local
3234 firstVertex = numCells; in DMPlexCreateSphereMesh_Internal()
3275 cone[0] = firstVertex + i; in DMPlexCreateSphereMesh_Internal()
3276 cone[1] = firstVertex + j; in DMPlexCreateSphereMesh_Internal()
3277 cone[2] = firstVertex + k; in DMPlexCreateSphereMesh_Internal()
3333 firstVertex = numCells; in DMPlexCreateSphereMesh_Internal()
3516 firstVertex = numCells; in DMPlexCreateSphereMesh_Internal()
3585 cone[0] = firstVertex + i; in DMPlexCreateSphereMesh_Internal()
3586 cone[1] = firstVertex + j; in DMPlexCreateSphereMesh_Internal()
3587 cone[2] = firstVertex + k; in DMPlexCreateSphereMesh_Internal()
3588 cone[3] = firstVertex + l; in DMPlexCreateSphereMesh_Internal()
3638 PetscCall(PetscSectionSetChart(coordSection, firstVertex, firstVertex + numVerts)); in DMPlexCreateSphereMesh_Internal()
3639 for (v = firstVertex; v < firstVertex + numVerts; ++v) { in DMPlexCreateSphereMesh_Internal()
6632 PetscInt coordSize, firstVertex = -1, pStart = 0, pEnd = 0, p, v, dim, dimEmbed, d, off; in DMPlexCreateFromDAG() local
6642 if (firstVertex < 0 && !coneSize[p - pStart]) firstVertex = p - pStart; in DMPlexCreateFromDAG()
6644 …PetscCheck(firstVertex >= 0 || !numPoints[0], PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Expected %" P… in DMPlexCreateFromDAG()
6656 PetscCall(PetscSectionSetChart(coordSection, firstVertex, firstVertex + numPoints[0])); in DMPlexCreateFromDAG()
6657 for (v = firstVertex; v < firstVertex + numPoints[0]; ++v) { in DMPlexCreateFromDAG()
6673 PetscCall(PetscSectionGetOffset(coordSection, v + firstVertex, &off)); in DMPlexCreateFromDAG()