Searched refs:sfMigration (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexnatural.c | 25 PetscCall(PetscSFDestroy(&dm->sfMigration)); in DMPlexSetMigrationSF() 26 dm->sfMigration = migrationSF; in DMPlexSetMigrationSF() 48 *migrationSF = dm->sfMigration; in DMPlexGetMigrationSF() 70 PetscErrorCode DMPlexCreateGlobalToNaturalSF(DM dm, PetscSection section, PetscSF sfMigration, Pets… in DMPlexCreateGlobalToNaturalSF() argument 81 if (!sfMigration) { in DMPlexCreateGlobalToNaturalSF() 91 PetscCall(PetscSFCreateInverseSF(sfMigration, &sfMigrationInv)); in DMPlexCreateGlobalToNaturalSF() 97 if (debug) PetscCall(PetscSFView(sfMigration, NULL)); in DMPlexCreateGlobalToNaturalSF() 100 PetscCall(PetscSFDistributeSection(sfMigration, section, &remoteOffsets, sectionDist)); in DMPlexCreateGlobalToNaturalSF() 115 PetscCall(PetscSFGetGraph(sfMigration, NULL, &Nl, &leaves, NULL)); in DMPlexCreateGlobalToNaturalSF() 141 PetscCall(PetscSFCreateEmbeddedLeafSF(sfMigration, ssize, spoints, &sfEmbed)); in DMPlexCreateGlobalToNaturalSF() [all …]
|
| H A D | plexdistribute.c | 1694 PetscErrorCode DMPlexRemapMigrationSF(PetscSF sfOverlap, PetscSF sfMigration, PetscSF *sfMigrationN… in DMPlexRemapMigrationSF() argument 1702 PetscCall(PetscSFGetGraph(sfMigration, &nroots, &noldleaves, &oldLeaves, &oldRemote)); in DMPlexRemapMigrationSF() 1839 PetscSF sfMigration, sfStratified, sfPoint; in DMPlexDistribute() local 1913 PetscCall(DMPlexPartitionLabelCreateSF(dm, lblMigration, PETSC_TRUE, &sfMigration)); in DMPlexDistribute() 1914 PetscCall(DMPlexStratifyMigrationSF(dm, sfMigration, &sfStratified)); in DMPlexDistribute() 1915 PetscCall(PetscSFDestroy(&sfMigration)); in DMPlexDistribute() 1916 sfMigration = sfStratified; in DMPlexDistribute() 1917 PetscCall(PetscSFSetUp(sfMigration)); in DMPlexDistribute() 1922 PetscCall(PetscSFView(sfMigration, PETSC_VIEWER_STDOUT_(comm))); in DMPlexDistribute() 1928 PetscCall(DMPlexMigrate(dm, sfMigration, *dmParallel)); in DMPlexDistribute() [all …]
|
| H A D | plex.c | 4335 if (dm->useNatural && dm->sfMigration) { in DMCreateSubDM_Plex() 4338 (*subdm)->sfMigration = dm->sfMigration; in DMCreateSubDM_Plex() 4339 PetscCall(PetscObjectReference((PetscObject)dm->sfMigration)); in DMCreateSubDM_Plex() 4340 PetscCall(DMPlexCreateGlobalToNaturalSF(*subdm, NULL, (*subdm)->sfMigration, &sfNatural)); in DMCreateSubDM_Plex() 4355 if (dms[i]->useNatural && dms[i]->sfMigration) { in DMCreateSuperDM_Plex() 4358 (*superdm)->sfMigration = dms[i]->sfMigration; in DMCreateSuperDM_Plex() 4359 PetscCall(PetscObjectReference((PetscObject)dms[i]->sfMigration)); in DMCreateSuperDM_Plex() 4361 PetscCall(DMPlexCreateGlobalToNaturalSF(*superdm, NULL, (*superdm)->sfMigration, &sfNatural)); in DMCreateSuperDM_Plex()
|
| H A D | plexcreate.c | 5326 PetscSF sfMigration; in DMSetFromOptions_Plex() local 5334 PetscCall(DMPlexDistribute(dm, overlap, &sfMigration, &pdm)); in DMSetFromOptions_Plex() 5340 if (saveSF) PetscCall(DMPlexSetMigrationSF(dm, sfMigration)); in DMSetFromOptions_Plex() 5341 PetscCall(PetscSFDestroy(&sfMigration)); in DMSetFromOptions_Plex()
|
| /petsc/include/petsc/private/ |
| H A D | dmimpl.h | 268 PetscSF sfMigration; /* SF for point distribution created during distribution */ member
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMPlex.pyx | 3606 def createGlobalToNaturalSF(self, Section section, SF sfMigration) -> SF: argument 3617 CHKERR(DMPlexCreateGlobalToNaturalSF(self.dm, section.sec, sfMigration.sf, &sf.sf)) 3620 def migrateGlobalToNaturalSF(self, DM dmOld, SF sfNaturalOld, SF sfMigration) -> SF: argument 3631 … CHKERR(DMPlexMigrateGlobalToNaturalSF(dmOld.dm, self.dm, sfNaturalOld.sf, sfMigration.sf, &sf.sf))
|
| /petsc/src/dm/interface/ |
| H A D | dm.c | 747 PetscCall(PetscObjectDereference((PetscObject)(*dm)->sfMigration)); in DMDestroy()
|