| /petsc/src/vec/is/utils/ftn-custom/ ! |
| H A D | zisltogf.c | 13 static PetscInt *sprocs, *snumprocs, **sindices; variable 22 *ierr = ISLocalToGlobalMappingGetInfo(*mapping, size, &sprocs, &snumprocs, &sindices); in islocaltoglobalmpnggetinfosize_() 41 for (j = 0; j < numprocs[i]; j++) indices[i + (*size) * j] = sindices[i][j]; in islocaltoglobalmappinggetinfo_() 43 *ierr = ISLocalToGlobalMappingRestoreInfo(*mapping, size, &sprocs, &snumprocs, &sindices); in islocaltoglobalmappinggetinfo_()
|
| /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 149 PetscCall(PetscMalloc3(n, &sindices, nsends, &send_waits, nsends, &send_status)); in AOMap_MemoryScalable_private() 171 sindices[start[j]++] = ia[i]; in AOMap_MemoryScalable_private() 183 …PetscCallMPI(MPIU_Isend(sindices + start[i], sizes[2 * i], MPIU_INT, i, tag1, comm, send_waits + c… in AOMap_MemoryScalable_private() 230 PetscCall(PetscFree3(sindices, send_waits, send_status)); in AOMap_MemoryScalable_private() 273 PetscInt nmax, count, *sindices, *rindices, idx, lastidx; in AOCreateMemoryScalable_private() local 319 PetscCall(PetscMalloc3(2 * n, &sindices, nsends, &send_waits, nsends, &send_status)); in AOCreateMemoryScalable_private() 336 sindices[start[j]++] = ip; in AOCreateMemoryScalable_private() 337 sindices[start[j]++] = ia; in AOCreateMemoryScalable_private() 350 …PetscCallMPI(MPIU_Isend(sindices + start[i], sizes[2 * i], MPIU_INT, i, tag, comm, send_waits + co… in AOCreateMemoryScalable_private() [all …]
|
| /petsc/src/vec/vec/utils/ ! |
| H A D | vecstash.c | 123 PetscCall(PetscFree2(stash->svalues, stash->sindices)); in VecStashScatterEnd_Private() 224 PetscInt nmax, *sindices, *rindices, idx, bs = stash->bs, lastidx; in VecStashScatterBegin_Private() local 272 PetscCall(PetscMalloc2(stash->n * bs, &svalues, stash->n, &sindices)); in VecStashScatterBegin_Private() 283 sindices[start[j]] = stash->idx[i]; in VecStashScatterBegin_Private() 292 …PetscCallMPI(MPIU_Isend(sindices + start[i], nprocs[2 * i], MPIU_INT, i, tag2, comm, send_waits + … in VecStashScatterBegin_Private() 302 stash->sindices = sindices; in VecStashScatterBegin_Private()
|
| /petsc/src/mat/utils/ ! |
| H A D | matstash.c | 163 PetscCall(PetscFree2(stash->svalues, stash->sindices)); in MatStashScatterEnd_Ref() 448 PetscInt *sindices, **rindices, j, ii, idx, lastidx, l; in MatStashScatterBegin_Ref() local 522 PetscCall(PetscMalloc2(bs2 * stash->n, &svalues, 2 * (stash->n + 1), &sindices)); in MatStashScatterBegin_Ref() 551 sindices[starti[j]] = sp_idx[l]; in MatStashScatterBegin_Ref() 552 sindices[starti[j] + nlengths[j]] = sp_idy[l]; in MatStashScatterBegin_Ref() 564 …PetscCallMPI(MPIU_Isend(sindices + 2 * startv[i], 2 * nlengths[i], MPIU_INT, i, tag1, comm, send_w… in MatStashScatterBegin_Ref() 592 stash->sindices = sindices; in MatStashScatterBegin_Ref()
|
| /petsc/src/mat/impls/scalapack/ ! |
| H A D | matscalapack.c | 1518 PetscInt *sindices, **rindices, j, l; in MatStashScatterBegin_ScaLAPACK() local 1590 PetscCall(PetscMalloc2(bs2 * stash->n, &svalues, 2 * (stash->n + 1), &sindices)); in MatStashScatterBegin_ScaLAPACK() 1619 sindices[starti[j]] = sp_idx[l]; in MatStashScatterBegin_ScaLAPACK() 1620 sindices[starti[j] + nlengths[j]] = sp_idy[l]; in MatStashScatterBegin_ScaLAPACK() 1632 …PetscCallMPI(MPIU_Isend(sindices + 2 * startv[i], 2 * nlengths[i], MPIU_INT, i, tag1, comm, send_w… in MatStashScatterBegin_ScaLAPACK() 1660 stash->sindices = sindices; in MatStashScatterBegin_ScaLAPACK()
|
| /petsc/src/mat/impls/aij/mpi/ ! |
| H A D | mpimatmatmult.c | 422 const PetscInt *sindices, *sstarts, *rstarts; in MatMatMultSymbolic_MPIAIJ_MPIDense() local 440 …PetscCall(VecScatterGetRemote_Private(ctx, PETSC_TRUE /*send*/, &nsends, &sstarts, &sindices, NULL… in MatMatMultSymbolic_MPIAIJ_MPIDense() 491 …for (PetscInt j = 0; j < nrows_to; j++) PetscCall(PetscMPIIntCast(sindices[sstarts[i] + j], &disp[… in MatMatMultSymbolic_MPIAIJ_MPIDense() 509 …PetscCall(VecScatterRestoreRemote_Private(ctx, PETSC_TRUE /*send*/, &nsends, &sstarts, &sindices, … in MatMatMultSymbolic_MPIAIJ_MPIDense() 542 const PetscInt *sindices, *sstarts, *rstarts; in MatMPIDenseScatter() local 559 …PetscCall(VecScatterGetRemote_Private(ctx, PETSC_TRUE /*send*/, &nsends, &sstarts, &sindices, &spr… in MatMPIDenseScatter() 585 …PetscCall(VecScatterRestoreRemote_Private(ctx, PETSC_TRUE /*send*/, &nsends, &sstarts, &sindices, … in MatMPIDenseScatter()
|
| /petsc/include/petsc/private/ ! |
| H A D | vecimpl.h | 144 PetscInt *sindices, *rindices; member
|
| H A D | matimpl.h | 358 PetscInt *sindices; member
|