Home
last modified time | relevance | path

Searched refs:point_sf (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/impls/plex/tests/
H A Dex50.c10 PetscSF point_sf; in main() local
25 PetscCall(DMGetPointSF(dm, &point_sf)); in main()
26 PetscCall(PetscSFViewFromOptions(point_sf, NULL, "-point_sf_view")); in main()
/petsc/src/dm/impls/plex/
H A Dplexsfc.c867 PetscSF point_sf; in DMPlexCreateIsoperiodicPointSF_Private() local
875 PetscCall(DMGetPointSF(dm, &point_sf)); // Point SF has remote points in DMPlexCreateIsoperiodicPointSF_Private()
907 PetscCall(PetscSFGetGraph(point_sf, NULL, &npoints, &pilocal, &piremote)); in DMPlexCreateIsoperiodicPointSF_Private()
981 PetscCall(PetscSFGetGraph(point_sf, NULL, &npoints, NULL, NULL)); in DMPlexCreateIsoperiodicPointSF_Private()
985 PetscCall(PetscSFMerge(point_sf, csf, closure_sf)); in DMPlexCreateIsoperiodicPointSF_Private()
988 …if (f > 0) PetscCall(PetscSFDestroy(&point_sf)); // Only destroy if point_sf is from previous call… in DMPlexCreateIsoperiodicPointSF_Private()
989point_sf = *closure_sf; // Use combined point + isoperiodic SF to define … in DMPlexCreateIsoperiodicPointSF_Private()
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c1938 PetscSF point_sf; in DMPlexCreateNodeNumbering() local
1954 PetscCall(DMGetPointSF(dm, &point_sf)); in DMPlexCreateNodeNumbering()
1956 else PetscCall(PetscSFGetGraph(point_sf, NULL, &nleaves, &ilocal, NULL)); in DMPlexCreateNodeNumbering()
1988 PetscCall(PetscSFBcastBegin(point_sf, MPIU_INT, points, points, MPI_REPLACE)); in DMPlexCreateNodeNumbering()
1989 PetscCall(PetscSFBcastEnd(point_sf, MPIU_INT, points, points, MPI_REPLACE)); in DMPlexCreateNodeNumbering()