Home
last modified time | relevance | path

Searched refs:vtxwgt (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/partitioner/impls/ptscotch/
H A Dpartptscotch.c58 …alance, SCOTCH_Num n, SCOTCH_Num xadj[], SCOTCH_Num adjncy[], SCOTCH_Num vtxwgt[], SCOTCH_Num adjw… in PTScotch_PartGraph_Seq() argument
65 SCOTCH_Num *velotab = vtxwgt; in PTScotch_PartGraph_Seq()
99 …SCOTCH_Num vtxdist[], SCOTCH_Num xadj[], SCOTCH_Num adjncy[], SCOTCH_Num vtxwgt[], SCOTCH_Num adjw… in PTScotch_PartGraph_MPI() argument
109 SCOTCH_Num *veloloctab = vtxwgt; in PTScotch_PartGraph_MPI()
/petsc/src/dm/impls/plex/
H A Dplexpartition.c1615 …PlexViewDistribution(MPI_Comm comm, PetscInt n, PetscInt skip, PetscInt *vtxwgt, PetscInt *part, P… in DMPlexViewDistribution() argument
1625 if (part) distribution[part[i]] += vtxwgt[skip * i]; in DMPlexViewDistribution()
1626 else distribution[rank] += vtxwgt[skip * i]; in DMPlexViewDistribution()
1680 PetscInt *vtxwgt; in DMPlexRebalanceSharedPoints() local
1826 PetscCall(PetscMalloc1(ncon * (1 + numNonExclusivelyOwned), &vtxwgt)); in DMPlexRebalanceSharedPoints()
1828 vtxwgt[0] = numExclusivelyOwned; in DMPlexRebalanceSharedPoints()
1829 vtxwgt[1] = 1; in DMPlexRebalanceSharedPoints()
1831 vtxwgt[ncon * (i + 1)] = 1; in DMPlexRebalanceSharedPoints()
1832 vtxwgt[ncon * (i + 1) + 1] = 0; in DMPlexRebalanceSharedPoints()
1840 vtxwgt[0] = base + numExclusivelyOwned; in DMPlexRebalanceSharedPoints()
[all …]