| /petsc/src/binding/petsc4py/test/ ! |
| H A D | test_mat_dense.py | 76 ren = min(3,M) 78 B = self.A.getDenseSubMatrix(rst, ren, cst, cen) 79 self.assertTrue(B.getSize(), (ren - rst, cen - cst)) 82 B = self.A.getDenseSubMatrix(cbegin=cst, rbegin=rst, cend=cen, rend=ren) 83 self.assertTrue(B.getSize(), (ren - rst, cen - cst))
|
| /petsc/src/dm/impls/plex/ ! |
| H A D | plexdd.c | 58 PetscInt rst, ren, c, *gidxs, *lidxs, *tidxs; in DMCreateDomainDecomposition_Plex() local 152 PetscCall(VecGetOwnershipRange(gvec, &rst, &ren)); in DMCreateDomainDecomposition_Plex() 154 PetscCall(ISCreateStride(PETSC_COMM_SELF, ren - rst, rst, 1, &gi_is)); /* non-overlapping dofs */ in DMCreateDomainDecomposition_Plex() 197 ni = ren - rst; in DMCreateDomainDecomposition_Plex() 210 if (gidxs[i] >= rst && gidxs[i] < ren) lidxs[c++] = i; in DMCreateDomainDecomposition_Plex()
|
| /petsc/src/mat/tests/ ! |
| H A D | ex221.c | 139 PetscInt rst, ren, cst, cen; in main() local 141 PetscCall(MatGetOwnershipRange(A, &rst, &ren)); in main() 143 PetscCall(ISCreateStride(PetscObjectComm((PetscObject)A), (ren - rst) / 2, rst, 1, &r)); in main() 343 PetscInt rst, ren, cst, cen; in main() local 345 PetscCall(MatGetOwnershipRange(A, &rst, &ren)); in main() 347 PetscCall(ISCreateStride(PetscObjectComm((PetscObject)A), (ren - rst) / 2, rst, 1, &r)); in main()
|
| H A D | ex23.c | 25 PetscInt rst, ren, cst, cen, nr, nc, rbs = 1, cbs = 1; in main() local 465 PetscCall(MatGetOwnershipRangeColumn(A, &rst, &ren)); in main() 467 PetscCall(MatGetOwnershipRange(A, &rst, &ren)); in main() 480 …for (i = 0; i < nr; i++) PetscCall(ISCreateStride(PETSC_COMM_WORLD, ren - rst, i + rst, nr, &rows[… in main() 619 PetscCall(MatGetOwnershipRange(A, &rst, &ren)); in main() 620 n0 = (ren - rst) / 2; in main() 621 n1 = (ren - rst) / 3; in main() 624 for (i = 0; i < n0; i++) idx0[i] = ren - i - 1; in main()
|
| /petsc/src/mat/impls/hypre/ ! |
| H A D | mhypre.c | 1542 PetscInt rst = A->rmap->rstart, ren = A->rmap->rend; local 1578 if (rows[i] < rst || rows[i] >= ren) { 1598 if (rows[i] < rst || rows[i] >= ren) { 1937 PetscInt rst, ren, i; local 1943 PetscCall(MatGetOwnershipRange(A, &rst, &ren)); 1945 …PetscCheck(rows[i] >= rst && rows[i] < ren, PETSC_COMM_SELF, PETSC_ERR_SUP, "Non-local rows not ye…
|
| /petsc/src/ksp/pc/impls/gamg/ ! |
| H A D | gamg.c | 1743 PetscInt rst, ren, N; in PCView_GAMG() local 1746 PetscCall(MatGetOwnershipRange(A, &rst, &ren)); in PCView_GAMG() 1749 rd[0] = (ren - rst > 0) ? 1 : 0; in PCView_GAMG()
|
| /petsc/src/ksp/ksp/impls/fetidp/ ! |
| H A D | fetidp.c | 593 PetscInt rst, ren, n; in KSPFETIDPSetUpOperators() local 597 PetscCall(MatGetOwnershipRange(A, &rst, &ren)); in KSPFETIDPSetUpOperators()
|
| /petsc/src/ksp/pc/impls/bddc/ ! |
| H A D | bddcprivate.c | 222 PetscInt rst, ren, *idx; in PCBDDCNedelecSupport() local 226 PetscCall(MatGetOwnershipRange(pcbddc->discretegradient, &rst, &ren)); in PCBDDCNedelecSupport() 227 for (i = rst; i < ren; i++) { in PCBDDCNedelecSupport() 9715 PetscInt rst, ren; in MatMPIAIJRestrict() local 9719 rst = ren = 0; in MatMPIAIJRestrict() 9725 PetscCall(PetscLayoutGetRange(rmap, &rst, &ren)); in MatMPIAIJRestrict() 9727 PetscCall(ISCreateStride(PetscObjectComm((PetscObject)A), ren - rst, rst, 1, &rows)); in MatMPIAIJRestrict() 9738 PetscCall(MatSetSizes(*B, ren - rst, PETSC_DECIDE, PETSC_DECIDE, At->cmap->N)); in MatMPIAIJRestrict()
|
| /petsc/doc/ ! |
| H A D | petsc.bib | 21137 author = {Haw-ren Fang and Yousef Saad}, 33312 @Article{ mangasarian.ren:error, 33321 @Article{ mangasarian.ren:improved, 36018 @PhDThesis{ ren:computable,
|