Lines Matching refs:nidxs
2614 PetscInt *nidxs; in MatISFilterL2GMap() local
2623 PetscCall(PetscMalloc1(n / bs, &nidxs)); in MatISFilterL2GMap()
2632 else nidxs[c++] = idxs[i]; in MatISFilterL2GMap()
2639 PetscCall(PetscFree(nidxs)); in MatISFilterL2GMap()
2645 PetscCall(ISCreateBlock(PetscObjectComm((PetscObject)A), bs, c, nidxs, PETSC_USE_POINTER, &is)); in MatISFilterL2GMap()
2652 PetscCall(ISGlobalToLocalMappingApplyBlock(*nmap, IS_GTOLM_MASK, n / bs, idxs, NULL, nidxs)); in MatISFilterL2GMap()
2653 PetscCall(ISCreateBlock(PETSC_COMM_SELF, bs, n / bs, nidxs, PETSC_USE_POINTER, &is)); in MatISFilterL2GMap()
2656 PetscCall(PetscFree(nidxs)); in MatISFilterL2GMap()
2990 PetscInt *nidxs, i; in MatAssemblyEnd_IS() local
2994 PetscCall(PetscMalloc1(PetscMax(nr, nc), &nidxs)); in MatAssemblyEnd_IS()
3002 PetscCall(PetscArraycpy(nidxs, ridxs, nr)); in MatAssemblyEnd_IS()
3003 for (i = 0; i < nnzr; i++) nidxs[zridxs[i]] = -1; in MatAssemblyEnd_IS()
3004 …PetscCall(ISLocalToGlobalMappingCreate(PetscObjectComm((PetscObject)A), 1, nr, nidxs, PETSC_COPY_V… in MatAssemblyEnd_IS()
3005 PetscCall(PetscArraycpy(nidxs, cidxs, nc)); in MatAssemblyEnd_IS()
3006 for (i = 0; i < nnzc; i++) nidxs[zcidxs[i]] = -1; in MatAssemblyEnd_IS()
3007 …PetscCall(ISLocalToGlobalMappingCreate(PetscObjectComm((PetscObject)A), 1, nc, nidxs, PETSC_COPY_V… in MatAssemblyEnd_IS()
3017 PetscCall(PetscFree(nidxs)); in MatAssemblyEnd_IS()