Lines Matching refs:cols_l
1312 PetscInt buf[2 * MATIS_MAX_ENTRIES_INSERTION], *rows_l = NULL, *cols_l = NULL; in MatSetValuesLocal_SubMat_IS() local
1315 IndexSpaceGet(buf, m, n, rows_l, cols_l); in MatSetValuesLocal_SubMat_IS()
1317 PetscCall(ISLocalToGlobalMappingApply(A->cmap->mapping, n, cols, cols_l)); in MatSetValuesLocal_SubMat_IS()
1318 PetscCall(MatSetValuesLocal_IS(A, m, rows_l, n, cols_l, values, addv)); in MatSetValuesLocal_SubMat_IS()
1319 IndexSpaceRestore(buf, m, n, rows_l, cols_l); in MatSetValuesLocal_SubMat_IS()
1325 PetscInt buf[2 * MATIS_MAX_ENTRIES_INSERTION], *rows_l = NULL, *cols_l = NULL, rbs, cbs; in MatSetValuesBlockedLocal_SubMat_IS() local
1331 IndexSpaceGet(buf, m * rbs, n * cbs, rows_l, cols_l); in MatSetValuesBlockedLocal_SubMat_IS()
1333 BlockIndicesExpand(n, cols, cbs, cols_l); in MatSetValuesBlockedLocal_SubMat_IS()
1335 PetscCall(ISLocalToGlobalMappingApply(A->cmap->mapping, n * cbs, cols_l, cols_l)); in MatSetValuesBlockedLocal_SubMat_IS()
1336 PetscCall(MatSetValuesLocal_IS(A, m * rbs, rows_l, n * cbs, cols_l, values, addv)); in MatSetValuesBlockedLocal_SubMat_IS()
1337 IndexSpaceRestore(buf, m * rbs, n * cbs, rows_l, cols_l); in MatSetValuesBlockedLocal_SubMat_IS()
2798 PetscInt buf[2 * MATIS_MAX_ENTRIES_INSERTION], *rows_l = NULL, *cols_l = NULL; in MatSetValues_IS() local
2801 IndexSpaceGet(buf, m, n, rows_l, cols_l); in MatSetValues_IS()
2804 PetscCall(ISGlobalToLocalMappingApply(is->cmapping, IS_GTOLM_MASK, n, cols, &n, cols_l)); in MatSetValues_IS()
2805 PetscCall(MatSetValues(is->A, m, rows_l, n, cols_l, values, addv)); in MatSetValues_IS()
2809 IndexSpaceRestore(buf, m, n, rows_l, cols_l); in MatSetValues_IS()
2816 PetscInt buf[2 * MATIS_MAX_ENTRIES_INSERTION], *rows_l = NULL, *cols_l = NULL; in MatSetValuesBlocked_IS() local
2819 IndexSpaceGet(buf, m, n, rows_l, cols_l); in MatSetValuesBlocked_IS()
2822 PetscCall(ISGlobalToLocalMappingApplyBlock(is->cmapping, IS_GTOLM_MASK, n, cols, &n, cols_l)); in MatSetValuesBlocked_IS()
2823 PetscCall(MatSetValuesBlocked(is->A, m, rows_l, n, cols_l, values, addv)); in MatSetValuesBlocked_IS()
2827 IndexSpaceRestore(buf, m, n, rows_l, cols_l); in MatSetValuesBlocked_IS()