Searched refs:starti (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/utils/ |
| H A D | matstash.c | 446 PetscInt *owner, *startv, *starti, bs2; in MatStashScatterBegin_Ref() local 524 PetscCall(PetscMalloc2(size, &startv, size, &starti)); in MatStashScatterBegin_Ref() 527 starti[0] = 0; in MatStashScatterBegin_Ref() 530 starti[i] = starti[i - 1] + 2 * nlengths[i - 1]; 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() 554 starti[j]++; in MatStashScatterBegin_Ref() 576 PetscCall(PetscFree2(startv, starti)); in MatStashScatterBegin_Ref()
|
| /petsc/src/mat/impls/scalapack/ |
| H A D | matscalapack.c | 1516 PetscInt *owner, *startv, *starti, bs2; in MatStashScatterBegin_ScaLAPACK() local 1592 PetscCall(PetscMalloc2(size, &startv, size, &starti)); in MatStashScatterBegin_ScaLAPACK() 1595 starti[0] = 0; in MatStashScatterBegin_ScaLAPACK() 1598 starti[i] = starti[i - 1] + 2 * nlengths[i - 1]; 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() 1622 starti[j]++; in MatStashScatterBegin_ScaLAPACK() 1644 PetscCall(PetscFree2(startv, starti)); in MatStashScatterBegin_ScaLAPACK()
|