Searched refs:rootweights (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/vec/is/sf/impls/basic/neighbor/ |
| H A D | sfneighbor.c | 26 PetscMPIInt *rootweights, *leafweights; member 76 …PetscCallMPI(MPI_Dist_graph_create_adjacent(comm, indegree, sources, dat->rootweights, outdegree, … in PetscSFGetDistComm_Neighbor() 78 …mm, outdegree, destinations, dat->leafweights, indegree, sources, dat->rootweights, MPI_INFO_NULL,… in PetscSFGetDistComm_Neighbor() 217 …PetscCall(PetscMalloc6(m2, &dat->rootdispls, m2, &dat->rootcounts, m2, &dat->rootweights, n2, &dat… in PetscSFSetUp_Neighbor() 223 …dat->rootweights[j] = (PetscMPIInt)((PetscReal)dat->rootcounts[j] / (PetscReal)PETSC_INT_MAX * 214… in PetscSFSetUp_Neighbor() 237 dat->rootweights[j] = n; in PetscSFSetUp_Neighbor() 257 …PetscCall(PetscFree6(dat->rootdispls, dat->rootcounts, dat->rootweights, dat->leafdispls, dat->lea… in PetscSFReset_Neighbor()
|