| /petsc/src/vec/is/ao/impls/memscalable/ |
| H A D | aomemscalable.c | 96 …PetscInt nmax, *sindices, *rindices, idx, lastidx, *sindices2, *rindices2, *sizes, *star… in AOMap_MemoryScalable_private() local 146 PetscCall(PetscMalloc2(nreceives * nmax, &rindices, nreceives, &recv_waits)); 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() 228 PetscCall(PetscFree2(rindices, recv_waits)); in AOMap_MemoryScalable_private() 273 PetscInt nmax, count, *sindices, *rindices, idx, lastidx; in AOCreateMemoryScalable_private() local 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() 379 PetscCall(PetscFree2(rindices, recv_waits)); in AOCreateMemoryScalable_private()
|
| /petsc/src/vec/vec/utils/ |
| H A D | vecstash.c | 124 PetscCall(PetscFree2(stash->rvalues, stash->rindices)); in VecStashScatterEnd_Private() 224 PetscInt nmax, *sindices, *rindices, idx, bs = stash->bs, lastidx; in VecStashScatterBegin_Private() local 261 PetscCall(PetscMalloc2(nreceives * nmax * bs, &rvalues, nreceives * nmax, &rindices)); in VecStashScatterBegin_Private() 265 …PetscCallMPI(MPIU_Irecv(rindices + nmax * i, nmax, MPIU_INT, MPI_ANY_SOURCE, tag2, comm, recv_wait… in VecStashScatterBegin_Private() 304 stash->rindices = rindices; in VecStashScatterBegin_Private() 363 *rows = stash->rindices + i2 * stash->rmax; in VecStashScatterGetMesg_Private()
|
| /petsc/src/mat/utils/ |
| H A D | matstash.c | 74 stash->rindices = NULL; in MatStashCreate_Private() 166 PetscCall(PetscFree(stash->rindices[0])); in MatStashScatterEnd_Ref() 167 PetscCall(PetscFree(stash->rindices)); in MatStashScatterEnd_Ref() 448 PetscInt *sindices, **rindices, j, ii, idx, lastidx, l; in MatStashScatterBegin_Ref() local 510 PetscCall(PetscPostIrecvInt(comm, tag1, nreceives, onodes, olengths, &rindices, &recv_waits1)); in MatStashScatterBegin_Ref() 594 stash->rindices = rindices; in MatStashScatterBegin_Ref() 666 *rows = stash->rindices[i2]; in MatStashScatterGetMesg_Ref()
|
| /petsc/src/mat/impls/scalapack/ |
| H A D | matscalapack.c | 1518 PetscInt *sindices, **rindices, j, l; in MatStashScatterBegin_ScaLAPACK() local 1578 PetscCall(PetscPostIrecvInt(comm, tag1, nreceives, onodes, olengths, &rindices, &recv_waits1)); in MatStashScatterBegin_ScaLAPACK() 1662 stash->rindices = rindices; in MatStashScatterBegin_ScaLAPACK()
|
| /petsc/include/petsc/private/ |
| H A D | vecimpl.h | 144 PetscInt *sindices, *rindices; member
|
| H A D | matimpl.h | 360 PetscInt **rindices; /* receiving data (indices) */ member
|
| /petsc/src/dm/impls/plex/ |
| H A D | plex.c | 7576 …wer viewer, Mat A, PetscInt point, PetscInt numRIndices, const PetscInt rindices[], PetscInt numCI… in DMPlexPrintMatSetValues() argument 7584 …ntf(viewer, "[%d]mat row indices[%" PetscInt_FMT "] = %" PetscInt_FMT "\n", rank, i, rindices[i])); in DMPlexPrintMatSetValues()
|