Lines Matching refs:migrationSF
773 PetscErrorCode DMPlexCreateOverlapMigrationSF(DM dm, PetscSF overlapSF, PetscSF *migrationSF) in DMPlexCreateOverlapMigrationSF() argument
857 PetscCall(PetscSFCreate(comm, migrationSF)); in DMPlexCreateOverlapMigrationSF()
858 PetscCall(PetscObjectSetName((PetscObject)*migrationSF, "Overlap Migration SF")); in DMPlexCreateOverlapMigrationSF()
859 PetscCall(PetscSFSetFromOptions(*migrationSF)); in DMPlexCreateOverlapMigrationSF()
861 …PetscCall(PetscSFSetGraph(*migrationSF, pEnd - pStart, newLeaves, ilocal, PETSC_OWN_POINTER, iremo… in DMPlexCreateOverlapMigrationSF()
884 PetscErrorCode DMPlexStratifyMigrationSF(DM dm, PetscSF sf, PetscSF *migrationSF) in DMPlexStratifyMigrationSF() argument
977 PetscCall(PetscSFCreate(comm, migrationSF)); in DMPlexStratifyMigrationSF()
978 PetscCall(PetscObjectSetName((PetscObject)*migrationSF, "Migration SF")); in DMPlexStratifyMigrationSF()
979 …PetscCall(PetscSFSetGraph(*migrationSF, nroots, nleaves, ilocal, PETSC_OWN_POINTER, (PetscSFNode *… in DMPlexStratifyMigrationSF()
1100 static PetscErrorCode DMPlexDistributeCones(DM dm, PetscSF migrationSF, ISLocalToGlobalMapping orig… in DMPlexDistributeCones() argument
1117 …PetscCall(PetscSFDistributeSection(migrationSF, originalConeSection, &remoteOffsets, newConeSectio… in DMPlexDistributeCones()
1120 …PetscCall(PetscSFCreateSectionSF(migrationSF, originalConeSection, remoteOffsets, newConeSection, … in DMPlexDistributeCones()
1183 static PetscErrorCode DMPlexDistributeCoordinates(DM dm, PetscSF migrationSF, DM dmParallel) in DMPlexDistributeCoordinates() argument
1209 …PetscCall(DMPlexDistributeField(dm, migrationSF, originalCoordSection, originalCoordinates, newCoo… in DMPlexDistributeCoordinates()
1233 …PetscCall(DMPlexDistributeField(dm, migrationSF, originalCoordSection, originalCoordinates, newCoo… in DMPlexDistributeCoordinates()
1245 static PetscErrorCode DMPlexDistributeLabels(DM dm, PetscSF migrationSF, DM dmParallel) in DMPlexDistributeLabels() argument
1293 PetscCall(DMLabelDistribute(label, migrationSF, &labelNew)); in DMPlexDistributeLabels()
1326 static PetscErrorCode DMPlexDistributeSetupTree(DM dm, PetscSF migrationSF, ISLocalToGlobalMapping … in DMPlexDistributeSetupTree() argument
1354 …PetscCall(PetscSFDistributeSection(migrationSF, origParentSection, &remoteOffsetsParents, newParen… in DMPlexDistributeSetupTree()
1355 …PetscCall(PetscSFCreateSectionSF(migrationSF, origParentSection, remoteOffsetsParents, newParentSe… in DMPlexDistributeSetupTree()
1488 PetscErrorCode DMPlexCreatePointSF(DM dm, PetscSF migrationSF, PetscBool ownership, PetscSF *pointS… in DMPlexCreatePointSF() argument
1512 PetscCall(PetscSFGetGraph(migrationSF, &nroots, &nleaves, &leaves, &roots)); in DMPlexCreatePointSF()
1555 PetscCall(PetscSFReduceBegin(migrationSF, datatype, leafVote, rootVote, op)); in DMPlexCreatePointSF()
1556 PetscCall(PetscSFReduceEnd(migrationSF, datatype, leafVote, rootVote, op)); in DMPlexCreatePointSF()
1575 PetscCall(PetscSFBcastBegin(migrationSF, MPIU_SF_NODE, rootNodes, leafNodes, MPI_REPLACE)); in DMPlexCreatePointSF()
1576 PetscCall(PetscSFBcastEnd(migrationSF, MPIU_SF_NODE, rootNodes, leafNodes, MPI_REPLACE)); in DMPlexCreatePointSF()
2358 PetscSF migrationSF, sfPoint, gatherSF; in DMPlexGetRedundantDM() local
2381 PetscCall(PetscSFCreate(comm, &migrationSF)); in DMPlexGetRedundantDM()
2386 …PetscCall(PetscSFSetGraph(migrationSF, pEnd - pStart, numPoints, NULL, PETSC_OWN_POINTER, points, … in DMPlexGetRedundantDM()
2389 PetscCall(DMPlexMigrate(gatherDM, migrationSF, *redundantMesh)); in DMPlexGetRedundantDM()
2392 PetscCall(DMPlexCreatePointSF(*redundantMesh, migrationSF, PETSC_FALSE, &sfPoint)); in DMPlexGetRedundantDM()
2400 PetscCall(PetscSFCompose(gatherSF, migrationSF, &tsf)); in DMPlexGetRedundantDM()
2404 PetscCall(PetscSFDestroy(&migrationSF)); in DMPlexGetRedundantDM()