Home
last modified time | relevance | path

Searched refs:clSection (Results 1 – 6 of 6) sorted by relevance

/petsc/include/petsc/private/
H A Dsectionimpl.h51 PetscSection clSection; /* Section giving the number of points in each closure */ member
/petsc/src/vec/is/section/interface/
H A Dsection.c61 (*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(&section->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 Dplexdistribute.c1725 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 Dplexpartition.c793 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 Dplex.c6612 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 Dplexfem.c714 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()