Searched refs:mapout (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/vec/is/utils/ |
| H A D | psort.c | 93 static PetscErrorCode PetscParallelSampleSelect(PetscLayout mapin, PetscLayout mapout, PetscInt key… in PetscParallelSampleSelect() argument 117 … index = ((PetscReal)mapout->range[i + 1]) * ((PetscReal)mapin->n) / ((PetscReal)mapout->N); in PetscParallelSampleSelect() 136 if (mapout->range[i] == mapout->range[i + 1]) non_empty--; in PetscParallelSampleSelect() 234 static PetscErrorCode PetscParallelSortInt_Samplesort(PetscLayout mapin, PetscLayout mapout, PetscI… in PetscParallelSortInt_Samplesort() argument 248 PetscCall(PetscParallelSampleSelect(mapin, mapout, keysin, &pivots)); in PetscParallelSortInt_Samplesort() 284 PetscCall(PetscParallelRedistribute(mapout, nrecv, buffer, keysout)); in PetscParallelSortInt_Samplesort() 320 PetscErrorCode PetscParallelSortInt(PetscLayout mapin, PetscLayout mapout, PetscInt keysin[], Petsc… in PetscParallelSortInt() argument 328 PetscAssertPointer(mapout, 2); in PetscParallelSortInt() 329 PetscCallMPI(MPI_Comm_compare(mapin->comm, mapout->comm, &result)); in PetscParallelSortInt() 332 PetscCall(PetscLayoutSetUp(mapout)); in PetscParallelSortInt() [all …]
|