Home
last modified time | relevance | path

Searched refs:rvalues (Results 1 – 11 of 11) sorted by relevance

/petsc/src/vec/vec/utils/
H A Dvecstash.c62 stash->rvalues = NULL; in VecStashCreate_Private()
124 PetscCall(PetscFree2(stash->rvalues, stash->rindices)); in VecStashScatterEnd_Private()
225 PetscScalar *rvalues, *svalues; in VecStashScatterBegin_Private() local
261 PetscCall(PetscMalloc2(nreceives * nmax * bs, &rvalues, nreceives * nmax, &rindices)); in VecStashScatterBegin_Private()
264 …PetscCallMPI(MPIU_Irecv(rvalues + bs * nmax * i, bs * nmax, MPIU_SCALAR, MPI_ANY_SOURCE, tag1, com… in VecStashScatterBegin_Private()
303 stash->rvalues = rvalues; in VecStashScatterBegin_Private()
364 *vals = stash->rvalues + i1 * bs * stash->rmax; in VecStashScatterGetMesg_Private()
/petsc/src/mat/impls/sell/mpi/
H A Dmpisell.h16 PetscScalar *svalues, *rvalues; /* sending and receiving data */ member
/petsc/src/mat/utils/
H A Dmatstash.c73 stash->rvalues = NULL; in MatStashCreate_Private()
164 PetscCall(PetscFree(stash->rvalues[0])); in MatStashScatterEnd_Ref()
165 PetscCall(PetscFree(stash->rvalues)); in MatStashScatterEnd_Ref()
449 PetscScalar **rvalues, *svalues; in MatStashScatterBegin_Ref() local
513 … PetscCall(PetscPostIrecvScalar(comm, tag2, nreceives, onodes, olengths, &rvalues, &recv_waits2)); in MatStashScatterBegin_Ref()
593 stash->rvalues = rvalues; in MatStashScatterBegin_Ref()
668 *vals = stash->rvalues[i1]; in MatStashScatterGetMesg_Ref()
/petsc/src/ksp/pc/impls/redistribute/
H A Dredistribute.c82 PetscInt *rvalues, *svalues, recvtotal; in PCSetUp_Redistribute() local
190 PetscCall(PetscMalloc3(recvtotal, &rvalues, nrecvs, &source, nrecvs, &recv_waits)); in PCSetUp_Redistribute()
193 …PetscCallMPI(MPIU_Irecv(rvalues + count, olengths1[i], MPIU_INT, onodes1[i], tag, comm, recv_waits… in PCSetUp_Redistribute()
228 PetscCall(ISCreateGeneral(comm, slen, rvalues, PETSC_COPY_VALUES, &red->is)); in PCSetUp_Redistribute()
233 PetscCall(PetscFree3(rvalues, source, recv_waits)); in PCSetUp_Redistribute()
/petsc/src/mat/impls/aij/mpi/
H A Dmpiaij.h50 MatScalar *svalues, *rvalues; /* sending and receiving data */ \
H A Dmpimatmatmult.c540 PetscScalar *rvalues; in MatMPIDenseScatter() local
572 PetscCall(MatDenseGetArray(workB, &rvalues)); in MatMPIDenseScatter()
577 …for (PetscMPIInt i = 0; i < nrecvs; i++) PetscCallMPI(MPIU_Irecv(rvalues + (rstarts[i] - rstarts[0… in MatMPIDenseScatter()
588 PetscCall(MatDenseRestoreArray(workB, &rvalues)); in MatMPIDenseScatter()
H A Dmpiaij.c5769 …n, *bufj, *bufJ, ncols = 0, aBn = a->B->cmap->n, row, *b_othi, *b_othj, *rvalues = NULL, *svalues … in MatGetBrowsOfAoCols_MPIAIJ() local
5806 …if (nrecvs) PetscCall(PetscMalloc1(rbs * (rstarts[nrecvs] - rstarts[0]), &rvalues)); /* rstarts ca… in MatGetBrowsOfAoCols_MPIAIJ()
5808 rowlen = rvalues + rstarts[i] * rbs; in MatGetBrowsOfAoCols_MPIAIJ()
5857 rowlen = rvalues + (rstarts[i] - rstarts[0]) * rbs; in MatGetBrowsOfAoCols_MPIAIJ()
5866 PetscCall(PetscFree(rvalues)); in MatGetBrowsOfAoCols_MPIAIJ()
/petsc/src/mat/impls/scalapack/
H A Dmatscalapack.c1519 PetscScalar **rvalues, *svalues; in MatStashScatterBegin_ScaLAPACK() local
1581 … PetscCall(PetscPostIrecvScalar(comm, tag2, nreceives, onodes, olengths, &rvalues, &recv_waits2)); in MatStashScatterBegin_ScaLAPACK()
1661 stash->rvalues = rvalues; in MatStashScatterBegin_ScaLAPACK()
/petsc/src/mat/impls/sbaij/mpi/
H A Dmpisbaij.c2512 PetscReal *work, *svalues, *rvalues; in MatGetRowMaxAbs_MPISBAIJ() local
2574 rvalues = work; in MatGetRowMaxAbs_MPISBAIJ()
2577 …PetscCallMPI(MPIU_Recv(rvalues, count, MPIU_REAL, MPI_ANY_SOURCE, MPI_ANY_TAG, PetscObjectComm((Pe… in MatGetRowMaxAbs_MPISBAIJ()
2580 if (PetscRealPart(va[i]) < rvalues[i]) va[i] = rvalues[i]; in MatGetRowMaxAbs_MPISBAIJ()
/petsc/include/petsc/private/
H A Dvecimpl.h143 PetscScalar *svalues, *rvalues; /* sending and receiving data */ member
H A Dmatimpl.h359 PetscScalar **rvalues; /* receiving data (values) */ member
741 PetscScalar *svalues, *rvalues; /* sending and receiving data */ member