Searched refs:lastCell (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexreorder.c | 155 PetscInt dim, pStart, pEnd, cStart, cEnd, c, vStart, vEnd, v, suppSize, lastCell = 0; in DMPlexGetOrdering1D() local 170 lastCell = support[0]; in DMPlexGetOrdering1D() 178 while (lastCell >= cStart) { in DMPlexGetOrdering1D() 179 PetscCall(DMPlexGetCone(dm, lastCell, &cone)); in DMPlexGetOrdering1D() 185 lastCell = -1; in DMPlexGetOrdering1D() 187 if (support[0] == lastCell) lastCell = support[1]; in DMPlexGetOrdering1D() 188 else lastCell = support[0]; in DMPlexGetOrdering1D()
|
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 2195 PetscInt firstCell = -1, lastCell = -1; in DMPforestGetCellCoveringSF() local 2217 lastCell = p4estC->local_num_quadrants; in DMPforestGetCellCoveringSF() 2226 lastCell = (PetscInt)(treeEnd->quadrants_offset + overlapIndex); in DMPforestGetCellCoveringSF() 2228 lastCell = (PetscInt)(treeEnd->quadrants_offset + overlapIndex + 1); in DMPforestGetCellCoveringSF() 2232 lastCell = p4estC->local_num_quadrants; in DMPforestGetCellCoveringSF() 2235 send[2 * (p - startF) + 1] = lastCell - firstCell; in DMPforestGetCellCoveringSF()
|