Searched refs:newgidxs (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/impls/is/ |
| H A D | matis.c | 1419 PetscInt *lidxs, *lgidxs, *newgidxs; in MatCreateSubMatrix_IS() local 1449 PetscCall(PetscMalloc1(newloc, &newgidxs)); in MatCreateSubMatrix_IS() 1454 newgidxs[newloc++] = matis->sf_leafdata[i] - 1; in MatCreateSubMatrix_IS() 1456 PetscCall(ISCreateGeneral(comm, newloc, newgidxs, PETSC_OWN_POINTER, &is)); in MatCreateSubMatrix_IS() 1483 PetscCall(PetscMalloc1(newloc, &newgidxs)); in MatCreateSubMatrix_IS() 1488 newgidxs[newloc++] = matis->csf_leafdata[i] - 1; in MatCreateSubMatrix_IS() 1490 PetscCall(ISCreateGeneral(comm, newloc, newgidxs, PETSC_OWN_POINTER, &is)); in MatCreateSubMatrix_IS()
|