Searched refs:cols_l (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/impls/is/ |
| H A D | matis.c | 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() [all …]
|