Home
last modified time | relevance | path

Searched refs:startC (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h2165 PetscInt startF, endF, startC, endC, p, nLeaves; in DMPforestGetCellCoveringSF() local
2174 …MPforestComputeOverlappingRanks(p4estC->mpisize, p4estC->mpirank, p4estF, p4estC, &startC, &endC)); in DMPforestGetCellCoveringSF()
2175 PetscCall(PetscMalloc2(2 * (endC - startC), &recv, endC - startC, &recvReqs)); in DMPforestGetCellCoveringSF()
2177 for (p = startC; p < endC; p++) { in DMPforestGetCellCoveringSF()
2178 …recvReqs[p - startC] = MPI_REQUEST_NULL; /* just in case we… in DMPforestGetCellCoveringSF()
2180 recv[2 * (p - startC)] = 0; in DMPforestGetCellCoveringSF()
2181 recv[2 * (p - startC) + 1] = 0; in DMPforestGetCellCoveringSF()
2185 …PetscCallMPI(MPIU_Irecv(&recv[2 * (p - startC)], 2, MPIU_INT, p, tag, comm, &recvReqs[p - startC])… in DMPforestGetCellCoveringSF()
2238 PetscCallMPI(MPI_Waitall((PetscMPIInt)(endC - startC), recvReqs, MPI_STATUSES_IGNORE)); in DMPforestGetCellCoveringSF()
2240 PetscCall(PetscSectionSetChart(section, startC, endC)); in DMPforestGetCellCoveringSF()
[all …]
/petsc/src/dm/impls/plex/
H A Dplexfem.c3587 …PetscInt cTotDim, fTotDim = 0, Nf, f, field, cStart, cEnd, c, dim, d, startC, endC, offsetC, o… in DMPlexComputeInjectorFEM() local
3703 PetscCall(VecGetOwnershipRange(cv, &startC, &endC)); in DMPlexComputeInjectorFEM()
3712 if ((cellCIndices[d] < startC) || (cellCIndices[d] >= endC)) continue; in DMPlexComputeInjectorFEM()
3713startC] >= 0) || !(findices[cellCIndices[d] - startC] != cellFIndices[cmap[d]]), PETSC_COMM_SELF, … in DMPlexComputeInjectorFEM()
3714 cindices[cellCIndices[d] - startC] = cellCIndices[d]; in DMPlexComputeInjectorFEM()
3715 findices[cellCIndices[d] - startC] = cellFIndices[cmap[d]]; in DMPlexComputeInjectorFEM()