Searched refs:lpStart (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/vec/is/sf/utils/ftn-custom/ |
| H A D | zsfutilsf90.c | 31 PetscInt lpStart, lpEnd; in petscsfdistributesection_() local 35 *ierr = PetscSectionGetChart(*leafSection, &lpStart, &lpEnd); in petscsfdistributesection_() 37 …*ierr = F90Array1dCreate((void *)fa, MPIU_INT, 1, lpEnd - lpStart, ptr PETSC_F90_2PTR_PARAM(ptrd)); in petscsfdistributesection_() 44 PetscInt lpStart, lpEnd; in petscsfcreateremoteoffsets_() local 48 *ierr = PetscSectionGetChart(*leafSection, &lpStart, &lpEnd); in petscsfcreateremoteoffsets_() 50 …*ierr = F90Array1dCreate((void *)fa, MPIU_INT, 1, lpEnd - lpStart, ptr PETSC_F90_2PTR_PARAM(ptrd)); in petscsfcreateremoteoffsets_()
|
| /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 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() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexnatural.c | 237 PetscInt lpStart, lpEnd, rpStart, rpEnd; in DMPlexMigrateGlobalToNaturalSF() local 240 PetscCall(PetscSectionGetChart(newGlobalSection, &lpStart, &lpEnd)); in DMPlexMigrateGlobalToNaturalSF() 243 PetscCall(PetscMalloc1(lpEnd - lpStart, &remoteOffsets)); in DMPlexMigrateGlobalToNaturalSF() 244 …alSection->atlasOff, -rpStart), PetscSafePointerPlusOffset(remoteOffsets, -lpStart), MPI_REPLACE)); in DMPlexMigrateGlobalToNaturalSF() 245 …alSection->atlasOff, -rpStart), PetscSafePointerPlusOffset(remoteOffsets, -lpStart), MPI_REPLACE)); in DMPlexMigrateGlobalToNaturalSF() 251 PetscCall(PetscIntView(lpEnd - lpStart, remoteOffsets, viewer)); in DMPlexMigrateGlobalToNaturalSF()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | SF.pyx | 397 cdef PetscInt lpStart = 0 408 CHKERR(PetscSectionGetChart(leafSection.sec, &lpStart, &lpEnd)) 409 remoteOffsets = array_i(lpEnd-lpStart, cremoteOffsets)
|