Home
last modified time | relevance | path

Searched refs:fpoints (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexrefine.c84 PetscInt *fpoints; in DMPlexCreateCoarsePointIS() local
92 PetscCall(PetscMalloc1(pEnd - pStart, &fpoints)); in DMPlexCreateCoarsePointIS()
93 for (p = 0; p < pEnd - pStart; ++p) fpoints[p] = -1; in DMPlexCreateCoarsePointIS()
98 fpoints[v - pStart] = vNew; in DMPlexCreateCoarsePointIS()
101 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, pEnd - pStart, fpoints, PETSC_OWN_POINTER, fpointIS)); in DMPlexCreateCoarsePointIS()
H A Dplex.c8558 PetscInt *fpoints = NULL, *ftotpoints = NULL; in DMPlexMatSetClosureRefined() local
8625 …cCall(DMPlexGetTransitiveClosure(dmf, point * numSubcells + r, PETSC_TRUE, &numFPoints, &fpoints)); in DMPlexMatSetClosureRefined()
8629 if ((fpoints[p] >= pStart) && (fpoints[p] < pEnd)) { in DMPlexMatSetClosureRefined()
8630 PetscCall(PetscSectionGetDof(fsection, fpoints[p], &dof)); in DMPlexMatSetClosureRefined()
8633 if (fpoints[p] == ftotpoints[s * 2]) break; in DMPlexMatSetClosureRefined()
8635 ftotpoints[q * 2] = fpoints[p]; in DMPlexMatSetClosureRefined()
8636 ftotpoints[q * 2 + 1] = fpoints[p + 1]; in DMPlexMatSetClosureRefined()
8640 PetscCall(DMPlexRestoreTransitiveClosure(dmf, point, PETSC_TRUE, &numFPoints, &fpoints)); in DMPlexMatSetClosureRefined()
8723 PetscInt *fpoints = NULL, *ftotpoints = NULL; in DMPlexMatGetClosureIndicesRefined() local
8785 …cCall(DMPlexGetTransitiveClosure(dmf, point * numSubcells + r, PETSC_TRUE, &numFPoints, &fpoints)); in DMPlexMatGetClosureIndicesRefined()
[all …]