Lines Matching refs:lpStart

243   PetscInt        numFields, nroots, rpStart, rpEnd, lpStart = PETSC_INT_MAX, lpEnd = -1, f, c;  in PetscSFDistributeSection()  local
304 PetscCall(PetscSFGetLeafRange(embedSF, &lpStart, &lpEnd)); in PetscSFDistributeSection()
307 PetscCall(PetscSectionSetChart(leafSection, lpStart, lpEnd)); in PetscSFDistributeSection()
314 …n->atlasDof, -rpStart), PetscSafePointerPlusOffset(leafSection->atlasDof, -lpStart), MPI_REPLACE)); in PetscSFDistributeSection()
315 …n->atlasDof, -rpStart), PetscSafePointerPlusOffset(leafSection->atlasDof, -lpStart), MPI_REPLACE)); in PetscSFDistributeSection()
319 …PIU_INT, &rootSection->bc->atlasDof[-rpStart], &leafSection->bc->atlasDof[-lpStart], MPI_REPLACE)); in PetscSFDistributeSection()
320 …PIU_INT, &rootSection->bc->atlasDof[-rpStart], &leafSection->bc->atlasDof[-lpStart], MPI_REPLACE)); in PetscSFDistributeSection()
323 …f, -rpStart), PetscSafePointerPlusOffset(leafSection->field[f]->atlasDof, -lpStart), MPI_REPLACE)); in PetscSFDistributeSection()
324 …f, -rpStart), PetscSafePointerPlusOffset(leafSection->field[f]->atlasDof, -lpStart), MPI_REPLACE)); in PetscSFDistributeSection()
328 …n->field[f]->bc->atlasDof[-rpStart], &leafSection->field[f]->bc->atlasDof[-lpStart], MPI_REPLACE)); in PetscSFDistributeSection()
329 …n->field[f]->bc->atlasDof[-rpStart], &leafSection->field[f]->bc->atlasDof[-lpStart], MPI_REPLACE)); in PetscSFDistributeSection()
333 PetscCall(PetscMalloc1(lpEnd - lpStart, remoteOffsets)); in PetscSFDistributeSection()
334 …tSection->atlasOff, -rpStart), PetscSafePointerPlusOffset(*remoteOffsets, -lpStart), MPI_REPLACE)); in PetscSFDistributeSection()
335 …tSection->atlasOff, -rpStart), PetscSafePointerPlusOffset(*remoteOffsets, -lpStart), MPI_REPLACE)); in PetscSFDistributeSection()
343 PetscCall(PetscMalloc1(lpEnd - lpStart, &rOffBc)); in PetscSFDistributeSection()
345 …astBegin(embedSF, MPIU_INT, &rootSection->bc->atlasOff[-rpStart], &rOffBc[-lpStart], MPI_REPLACE)); in PetscSFDistributeSection()
346 …BcastEnd(embedSF, MPIU_INT, &rootSection->bc->atlasOff[-rpStart], &rOffBc[-lpStart], MPI_REPLACE)); in PetscSFDistributeSection()
354 …mbedSF, MPIU_INT, &rootSection->field[f]->bc->atlasOff[-rpStart], &rOffBc[-lpStart], MPI_REPLACE)); in PetscSFDistributeSection()
355 …mbedSF, MPIU_INT, &rootSection->field[f]->bc->atlasOff[-rpStart], &rOffBc[-lpStart], MPI_REPLACE)); in PetscSFDistributeSection()
398 PetscInt numRoots, rpStart = 0, rpEnd = 0, lpStart = 0, lpEnd = 0; in PetscSFCreateRemoteOffsets() local
410 PetscCall(PetscSectionGetChart(leafSection, &lpStart, &lpEnd)); in PetscSFCreateRemoteOffsets()
416 PetscCall(PetscCalloc1(lpEnd - lpStart, remoteOffsets)); in PetscSFCreateRemoteOffsets()
417 …tSection->atlasOff, -rpStart), PetscSafePointerPlusOffset(*remoteOffsets, -lpStart), MPI_REPLACE)); in PetscSFCreateRemoteOffsets()
418 …tSection->atlasOff, -rpStart), PetscSafePointerPlusOffset(*remoteOffsets, -lpStart), MPI_REPLACE)); in PetscSFCreateRemoteOffsets()
450 PetscInt lpStart, lpEnd; in PetscSFCreateSectionSF() local
464 PetscCall(PetscSectionGetChart(leafSection, &lpStart, &lpEnd)); in PetscSFCreateSectionSF()
473 if ((localPoint >= lpStart) && (localPoint < lpEnd)) { in PetscSFCreateSectionSF()
485 if ((localPoint >= lpStart) && (localPoint < lpEnd)) { in PetscSFCreateSectionSF()
486 PetscInt remoteOffset = remoteOffsets[localPoint - lpStart]; in PetscSFCreateSectionSF()