Searched refs:numSubpoints (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexsubmesh.c | 1972 static PetscErrorCode GetSurfaceSide_Static(DM dm, DM subdm, PetscInt numSubpoints, const PetscInt … in GetSurfaceSide_Static() argument 1991 PetscCall(PetscFindInt(cell, numSubpoints, subpoints, &subpoint)); in GetSurfaceSide_Static() 1992 PetscCall(PetscFindInt(face, numSubpoints, subpoints, &subface)); in GetSurfaceSide_Static() 2156 … shift = 100, shift2 = 200, shift3 = split ? 300 : 0, dim, depth, numPoints, numSubpoints, p, val; in DMPlexLabelCohesiveComplete() local 2165 PetscCall(ISGetLocalSize(subpointIS, &numSubpoints)); in DMPlexLabelCohesiveComplete() 2197 … PetscCall(GetSurfaceSide_Static(dm, subdm, numSubpoints, subpoints, support[s], points[p], &pos)); in DMPlexLabelCohesiveComplete() 3713 …PetscInt numRoots, numLeaves, numSubpoints = 0, numSubroots, numSubleaves = 0, l, sl = 0… in DMPlexCreateSubmeshGeneric_Interpolated() local 3727 PetscCall(ISGetLocalSize(subpIS, &numSubpoints)); in DMPlexCreateSubmeshGeneric_Interpolated() 3728 …for (p = 1; p < numSubpoints; ++p) sorted = sorted && (subpoints[p] >= subpoints[p - 1]) ? PETSC_T… in DMPlexCreateSubmeshGeneric_Interpolated() 3730 PetscCall(PetscMalloc2(numSubpoints, &sortedPoints, numSubpoints, &sortedIndices)); in DMPlexCreateSubmeshGeneric_Interpolated() [all …]
|
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 2298 PetscInt numFields, f, c, numSubpoints = 0, pStart, pEnd, p, spStart, spEnd, subp; in PetscSectionCreateSubplexSection_Private() local 2322 PetscCall(ISGetLocalSize(subpointIS, &numSubpoints)); in PetscSectionCreateSubplexSection_Private() 2330 spEnd = numSubpoints; in PetscSectionCreateSubplexSection_Private() 2333 PetscCall(PetscMalloc2(numSubpoints, &spoints, numSubpoints, &order)); in PetscSectionCreateSubplexSection_Private() 2334 PetscCall(PetscArraycpy(spoints, points, numSubpoints)); in PetscSectionCreateSubplexSection_Private() 2335 for (PetscInt i = 0; i < numSubpoints; ++i) order[i] = i; in PetscSectionCreateSubplexSection_Private() 2336 PetscCall(PetscSortIntWithArray(numSubpoints, spoints, order)); in PetscSectionCreateSubplexSection_Private() 2346 PetscCall(PetscFindInt(p, numSubpoints, spoints ? spoints : points, &subp)); in PetscSectionCreateSubplexSection_Private() 2366 PetscCall(PetscFindInt(p, numSubpoints, spoints ? spoints : points, &subp)); in PetscSectionCreateSubplexSection_Private()
|