Searched refs:foundProcs (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/snes/utils/dm/ |
| H A D | dminterpolatesnes.c | 188 PetscMPIInt *foundProcs, *globalProcs, in; in DMInterpolationSetUp() local 220 PetscCall(PetscMalloc3(N,&foundCells,N,&foundProcs,N,&globalProcs)); in DMInterpolationSetUp() 230 PetscCall(PetscMalloc2(N, &foundProcs, N, &globalProcs)); in DMInterpolationSetUp() 231 for (p = 0; p < N; ++p) foundProcs[p] = size; in DMInterpolationSetUp() 237 if (foundCells[p].index >= 0) foundProcs[foundPoints ? foundPoints[p] : p] = rank; in DMInterpolationSetUp() 240 PetscCallMPI(MPIU_Allreduce(foundProcs, globalProcs, N, MPI_INT, MPI_MIN, comm)); in DMInterpolationSetUp() 274 PetscCall(PetscFree3(foundCells,foundProcs,globalProcs)); in DMInterpolationSetUp() 276 PetscCall(PetscFree2(foundProcs, globalProcs)); in DMInterpolationSetUp()
|