Searched refs:atlasOff (Results 1 – 9 of 9) sorted by relevance
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 50 (*s)->atlasOff = NULL; in PetscSectionCreate() 678 PetscCall(PetscFree2(s->atlasDof, s->atlasOff)); in PetscSectionSetChart() 682 PetscCall(PetscMalloc2(pEnd - pStart, &s->atlasDof, pEnd - pStart, &s->atlasOff)); in PetscSectionSetChart() 1274 …if (last >= 0) PetscCall(PetscMalloc1(s->bc->atlasOff[last] + s->bc->atlasDof[last], &s->bcIndices… in PetscSectionSetUpBC() 1317 PetscCall(PetscIntCast(offset, &s->atlasOff[q])); in PetscSectionSetUp() 1320 for (f = 0, foff = s->atlasOff[q]; f < s->numFields; ++f) { in PetscSectionSetUp() 1323 PetscCall(PetscIntCast(foff, &sf->atlasOff[q])); in PetscSectionSetUp() 1335 PetscCall(PetscIntCast(offset, &sf->atlasOff[q])); in PetscSectionSetUp() 1340 for (PetscInt p = 0; p < s->pEnd - s->pStart; ++p) s->atlasOff[p] = -1; in PetscSectionSetUp() 1517 …if (gs->bcIndices) PetscCall(PetscArraycpy(gs->bcIndices, s->bcIndices, gs->bc->atlasOff[gs->bc->p… in PetscSectionCreateGlobalSection() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | dmimpl.h | 441 *start = s->atlasOff[point - s->pStart]; in DMGetLocalOffset_Private() 463 *start = s->atlasOff[point - s->pStart]; in DMGetLocalFieldOffset_Private() 489 *start = s->atlasOff[point - s->pStart]; in DMGetGlobalOffset_Private() 522 const PetscInt loff = s->atlasOff[point - s->pStart]; in DMGetGlobalFieldOffset_Private() 523 const PetscInt goff = gs->atlasOff[point - s->pStart]; in DMGetGlobalFieldOffset_Private() 524 const PetscInt lfoff = fs->atlasOff[point - s->pStart]; in DMGetGlobalFieldOffset_Private()
|
| H A D | sectionimpl.h | 36 PetscInt *atlasOff; /* Describes layout of storage, point --> offset into storage */ member
|
| /petsc/src/vec/is/sf/utils/ |
| H A D | sfutils.c | 334 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasOff, -… in PetscSFDistributeSection() 335 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasOff, -rp… 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 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasOff[-rpStart], &rO… in PetscSFDistributeSection() 355 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasOff[-rpStart], &rOff… in PetscSFDistributeSection() 417 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasOff, -… in PetscSFCreateRemoteOffsets() 418 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, PetscSafePointerPlusOffset(rootSection->atlasOff, -rp… in PetscSFCreateRemoteOffsets()
|
| /petsc/src/vec/vec/utils/ |
| H A D | vsection.c | 81 *values = &baseArray[s->atlasOff[p]]; in VecGetValuesSection() 117 array = &baseArray[s->atlasOff[p]]; in VecSetValuesSection()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexnatural.c | 244 …gin(sfMigration, MPIU_INT, PetscSafePointerPlusOffset(oldGlobalSection->atlasOff, -rpStart), Petsc… in DMPlexMigrateGlobalToNaturalSF() 245 …End(sfMigration, MPIU_INT, PetscSafePointerPlusOffset(oldGlobalSection->atlasOff, -rpStart), Petsc… in DMPlexMigrateGlobalToNaturalSF()
|
| H A D | plex.c | 3985 const PetscInt off = s->atlasOff[ps]; in DMPlexGetTransitiveClosure_Hot_Private() 3993 const PetscInt off = s->atlasOff[ps]; in DMPlexGetTransitiveClosure_Hot_Private()
|
| /petsc/src/dm/label/ |
| H A D | dmlabel.c | 2639 (*gsection)->atlasOff[p] = off; in PetscSectionCreateGlobalSectionLabel() 2645 (*gsection)->atlasOff[p] += globalOff; in PetscSectionCreateGlobalSectionLabel() 2646 if (neg) neg[p] = -((*gsection)->atlasOff[p] + 1); in PetscSectionCreateGlobalSectionLabel() 2654 if (tmpOff[p] < 0) (*gsection)->atlasOff[p - pStart] = tmpOff[p]; in PetscSectionCreateGlobalSectionLabel()
|
| /petsc/doc/manual/ |
| H A D | dmplex.md | 485 dataset /topologies/plexA/dms/dmA/section/atlasOff
|