Home
last modified time | relevance | path

Searched refs:rindices (Results 1 – 7 of 7) sorted by relevance

/petsc/src/vec/is/ao/impls/memscalable/
H A Daomemscalable.c96 …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 Dvecstash.c124 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 Dmatstash.c74 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 Dmatscalapack.c1518 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 Dvecimpl.h144 PetscInt *sindices, *rindices; member
H A Dmatimpl.h360 PetscInt **rindices; /* receiving data (indices) */ member
/petsc/src/dm/impls/plex/
H A Dplex.c7576 …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()