Lines Matching refs:rootSection
1912 PetscSection rootSection; in DMLabelDistribute_Internal() local
1921 PetscCall(PetscSectionCreate(comm, &rootSection)); in DMLabelDistribute_Internal()
1922 PetscCall(PetscSectionSetChart(rootSection, 0, nroots)); in DMLabelDistribute_Internal()
1928 …for (l = 0; l < label->stratumSizes[s]; l++) PetscCall(PetscSectionAddDof(rootSection, points[l], … in DMLabelDistribute_Internal()
1932 PetscCall(PetscSectionSetUp(rootSection)); in DMLabelDistribute_Internal()
1934 PetscCall(PetscSectionGetStorageSize(rootSection, &size)); in DMLabelDistribute_Internal()
1944 PetscCall(PetscSectionGetOffset(rootSection, p, &offset)); in DMLabelDistribute_Internal()
1952 PetscCall(PetscSFDistributeSection(sf, rootSection, &remoteOffsets, *leafSection)); in DMLabelDistribute_Internal()
1953 PetscCall(PetscSFCreateSectionSF(sf, rootSection, remoteOffsets, *leafSection, &labelSF)); in DMLabelDistribute_Internal()
1963 PetscCall(PetscSectionDestroy(&rootSection)); in DMLabelDistribute_Internal()
2105 PetscSection rootSection; in DMLabelGather() local
2157 PetscCall(DMLabelDistribute_Internal(label, sfLabel, &rootSection, &rootStrata)); in DMLabelGather()
2161 PetscCall(PetscSectionGetDof(rootSection, idx + d, &dof)); in DMLabelGather()
2162 PetscCall(PetscSectionGetOffset(rootSection, idx + d, &offset)); in DMLabelGather()
2169 PetscCall(PetscSectionDestroy(&rootSection)); in DMLabelGather()