Lines Matching refs:rpStart
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()
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()
314 …in(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasDof, -rpStart), PetscSafePointe… in PetscSFDistributeSection()
315 …nd(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasDof, -rpStart), PetscSafePointe… in PetscSFDistributeSection()
319 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, &rootSection->bc->atlasDof[-rpStart], &leafSection-… in PetscSFDistributeSection()
320 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->bc->atlasDof[-rpStart], &leafSection->b… in PetscSFDistributeSection()
323 …, MPIU_INT, PetscSafePointerPlusOffset(rootSection->field[f]->atlasDof, -rpStart), PetscSafePointe… in PetscSFDistributeSection()
324 …, MPIU_INT, PetscSafePointerPlusOffset(rootSection->field[f]->atlasDof, -rpStart), PetscSafePointe… in PetscSFDistributeSection()
328 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasDof[-rpStart], &le… in PetscSFDistributeSection()
329 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasDof[-rpStart], &leaf… in PetscSFDistributeSection()
334 …in(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasOff, -rpStart), PetscSafePointe… in PetscSFDistributeSection()
335 …nd(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasOff, -rpStart), PetscSafePointe… in PetscSFDistributeSection()
345 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, &rootSection->bc->atlasOff[-rpStart], &rOffBc[-lpSt… in PetscSFDistributeSection()
346 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->bc->atlasOff[-rpStart], &rOffBc[-lpStar… in PetscSFDistributeSection()
354 …tscSFBcastBegin(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasOff[-rpStart], &rOffBc[-lpStar… in PetscSFDistributeSection()
355 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasOff[-rpStart], &rOff… 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()
413 PetscCall(PetscSFCreateEmbeddedRootSF(sf, rpEnd - rpStart, indices, &embedSF)); in PetscSFCreateRemoteOffsets()
417 …in(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasOff, -rpStart), PetscSafePointe… in PetscSFCreateRemoteOffsets()
418 …nd(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasOff, -rpStart), PetscSafePointe… in PetscSFCreateRemoteOffsets()