| /petsc/include/petsc/private/ |
| H A D | sectionimpl.h | 51 PetscSection clSection; /* Section giving the number of points in each closure */ member
|
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 61 (*s)->clSection = NULL; in PetscSectionCreate() 2795 PetscCall(PetscSectionDestroy(&s->clSection)); in PetscSectionReset() 2801 PetscCall(PetscSectionDestroy(&s->clSection)); in PetscSectionReset() 3179 …cSectionSetClosureIndex(PetscSection section, PetscObject obj, PetscSection clSection, IS clPoints) in PetscSectionSetClosureIndex() argument 3183 PetscValidHeaderSpecific(clSection, PETSC_SECTION_CLASSID, 3); in PetscSectionSetClosureIndex() 3187 PetscCall(PetscObjectReference((PetscObject)clSection)); in PetscSectionSetClosureIndex() 3189 PetscCall(PetscSectionDestroy(§ion->clSection)); in PetscSectionSetClosureIndex() 3191 section->clSection = clSection; in PetscSectionSetClosureIndex() 3213 …ectionGetClosureIndex(PetscSection section, PetscObject obj, PetscSection *clSection, IS *clPoints) in PetscSectionGetClosureIndex() argument 3217 if (clSection) *clSection = section->clSection; in PetscSectionGetClosureIndex() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexdistribute.c | 1725 PetscSection clSection; in DMPlexCreateClosureIndex_CELL() local 1733 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)dm), &clSection)); in DMPlexCreateClosureIndex_CELL() 1734 PetscCall(PetscSectionSetChart(clSection, pStart, pEnd)); in DMPlexCreateClosureIndex_CELL() 1737 PetscCall(PetscSectionSetDof(clSection, point, 2)); in DMPlexCreateClosureIndex_CELL() 1741 PetscCall(PetscSectionSetUp(clSection)); in DMPlexCreateClosureIndex_CELL() 1743 PetscCall(PetscSectionSetClosureIndex(section, (PetscObject)dm, clSection, clPoints)); in DMPlexCreateClosureIndex_CELL() 1744 PetscCall(PetscSectionDestroy(&clSection)); in DMPlexCreateClosureIndex_CELL()
|
| H A D | plexpartition.c | 793 PetscSection section = dm->localSection, clSection = NULL; in PetscPartitionerDMPlexPartition() local 801 PetscCall(PetscSectionGetClosureIndex(section, (PetscObject)dm, &clSection, NULL)); in PetscPartitionerDMPlexPartition() 802 if (!clSection) PetscCall(DMPlexCreateClosureIndex(dm, NULL)); in PetscPartitionerDMPlexPartition() 803 PetscCall(PetscSectionGetClosureIndex(section, (PetscObject)dm, &clSection, &clPoints)); in PetscPartitionerDMPlexPartition() 821 PetscCall(PetscSectionGetDof(clSection, p, &clSize)); in PetscPartitionerDMPlexPartition() 822 PetscCall(PetscSectionGetOffset(clSection, p, &clOff)); in PetscPartitionerDMPlexPartition()
|
| H A D | plex.c | 6612 PetscSection clSection; in DMPlexVecGetOrientedClosure() local 6630 …PetscCall(DMPlexGetCompressedClosure(dm, section, point, ornt, &numPoints, &points, &clSection, &c… in DMPlexVecGetOrientedClosure() 6656 …PetscCall(DMPlexRestoreCompressedClosure(dm, section, point, &numPoints, &points, &clSection, &clP… in DMPlexVecGetOrientedClosure() 6791 PetscSection clSection; in DMPlexVecGetClosureAtDepth() local 6812 …PetscCall(DMPlexGetCompressedClosure(dm, section, point, 0, &numPoints, &points, &clSection, &clPo… in DMPlexVecGetClosureAtDepth() 6838 …PetscCall(DMPlexRestoreCompressedClosure(dm, section, point, &numPoints, &points, &clSection, &clP… in DMPlexVecGetClosureAtDepth() 6851 …PetscCall(DMPlexRestoreCompressedClosure(dm, section, point, &numPoints, &points, &clSection, &clP… in DMPlexVecGetClosureAtDepth() 7296 PetscSection clSection; in DMPlexVecSetClosure() local 7315 …PetscCall(DMPlexGetCompressedClosure(dm, section, point, 0, &numPoints, &points, &clSection, &clPo… in DMPlexVecSetClosure() 7453 …PetscCall(DMPlexRestoreCompressedClosure(dm, section, point, &numPoints, &points, &clSection, &clP… in DMPlexVecSetClosure() [all …]
|
| H A D | plexfem.c | 714 PetscSection clSection; in DMPlexBasisTransformPoint_Internal() local 723 PetscCall(DMPlexGetCompressedClosure(dm, s, p, 0, &Np, &points, &clSection, &clPoints, &clp)); in DMPlexBasisTransformPoint_Internal() 732 PetscCall(DMPlexRestoreCompressedClosure(dm, s, p, &Np, &points, &clSection, &clPoints, &clp)); in DMPlexBasisTransformPoint_Internal() 739 PetscSection clSection; in DMPlexBasisTransformPointTensor_Internal() local 748 PetscCall(DMPlexGetCompressedClosure(dm, s, p, 0, &Np, &points, &clSection, &clPoints, &clp)); in DMPlexBasisTransformPointTensor_Internal() 764 PetscCall(DMPlexRestoreCompressedClosure(dm, s, p, &Np, &points, &clSection, &clPoints, &clp)); in DMPlexBasisTransformPointTensor_Internal()
|