Lines Matching refs:sfPoint

347 PetscErrorCode DMPlexCreateTwoSidedProcessSF(DM dm, PetscSF sfPoint, PetscSection rootRankSection, …  in DMPlexCreateTwoSidedProcessSF()  argument
360 PetscValidHeaderSpecific(sfPoint, PETSCSF_CLASSID, 2); in DMPlexCreateTwoSidedProcessSF()
365 PetscCall(PetscSFGetGraph(sfPoint, NULL, &numLeaves, NULL, &remotePoints)); in DMPlexCreateTwoSidedProcessSF()
442 PetscSF sfPoint; in DMPlexDistributeOwnership() local
452 PetscCall(DMGetPointSF(dm, &sfPoint)); in DMPlexDistributeOwnership()
456 PetscCall(PetscSFComputeDegreeBegin(sfPoint, &rootdegree)); in DMPlexDistributeOwnership()
457 PetscCall(PetscSFComputeDegreeEnd(sfPoint, &rootdegree)); in DMPlexDistributeOwnership()
465 PetscCall(PetscSFGatherBegin(sfPoint, MPIU_INT, myrank, remoterank)); in DMPlexDistributeOwnership()
466 PetscCall(PetscSFGatherEnd(sfPoint, MPIU_INT, myrank, remoterank)); in DMPlexDistributeOwnership()
471 PetscCall(DMPlexDistributeFieldIS(dm, sfPoint, rootSection, *rootrank, leafSection, leafrank)); in DMPlexDistributeOwnership()
499 PetscSF sfPoint; in DMPlexCreateOverlapLabel() local
514 PetscCall(DMGetPointSF(dm, &sfPoint)); in DMPlexCreateOverlapLabel()
523 PetscCall(PetscSFGetGraph(sfPoint, NULL, &nleaves, &local, &remote)); in DMPlexCreateOverlapLabel()
665 PetscSF sfPoint; in DMPlexCreateOverlapLabelFromLabels() local
680 PetscCall(DMGetPointSF(dm, &sfPoint)); in DMPlexCreateOverlapLabelFromLabels()
683 PetscCall(PetscSFGetGraph(sfPoint, NULL, &nleaves, &local, &remote)); in DMPlexCreateOverlapLabelFromLabels()
1623 PetscSF sfPoint; in DMPlexMigrate() local
1637 PetscCall(DMGetPointSF(dm, &sfPoint)); in DMPlexMigrate()
1638 PetscCall(PetscSFGetGraph(sfPoint, &nroots, NULL, NULL, NULL)); in DMPlexMigrate()
1839 PetscSF sfMigration, sfStratified, sfPoint; in DMPlexDistribute() local
1933 PetscCall(DMPlexCreatePointSF(*dmParallel, sfMigration, PETSC_TRUE, &sfPoint)); in DMPlexDistribute()
1934 PetscCall(DMSetPointSF(*dmParallel, sfPoint)); in DMPlexDistribute()
1937 if (dmCoord) PetscCall(DMSetPointSF(dmCoord, sfPoint)); in DMPlexDistribute()
1938 if (flg) PetscCall(PetscSFView(sfPoint, NULL)); in DMPlexDistribute()
2001 PetscCall(PetscSFDestroy(&sfPoint)); in DMPlexDistribute()
2015 PetscSF sfOverlap, sfStratified, sfPoint; in DMPlexDistributeOverlap_Internal() local
2082 PetscCall(DMPlexCreatePointSF(*dmOverlap, sfOverlap, PETSC_FALSE, &sfPoint)); in DMPlexDistributeOverlap_Internal()
2083 PetscCall(DMSetPointSF(*dmOverlap, sfPoint)); in DMPlexDistributeOverlap_Internal()
2085 if (dmCoord) PetscCall(DMSetPointSF(dmCoord, sfPoint)); in DMPlexDistributeOverlap_Internal()
2087 if (dmCoord) PetscCall(DMSetPointSF(dmCoord, sfPoint)); in DMPlexDistributeOverlap_Internal()
2088 PetscCall(PetscSFDestroy(&sfPoint)); in DMPlexDistributeOverlap_Internal()
2358 PetscSF migrationSF, sfPoint, gatherSF; in DMPlexGetRedundantDM() local
2392 PetscCall(DMPlexCreatePointSF(*redundantMesh, migrationSF, PETSC_FALSE, &sfPoint)); in DMPlexGetRedundantDM()
2393 PetscCall(DMSetPointSF(*redundantMesh, sfPoint)); in DMPlexGetRedundantDM()
2395 if (dmCoord) PetscCall(DMSetPointSF(dmCoord, sfPoint)); in DMPlexGetRedundantDM()
2396 PetscCall(PetscSFDestroy(&sfPoint)); in DMPlexGetRedundantDM()