Home
last modified time | relevance | path

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

/petsc/src/mat/impls/is/
H A Dmatis.c1419 PetscInt *lidxs, *lgidxs, *newgidxs; in MatCreateSubMatrix_IS() local
1439 PetscCall(PetscLayoutMapLocal(mat->rmap, m, idxs, &ll, &lidxs, &lgidxs)); in MatCreateSubMatrix_IS()
1442 for (i = 0; i < ll; i++) matis->sf_rootdata[lidxs[i]] = lgidxs[i] + 1; in MatCreateSubMatrix_IS()
1444 PetscCall(PetscFree(lgidxs)); in MatCreateSubMatrix_IS()
1473 PetscCall(PetscLayoutMapLocal(mat->cmap, n, idxs, &ll, &lidxs, &lgidxs)); in MatCreateSubMatrix_IS()
1476 for (i = 0; i < ll; i++) matis->csf_rootdata[lidxs[i]] = lgidxs[i] + 1; in MatCreateSubMatrix_IS()
1478 PetscCall(PetscFree(lgidxs)); in MatCreateSubMatrix_IS()