Lines Matching refs:nmax
96 …PetscInt nmax, *sindices, *rindices, idx, lastidx, *sindices2, *rindices2, *sizes, *star… in AOMap_MemoryScalable_private() local
139 PetscCall(PetscMaxSum(comm, sizes, &nmax, &inreceives)); in AOMap_MemoryScalable_private()
146 PetscCall(PetscMalloc2(nreceives * nmax, &rindices, nreceives, &recv_waits)); in AOMap_MemoryScalable_private()
147 PetscCall(PetscMalloc2(nsends * nmax, &rindices2, nsends, &recv_waits2)); in AOMap_MemoryScalable_private()
157 …for (PetscMPIInt i = 0; i < nreceives; i++) PetscCallMPI(MPIU_Irecv(rindices + nmax * i, nmax, MPI… in AOMap_MemoryScalable_private()
198 rbuf = rindices + nmax * widx; /* global index */ in AOMap_MemoryScalable_private()
273 PetscInt nmax, count, *sindices, *rindices, idx, lastidx; in AOCreateMemoryScalable_private() local
314 PetscCall(PetscMaxSum(comm, sizes, &nmax, &nreceives)); in AOCreateMemoryScalable_private()
318 PetscCall(PetscMalloc2(nreceives * nmax, &rindices, nreceives, &recv_waits)); in AOCreateMemoryScalable_private()
323 …for (i = 0; i < nreceives; i++) PetscCallMPI(MPIU_Irecv(rindices + nmax * i, nmax, MPIU_INT, MPI_A… in AOCreateMemoryScalable_private()
366 rbuf = rindices + nmax * widx; /* global index */ in AOCreateMemoryScalable_private()