Home
last modified time | relevance | path

Searched refs:nlengths (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/utils/
H A Dmatstash.c452 PetscMPIInt *sizes, *nlengths, nreceives, nsends, tag1 = stash->tag1, tag2 = stash->tag2; in MatStashScatterBegin_Ref() local
468 PetscCall(PetscCalloc1(size, &nlengths)); in MatStashScatterBegin_Ref()
483 nlengths[j]++; in MatStashScatterBegin_Ref()
497 if (nlengths[i]) { in MatStashScatterBegin_Ref()
506 PetscCall(PetscGatherNumberOfMessages(comm, sizes, nlengths, &nreceives)); in MatStashScatterBegin_Ref()
507 PetscCall(PetscGatherMessageLengths(comm, nsends, nreceives, nlengths, &onodes, &olengths)); in MatStashScatterBegin_Ref()
529 startv[i] = startv[i - 1] + nlengths[i - 1]; in MatStashScatterBegin_Ref()
530 starti[i] = starti[i - 1] + 2 * nlengths[i - 1]; in MatStashScatterBegin_Ref()
552 sindices[starti[j] + nlengths[j]] = sp_idy[l]; in MatStashScatterBegin_Ref()
560 for (PetscMPIInt i = 1; i < size; i++) startv[i] = startv[i - 1] + nlengths[i - 1]; in MatStashScatterBegin_Ref()
[all …]
/petsc/src/mat/impls/scalapack/
H A Dmatscalapack.c1522 …PetscMPIInt tag1 = stash->tag1, tag2 = stash->tag2, *sizes, *nlengths, nreceives, insends, … in MatStashScatterBegin_ScaLAPACK() local
1540 PetscCall(PetscCalloc1(size, &nlengths)); in MatStashScatterBegin_ScaLAPACK()
1552 nlengths[j]++; in MatStashScatterBegin_ScaLAPACK()
1563 if (nlengths[i]) { in MatStashScatterBegin_ScaLAPACK()
1573 PetscCall(PetscGatherNumberOfMessages(comm, sizes, nlengths, &nreceives)); in MatStashScatterBegin_ScaLAPACK()
1575 PetscCall(PetscGatherMessageLengths(comm, insends, nreceives, nlengths, &onodes, &olengths)); in MatStashScatterBegin_ScaLAPACK()
1597 startv[i] = startv[i - 1] + nlengths[i - 1]; in MatStashScatterBegin_ScaLAPACK()
1598 starti[i] = starti[i - 1] + 2 * nlengths[i - 1]; in MatStashScatterBegin_ScaLAPACK()
1620 sindices[starti[j] + nlengths[j]] = sp_idy[l]; in MatStashScatterBegin_ScaLAPACK()
1628 for (PetscMPIInt i = 1; i < size; i++) startv[i] = startv[i - 1] + nlengths[i - 1]; in MatStashScatterBegin_ScaLAPACK()
[all …]