Searched refs:is_new (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/impls/sbaij/mpi/ |
| H A D | sbaijov.c | 14 IS *is_new, *is_row; in MatIncreaseOverlap_MPISBAIJ() local 24 PetscCall(PetscMalloc1(is_max, &is_new)); in MatIncreaseOverlap_MPISBAIJ() 26 PetscCall(ISCompressIndicesGeneral(N, C->rmap->n, bs, is_max, is, is_new)); in MatIncreaseOverlap_MPISBAIJ() 34 for (i = 0; i < ov; ++i) PetscCall(MatIncreaseOverlap_MPISBAIJ_Once(C, is_max, is_new)); in MatIncreaseOverlap_MPISBAIJ() 76 …PetscCall(MatCreateSubMatrices_MPIBAIJ_local(C, max_no, is_row + pos, is_new + pos, MAT_INITIAL_MA… in MatIncreaseOverlap_MPISBAIJ() 82 PetscCall(MatIncreaseOverlap_MPIBAIJ_Once(C, is_max, is_new)); in MatIncreaseOverlap_MPISBAIJ() 92 PetscCall(ISGetIndices(is_new[i], &idx)); in MatIncreaseOverlap_MPISBAIJ() 93 PetscCall(ISGetLocalSize(is_new[i], &nis)); in MatIncreaseOverlap_MPISBAIJ() 107 PetscCall(ISRestoreIndices(is_new[i], &idx)); in MatIncreaseOverlap_MPISBAIJ() 108 PetscCall(ISDestroy(&is_new[i])); in MatIncreaseOverlap_MPISBAIJ() [all …]
|
| /petsc/src/mat/impls/baij/mpi/ |
| H A D | baijov.c | 15 IS *is_new; in MatIncreaseOverlap_MPIBAIJ() local 18 PetscCall(PetscMalloc1(imax, &is_new)); in MatIncreaseOverlap_MPIBAIJ() 20 PetscCall(ISCompressIndicesGeneral(N, C->rmap->n, bs, imax, is, is_new)); in MatIncreaseOverlap_MPIBAIJ() 22 for (i = 0; i < ov; ++i) PetscCall(MatIncreaseOverlap_MPIBAIJ_Once(C, imax, is_new)); in MatIncreaseOverlap_MPIBAIJ() 25 PetscCall(ISGetLocalSize(is_new[i], &n)); in MatIncreaseOverlap_MPIBAIJ() 26 PetscCall(ISGetIndices(is_new[i], &idx)); in MatIncreaseOverlap_MPIBAIJ() 27 …PetscCall(ISCreateBlock(PetscObjectComm((PetscObject)is_new[i]), bs, n, idx, PETSC_COPY_VALUES, &i… in MatIncreaseOverlap_MPIBAIJ() 28 PetscCall(ISDestroy(&is_new[i])); in MatIncreaseOverlap_MPIBAIJ() 30 PetscCall(PetscFree(is_new)); in MatIncreaseOverlap_MPIBAIJ()
|