Searched refs:rpEnd (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/vec/is/sf/utils/ |
| H A D | sfutils.c | 243 PetscInt numFields, nroots, rpStart, rpEnd, lpStart = PETSC_INT_MAX, lpEnd = -1, f, c; in PetscSFDistributeSection() local 287 PetscCall(PetscSectionGetChart(rootSection, &rpStart, &rpEnd)); in PetscSFDistributeSection() 289 rpEnd = PetscMin(rpEnd, nroots); in PetscSFDistributeSection() 290 rpEnd = PetscMax(rpStart, rpEnd); in PetscSFDistributeSection() 292 sub[0] = (PetscBool)(nroots != rpEnd - rpStart); in PetscSFDistributeSection() 295 PetscCall(ISCreateStride(PETSC_COMM_SELF, rpEnd - rpStart, rpStart, 1, &selected)); in PetscSFDistributeSection() 297 PetscCall(PetscSFCreateEmbeddedRootSF(sf, rpEnd - rpStart, indices, &embedSF)); in PetscSFDistributeSection() 398 PetscInt numRoots, rpStart = 0, rpEnd = 0, lpStart = 0, lpEnd = 0; in PetscSFCreateRemoteOffsets() local 409 PetscCall(PetscSectionGetChart(rootSection, &rpStart, &rpEnd)); in PetscSFCreateRemoteOffsets() 411 PetscCall(ISCreateStride(PETSC_COMM_SELF, rpEnd - rpStart, rpStart, 1, &selected)); in PetscSFCreateRemoteOffsets() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexnatural.c | 237 PetscInt lpStart, lpEnd, rpStart, rpEnd; in DMPlexMigrateGlobalToNaturalSF() local 239 PetscCall(PetscSectionGetChart(oldGlobalSection, &rpStart, &rpEnd)); in DMPlexMigrateGlobalToNaturalSF()
|