Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexdistribute.c1768 PetscSF sfDist; in DMPlexDistribute_Multistage() local
1775 PetscCall(DMPlexDistribute(dm, ovl, &sfDist, &dmDist)); in DMPlexDistribute_Multistage()
1777 PetscCheck(sfDist, comm, PETSC_ERR_PLIB, "No SF generated (stage %" PetscInt_FMT ")", l); in DMPlexDistribute_Multistage()
1786 PetscCall(PetscSFDistributeSection(sfDist, oldSection, NULL, newSection)); in DMPlexDistribute_Multistage()
1789 if (!sf) PetscCall(PetscSFDestroy(&sfDist)); in DMPlexDistribute_Multistage()
1793 PetscSF sfA = *sf, sfB = sfDist; in DMPlexDistribute_Multistage()
1794 PetscCall(PetscSFCompose(sfA, sfB, &sfDist)); in DMPlexDistribute_Multistage()
1799 if (sf) *sf = sfDist; in DMPlexDistribute_Multistage()
/petsc/doc/manual/
H A Ddmplex.md604 PetscSF sfDist, sf;
606 DMPlexDistribute(dm, overlap, &sfDist, &distributedDM);
612 PetscSFCompose(sfO, sfDist, &sf);
614 PetscSFDestroy(&sfDist);
618 so we need to name it "plexA" once again. `sfDist` is a `PetscSF`