Searched refs:edgeCut (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/partitioner/impls/multistage/ |
| H A D | mspart.c | 29 PetscInt *edgeCut; member 310 PetscCall(PetscFree(p->edgeCut)); in PetscPartitionerReset_Multistage() 371 PetscCall(PetscCalloc1(p->levels, &p->edgeCut)); in PetscPartitionerMultistageSetStages() 687 if (!prank) pedgeCut = ppart->edgeCut; /* only the master rank will reduce */ in PetscPartitionerPartition_Multistage() 729 p->edgeCut[p->stage] = pedgeCut; in PetscPartitionerPartition_Multistage() 730 for (i = p->stage + 1; i < p->levels; i++) p->edgeCut[i] = 0; in PetscPartitionerPartition_Multistage() 731 for (i = 0; i < p->stage; i++) pedgeCut += p->edgeCut[i]; in PetscPartitionerPartition_Multistage() 732 part->edgeCut = -1; in PetscPartitionerPartition_Multistage() 733 PetscCallMPI(MPI_Reduce(&pedgeCut, &part->edgeCut, 1, MPIU_INT, MPI_SUM, 0, comm)); in PetscPartitionerPartition_Multistage()
|
| /petsc/include/petsc/private/ |
| H A D | partitionerimpl.h | 24 PetscInt edgeCut; /* The number of edge cut by the partition */ member
|
| /petsc/src/dm/partitioner/impls/parmetis/ |
| H A D | partparmetis.c | 167 …on, xadj, adjncy, vwgt, NULL, adjwgt, &nparts, tpwgts, ubvec, options, &part->edgeCut, assignment); in PetscPartitionerPartition_ParMetis() 179 …on, xadj, adjncy, vwgt, NULL, adjwgt, &nparts, tpwgts, ubvec, options, &part->edgeCut, assignment); in PetscPartitionerPartition_ParMetis() 205 …jwgt, &wgtflag, &numflag, &ncon, &nparts, tpwgts, ubvec, options, &part->edgeCut, assignment, &pco… in PetscPartitionerPartition_ParMetis()
|
| /petsc/src/dm/partitioner/interface/ |
| H A D | partitioner.c | 125 PetscCall(PetscViewerASCIIPrintf(v, " edge cut: %" PetscInt_FMT "\n", part->edgeCut)); in PetscPartitionerView()
|