Lines Matching refs:parentSection

211 PetscErrorCode DMPlexCreateReferenceTree_SetTree(DM dm, PetscSection parentSection, PetscInt parent…  in DMPlexCreateReferenceTree_SetTree()  argument
214 PetscCall(DMPlexSetTree_Internal(dm, parentSection, parents, childIDs, PETSC_TRUE, PETSC_FALSE)); in DMPlexCreateReferenceTree_SetTree()
224 PetscSection unionSection, unionConeSection, parentSection; in DMPlexCreateReferenceTree_Union() local
384 PetscCall(PetscSectionCreate(comm, &parentSection)); in DMPlexCreateReferenceTree_Union()
385 PetscCall(PetscSectionSetChart(parentSection, 0, numUnionPoints)); in DMPlexCreateReferenceTree_Union()
391 if (uDof) PetscCall(PetscSectionSetDof(parentSection, uOff, 1)); in DMPlexCreateReferenceTree_Union()
393 PetscCall(PetscSectionSetUp(parentSection)); in DMPlexCreateReferenceTree_Union()
394 PetscCall(PetscSectionGetStorageSize(parentSection, &parentSize)); in DMPlexCreateReferenceTree_Union()
403 PetscCall(PetscSectionGetOffset(parentSection, uOff, &pOff)); in DMPlexCreateReferenceTree_Union()
410 PetscCall(DMPlexCreateReferenceTree_SetTree(*ref, parentSection, parents, childIDs)); in DMPlexCreateReferenceTree_Union()
411 PetscCall(PetscSectionDestroy(&parentSection)); in DMPlexCreateReferenceTree_Union()
482 pSec = mesh->parentSection; in DMPlexTreeSymmetrize()
895 static PetscErrorCode DMPlexSetTree_Internal(DM dm, PetscSection parentSection, PetscInt *parents, … in DMPlexSetTree_Internal() argument
903 PetscValidHeaderSpecific(parentSection, PETSC_SECTION_CLASSID, 2); in DMPlexSetTree_Internal()
904 PetscCall(PetscObjectReference((PetscObject)parentSection)); in DMPlexSetTree_Internal()
905 PetscCall(PetscSectionDestroy(&mesh->parentSection)); in DMPlexSetTree_Internal()
906 mesh->parentSection = parentSection; in DMPlexSetTree_Internal()
907 PetscCall(PetscSectionGetStorageSize(parentSection, &size)); in DMPlexSetTree_Internal()
995 PetscErrorCode DMPlexSetTree(DM dm, PetscSection parentSection, PetscInt parents[], PetscInt childI… in DMPlexSetTree() argument
998 PetscCall(DMPlexSetTree_Internal(dm, parentSection, parents, childIDs, PETSC_FALSE, PETSC_TRUE)); in DMPlexSetTree()
1022 PetscErrorCode DMPlexGetTree(DM dm, PetscSection *parentSection, PetscInt *parents[], PetscInt *chi… in DMPlexGetTree() argument
1028 if (parentSection) *parentSection = mesh->parentSection; in DMPlexGetTree()
1059 pSec = mesh->parentSection; in DMPlexGetTreeParent()
1771 PetscSection parentSection; in DMPlexTreeRefineCell() local
1780 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)dm), &parentSection)); in DMPlexTreeRefineCell()
1864 PetscCall(PetscSectionSetChart(parentSection, 0, pNewEnd[dim])); in DMPlexTreeRefineCell()
1891 if (kParent != 0) PetscCall(PetscSectionSetDof(parentSection, Kembedding[k], 1)); in DMPlexTreeRefineCell()
1896 PetscCall(PetscSectionSetUp(parentSection)); in DMPlexTreeRefineCell()
1897 PetscCall(PetscSectionGetStorageSize(parentSection, &numPointsWithParents)); in DMPlexTreeRefineCell()
1950 PetscCall(PetscSectionGetOffset(parentSection, Kembedding[k], &pOffset)); in DMPlexTreeRefineCell()
2024 PetscCall(DMPlexSetTree(*ncdm, parentSection, parents, childIDs)); in DMPlexTreeRefineCell()
2053 PetscCall(PetscSectionSetChart(parentSection, pStart, pEnd)); in DMPlexTreeRefineCell()
2054 PetscCall(PetscSectionSetUp(parentSection)); in DMPlexTreeRefineCell()
2057 PetscCall(DMPlexSetTree(*ncdm, parentSection, NULL, NULL)); in DMPlexTreeRefineCell()
2060 PetscCall(PetscSectionDestroy(&parentSection)); in DMPlexTreeRefineCell()