| /petsc/src/dm/impls/plex/ |
| H A D | plexindices.c | 23 PetscInt *clPoints; in DMPlexCreateClosureIndex() local 49 PetscCall(PetscMalloc1(clSize, &clPoints)); in DMPlexCreateClosureIndex() 60 clPoints[cloff + q * 2] = points[p]; in DMPlexCreateClosureIndex() 61 clPoints[cloff + q * 2 + 1] = points[p + 1]; in DMPlexCreateClosureIndex() 69 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, clSize, clPoints, PETSC_OWN_POINTER, &closureIS)); in DMPlexCreateClosureIndex()
|
| H A D | plex.c | 6438 … ornt, PetscInt *numPoints, PetscInt **points, PetscSection *clSec, IS *clPoints, const PetscInt *… in DMPlexGetCompressedClosure() argument 6444 PetscCall(PetscSectionGetClosureIndex(section, (PetscObject)dm, clSec, clPoints)); in DMPlexGetCompressedClosure() 6445 if (!ornt && *clPoints) { in DMPlexGetCompressedClosure() 6450 PetscCall(ISGetIndices(*clPoints, &cla)); in DMPlexGetCompressedClosure() 6463 …point, PetscInt *numPoints, PetscInt **points, PetscSection *clSec, IS *clPoints, const PetscInt *… in DMPlexRestoreCompressedClosure() argument 6466 if (!*clPoints) { in DMPlexRestoreCompressedClosure() 6469 PetscCall(ISRestoreIndices(*clPoints, clp)); in DMPlexRestoreCompressedClosure() 6474 *clPoints = NULL; in DMPlexRestoreCompressedClosure() 6613 IS clPoints; in DMPlexVecGetOrientedClosure() local 6630 …xGetCompressedClosure(dm, section, point, ornt, &numPoints, &points, &clSection, &clPoints, &clp)); in DMPlexVecGetOrientedClosure() [all …]
|
| H A D | plexpartition.c | 794 IS clPoints = NULL; in PetscPartitionerDMPlexPartition() local 803 PetscCall(PetscSectionGetClosureIndex(section, (PetscObject)dm, &clSection, &clPoints)); in PetscPartitionerDMPlexPartition() 804 PetscCall(ISGetIndices(clPoints, &clIdx)); in PetscPartitionerDMPlexPartition() 835 if (clPoints) PetscCall(ISRestoreIndices(clPoints, &clIdx)); in PetscPartitionerDMPlexPartition()
|
| H A D | plexdistribute.c | 1726 IS clPoints; in DMPlexCreateClosureIndex_CELL() local 1742 …Call(ISCreateGeneral(PETSC_COMM_SELF, 2 * (pEnd - pStart), closure, PETSC_OWN_POINTER, &clPoints)); in DMPlexCreateClosureIndex_CELL() 1743 PetscCall(PetscSectionSetClosureIndex(section, (PetscObject)dm, clSection, clPoints)); in DMPlexCreateClosureIndex_CELL() 1745 PetscCall(ISDestroy(&clPoints)); in DMPlexCreateClosureIndex_CELL()
|
| H A D | plexfem.c | 715 IS clPoints; 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() 740 IS clPoints; 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()
|
| /petsc/include/petsc/private/ |
| H A D | sectionimpl.h | 52 IS clPoints; /* Points in each closure */ member
|
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 62 (*s)->clPoints = NULL; in PetscSectionCreate() 2796 PetscCall(ISDestroy(&s->clPoints)); in PetscSectionReset() 2802 PetscCall(ISDestroy(&s->clPoints)); in PetscSectionReset() 3179 …cSectionSetClosureIndex(PetscSection section, PetscObject obj, PetscSection clSection, IS clPoints) in PetscSectionSetClosureIndex() argument 3184 PetscValidHeaderSpecific(clPoints, IS_CLASSID, 4); in PetscSectionSetClosureIndex() 3188 PetscCall(PetscObjectReference((PetscObject)clPoints)); in PetscSectionSetClosureIndex() 3190 PetscCall(ISDestroy(§ion->clPoints)); in PetscSectionSetClosureIndex() 3192 section->clPoints = clPoints; in PetscSectionSetClosureIndex() 3213 …ectionGetClosureIndex(PetscSection section, PetscObject obj, PetscSection *clSection, IS *clPoints) in PetscSectionGetClosureIndex() argument 3218 if (clPoints) *clPoints = section->clPoints; in PetscSectionGetClosureIndex() [all …]
|