| /petsc/src/dm/impls/plex/ |
| H A D | plexdistribute.c | 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() [all …]
|
| H A D | plexpartition.c | 15 PetscSF sfPoint; in DMPlexCreatePartitionerGraph_Overlap() local 53 PetscCall(DMGetPointSF(ovdm, &sfPoint)); in DMPlexCreatePartitionerGraph_Overlap() 55 PetscCall(DMPlexCreateNumbering_Plex(ovdm, cStart, cEnd, 0, NULL, sfPoint, &cellNumbering)); in DMPlexCreatePartitionerGraph_Overlap() 120 PetscSF sfPoint; in DMPlexCreatePartitionerGraph_Native() local 144 PetscCall(DMGetPointSF(dm, &sfPoint)); in DMPlexCreatePartitionerGraph_Native() 153 PetscCall(DMPlexCreateNumbering_Plex(dm, pStart, pEnd, 0, NULL, sfPoint, &cellNumbering)); in DMPlexCreatePartitionerGraph_Native() 162 PetscCall(PetscSFGetGraph(sfPoint, &nroots, &nleaves, &local, NULL)); in DMPlexCreatePartitionerGraph_Native() 320 PetscSF sfPoint; in DMPlexCreatePartitionerGraph_ViaMat() local 348 PetscCall(DMGetIsoperiodicPointSF_Internal(dm, &sfPoint)); in DMPlexCreatePartitionerGraph_ViaMat() 351 PetscCall(DMPlexCreateNumbering_Plex(dm, cStart, cEnd, 0, &N, sfPoint, &cis)); in DMPlexCreatePartitionerGraph_ViaMat() [all …]
|
| H A D | plexrefine.c | 24 PetscErrorCode DMPlexCreateProcessSF(DM dm, PetscSF sfPoint, IS *processRanks, PetscSF *sfProcess) in DMPlexCreateProcessSF() argument 37 PetscValidHeaderSpecific(sfPoint, PETSCSF_CLASSID, 2); in DMPlexCreateProcessSF() 41 PetscCall(PetscSFGetGraph(sfPoint, &numRoots, &numLeaves, &localPoints, &remotePoints)); in DMPlexCreateProcessSF()
|
| H A D | plexinterpolate.c | 1539 PetscSF sfPoint; in DMPlexInterpolate() local 1600 PetscCall(DMGetPointSF(odm, &sfPoint)); in DMPlexInterpolate() 1601 if (PetscDefined(USE_DEBUG)) PetscCall(DMPlexCheckPointSF(odm, sfPoint, PETSC_FALSE)); in DMPlexInterpolate() 1605 PetscCall(PetscSFGetGraph(sfPoint, &nroots, NULL, NULL, NULL)); in DMPlexInterpolate() 1606 if (nroots >= 0) PetscCall(DMPlexInterpolatePointSF(idm, sfPoint)); in DMPlexInterpolate() 1624 PetscCall(DMGetPointSF(odm, &sfPoint)); in DMPlexInterpolate() 1625 if (PetscDefined(USE_DEBUG)) PetscCall(DMPlexCheckPointSF(odm, sfPoint, PETSC_FALSE)); in DMPlexInterpolate() 1629 PetscCall(PetscSFGetGraph(sfPoint, &nroots, NULL, NULL, NULL)); in DMPlexInterpolate() 1630 if (nroots >= 0) PetscCall(DMPlexInterpolatePointSF(idm, sfPoint)); in DMPlexInterpolate() 1850 PetscSF sfPoint, sfPointUn; in DMPlexUninterpolate() local [all …]
|
| H A D | plexsubmesh.c | 208 PetscSF sfPoint; in DMPlexLabelComplete_Internal() local 242 PetscCall(DMGetPointSF(dm, &sfPoint)); in DMPlexLabelComplete_Internal() 243 PetscCall(PetscSFGetGraph(sfPoint, &nroots, NULL, NULL, NULL)); in DMPlexLabelComplete_Internal() 251 PetscCall(DMLabelGather(label, sfPoint, &lblLeaves)); in DMPlexLabelComplete_Internal() 266 PetscCall(DMLabelDistribute(label, sfPoint, &lblRoots)); in DMPlexLabelComplete_Internal() 736 PetscSF sfPoint, sfPointNew; in DMPlexShiftSF_Internal() local 741 PetscCall(DMGetPointSF(dm, &sfPoint)); in DMPlexShiftSF_Internal() 743 PetscCall(DMPlexShiftSF_Single(dm, depthShift, sfPoint, sfPointNew)); in DMPlexShiftSF_Internal() 810 PetscSF sfPoint; in DMPlexCreateVTKLabel_Internal() local 820 PetscCall(DMGetPointSF(dm, &sfPoint)); in DMPlexCreateVTKLabel_Internal() [all …]
|
| H A D | plexcreate.c | 5963 PetscSF sfPoint; in DMPlexBuildFromCellListParallel() local 6024 …dj, verticesAdj, NULL, numCells, numVerticesAdj, verticesAdj, NULL, numCells, vertexSF, &sfPoint)); in DMPlexBuildFromCellListParallel() 6028 PetscCall(PetscObjectSetName((PetscObject)sfPoint, "point SF")); in DMPlexBuildFromCellListParallel() 6033 PetscCall(PetscObjectSetOptionsPrefix((PetscObject)sfPoint, prefix)); in DMPlexBuildFromCellListParallel() 6035 PetscCall(DMSetPointSF(dm, sfPoint)); in DMPlexBuildFromCellListParallel() 6036 PetscCall(PetscSFDestroy(&sfPoint)); in DMPlexBuildFromCellListParallel() 6108 PetscSF sfPoint; in DMPlexBuildFromCellSectionParallel() local 6178 …dj, verticesAdj, NULL, numCells, numVerticesAdj, verticesAdj, NULL, numCells, vertexSF, &sfPoint)); in DMPlexBuildFromCellSectionParallel() 6182 PetscCall(PetscObjectSetName((PetscObject)sfPoint, "point SF")); in DMPlexBuildFromCellSectionParallel() 6187 PetscCall(PetscObjectSetOptionsPrefix((PetscObject)sfPoint, prefix)); in DMPlexBuildFromCellSectionParallel() [all …]
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 1088 PetscSF sfPoint; in CreateConesIS_Private() local 1126 PetscCall(DMGetPointSF(dm, &sfPoint)); in CreateConesIS_Private() 1132 PetscCall(PetscSFGetGraph(sfPoint, &nroots, &nleaves, &ilocal, &iremote)); in CreateConesIS_Private() 1134 PetscCall(PetscObjectReference((PetscObject)sfPoint)); in CreateConesIS_Private() 1136 PetscCall(PetscSFCreate(PetscObjectComm((PetscObject)sfPoint), &sfPoint)); in CreateConesIS_Private() 1137 …PetscCall(PetscSFSetGraph(sfPoint, nroots + vExtra, nleaves, (PetscInt *)ilocal, PETSC_COPY_VALUES… in CreateConesIS_Private() 1140 PetscCall(PetscObjectReference((PetscObject)sfPoint)); in CreateConesIS_Private() 1143 …PetscCall(DMPlexCreateNumbering_Plex(dm, vStart, vEnd + vExtra, 0, NULL, sfPoint, &globalVertexNum… in CreateConesIS_Private() 1144 PetscCall(PetscSFDestroy(&sfPoint)); in CreateConesIS_Private()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex11.c | 719 PetscSF sfPoint; in CreatePartitionVec() local 731 PetscCall(DMGetPointSF(dm, &sfPoint)); in CreatePartitionVec() 732 PetscCall(DMSetPointSF(*dmCell, sfPoint)); in CreatePartitionVec()
|
| /petsc/src/ksp/pc/impls/bddc/ |
| H A D | bddcprivate.c | 2427 PetscSF sfPoint; in PCBDDCDetectDisconnectedComponents() local 2431 PetscCall(DMGetPointSF(dm, &sfPoint)); in PCBDDCDetectDisconnectedComponents() 2432 PetscCall(PetscSFGetGraph(sfPoint, &nroots, NULL, NULL, NULL)); in PCBDDCDetectDisconnectedComponents()
|