| /petsc/src/mat/tests/ |
| H A D | ex141.c | 9 PetscInt i, bs = 2, mbs, m, block, d_nz = 6, col[3]; in main() local 43 for (block = 0; block < mbs; block++) { in main() 48 for (i = 1 + block * bs; i < bs - 1 + block * bs; i++) { in main() 54 i = bs - 1 + block * bs; in main() 55 col[0] = bs - 2 + block * bs; in main() 56 col[1] = bs - 1 + block * bs; in main() 62 i = 0 + block * bs; in main() 63 col[0] = 0 + block * bs; in main() 64 col[1] = 1 + block * bs; in main() 75 for (block = 0; block < mbs - 1; block++) { in main() [all …]
|
| H A D | ex264.c | 22 Mat block[4], H, R, C, M; in main() local 66 block[0] = R; in main() 67 block[1] = C; in main() 69 PetscCall(MatCreateHermitianTranspose(C, &block[2])); in main() 70 PetscCall(MatScale(block[2], PetscConj(b))); in main() 71 PetscCall(MatShift(block[2], d)); in main() 72 PetscCall(MatCreateTranspose(R, &block[3])); in main() 73 PetscCall(MatScale(block[3], PetscConj(d))); in main() 74 PetscCall(MatShift(block[3], b)); in main() 75 PetscCall(MatCreateNest(PetscObjectComm((PetscObject)R), 2, NULL, 2, NULL, block, &H)); in main() [all …]
|
| H A D | ex55.c | 9 PetscInt i, j, ntypes, bs, mbs, m, block, d_nz = 6, o_nz = 3, col[3], row, verbose = 0; in main() local 67 for (block = 0; block < mbs; block++) { in main() 72 for (i = 1 + block * bs; i < bs - 1 + block * bs; i++) { in main() 78 i = bs - 1 + block * bs; in main() 79 col[0] = bs - 2 + block * bs; in main() 80 col[1] = bs - 1 + block * bs; in main() 85 i = 0 + block * bs; in main() 86 col[0] = 0 + block * bs; in main() 87 col[1] = 1 + block * bs; in main()
|
| H A D | ex202.c | 12 Mat subs[2 * 3], **block; in TestInitialMatrix() local 35 PetscCall(MatNestGetSubMats(A, NULL, NULL, &block)); in TestInitialMatrix() 37 for (j = 0; j < nc; j++) PetscCall(MatView(block[i][j], PETSC_VIEWER_STDOUT_WORLD)); in TestInitialMatrix() 41 PetscCall(MatNestGetSubMats(Atranspose, NULL, NULL, &block)); in TestInitialMatrix() 43 for (j = 0; j < nr; j++) PetscCall(MatView(block[i][j], PETSC_VIEWER_STDOUT_WORLD)); in TestInitialMatrix() 103 Mat subs[2 * 2], **block; in TestReuseMatrix() local 117 PetscCall(MatNestGetSubMats(A, NULL, NULL, &block)); in TestReuseMatrix() 119 for (j = 0; j < n; j++) PetscCall(MatView(block[i][j], PETSC_VIEWER_STDOUT_WORLD)); in TestReuseMatrix() 123 PetscCall(MatNestGetSubMats(A, NULL, NULL, &block)); in TestReuseMatrix() 125 for (j = 0; j < n; j++) PetscCall(MatView(block[i][j], PETSC_VIEWER_STDOUT_WORLD)); in TestReuseMatrix()
|
| /petsc/src/mat/tests/output/ |
| H A D | ex139_1.out | 16 type: block 18 Number of block indices in set 3 19 The first indices of each block are 24 Number of block indices in set 3 25 The first indices of each block are 31 type: block 33 Number of block indices in set 3 34 The first indices of each block are 39 Number of block indices in set 3 40 The first indices of each block are
|
| /petsc/src/vec/vec/utils/tagger/tutorials/output/ |
| H A D | ex1_6.out | 25 IS Object: Tagged IS (block global) 3 MPI processes 26 type: block 28 Number of block indices in set 1 29 The first indices of each block are 32 Number of block indices in set 3 33 The first indices of each block are 38 Number of block indices in set 2 39 The first indices of each block are
|
| H A D | ex1_1.out | 24 IS Object: Tagged IS (block global) 3 MPI processes 25 type: block 27 Number of block indices in set 2 28 The first indices of each block are 32 Number of block indices in set 4 33 The first indices of each block are 39 Number of block indices in set 4 40 The first indices of each block are
|
| H A D | ex1_7.out | 26 IS Object: Tagged IS (block global) 3 MPI processes 27 type: block 29 Number of block indices in set 1 30 The first indices of each block are 33 Number of block indices in set 3 34 The first indices of each block are 39 Number of block indices in set 2 40 The first indices of each block are
|
| H A D | ex1_9.out | 32 IS Object: Tagged IS (block global) 3 MPI processes 33 type: block 35 Number of block indices in set 0 36 The first indices of each block are 38 Number of block indices in set 0 39 The first indices of each block are 41 Number of block indices in set 1 42 The first indices of each block are
|
| H A D | ex1_16.out | 25 IS Object: Tagged IS (block global) 3 MPI processes 26 type: block 28 Number of block indices in set 0 29 The first indices of each block are 31 Number of block indices in set 2 32 The first indices of each block are 36 Number of block indices in set 1 37 The first indices of each block are
|
| H A D | ex1_8.out | 33 IS Object: Tagged IS (block global) 3 MPI processes 34 type: block 36 Number of block indices in set 3 37 The first indices of each block are 42 Number of block indices in set 1 43 The first indices of each block are 46 Number of block indices in set 2 47 The first indices of each block are
|
| H A D | ex1_17.out | 26 IS Object: Tagged IS (block global) 3 MPI processes 27 type: block 29 Number of block indices in set 0 30 The first indices of each block are 32 Number of block indices in set 2 33 The first indices of each block are 37 Number of block indices in set 1 38 The first indices of each block are
|
| H A D | ex1_11.out | 24 IS Object: Tagged IS (block global) 3 MPI processes 25 type: block 27 Number of block indices in set 1 28 The first indices of each block are 31 Number of block indices in set 4 32 The first indices of each block are 38 Number of block indices in set 4 39 The first indices of each block are
|
| H A D | ex1_19.out | 32 IS Object: Tagged IS (block global) 3 MPI processes 33 type: block 35 Number of block indices in set 0 36 The first indices of each block are 38 Number of block indices in set 1 39 The first indices of each block are 42 Number of block indices in set 0 43 The first indices of each block are
|
| H A D | ex1_18.out | 33 IS Object: Tagged IS (block global) 3 MPI processes 34 type: block 36 Number of block indices in set 1 37 The first indices of each block are 40 Number of block indices in set 0 41 The first indices of each block are 43 Number of block indices in set 1 44 The first indices of each block are
|
| H A D | ex1_2.out | 21 IS Object: Tagged IS (block global) 1 MPI process 22 type: block 24 Number of block indices in set 3 25 The first indices of each block are
|
| H A D | ex1_3.out | 21 IS Object: Tagged IS (block global) 1 MPI process 22 type: block 24 Number of block indices in set 3 25 The first indices of each block are
|
| H A D | ex1_5.out | 21 IS Object: Tagged IS (block global) 1 MPI process 22 type: block 24 Number of block indices in set 5 25 The first indices of each block are
|
| H A D | ex1_4.out | 22 IS Object: Tagged IS (block global) 1 MPI process 23 type: block 25 Number of block indices in set 3 26 The first indices of each block are
|
| /petsc/src/vec/is/ao/impls/basic/ |
| H A D | aobasic.c | 79 static PetscErrorCode AOPetscToApplicationPermuteInt_Basic(AO ao, PetscInt block, PetscInt *array) in AOPetscToApplicationPermuteInt_Basic() argument 86 PetscCall(PetscMalloc1(ao->N * block, &temp)); in AOPetscToApplicationPermuteInt_Basic() 88 for (j = 0; j < block; j++) temp[i * block + j] = array[aobasic->petsc[i] * block + j]; in AOPetscToApplicationPermuteInt_Basic() 90 PetscCall(PetscArraycpy(array, temp, ao->N * block)); in AOPetscToApplicationPermuteInt_Basic() 95 static PetscErrorCode AOApplicationToPetscPermuteInt_Basic(AO ao, PetscInt block, PetscInt *array) in AOApplicationToPetscPermuteInt_Basic() argument 102 PetscCall(PetscMalloc1(ao->N * block, &temp)); in AOApplicationToPetscPermuteInt_Basic() 104 for (j = 0; j < block; j++) temp[i * block + j] = array[aobasic->app[i] * block + j]; in AOApplicationToPetscPermuteInt_Basic() 106 PetscCall(PetscArraycpy(array, temp, ao->N * block)); in AOApplicationToPetscPermuteInt_Basic() 111 static PetscErrorCode AOPetscToApplicationPermuteReal_Basic(AO ao, PetscInt block, PetscReal *array) in AOPetscToApplicationPermuteReal_Basic() argument 118 PetscCall(PetscMalloc1(ao->N * block, &temp)); in AOPetscToApplicationPermuteReal_Basic() [all …]
|
| /petsc/src/vec/is/is/tutorials/output/ |
| H A D | ex3_1.out | 2 type: block 4 Number of block indices in set 4 5 The first indices of each block are 23 Printing block indices directly
|
| /petsc/src/binding/petsc4py/docs/source/_templates/autosummary/ |
| H A D | module.rst | 8 {% block classes %} 19 {% block exceptions %} 30 {% block functions %} 41 {% block attributes %} 52 {% block modules %}
|
| /petsc/src/dm/impls/plex/tests/output/ |
| H A D | ex15_1.out | 1 ==== original V in global ordering. size==18 block size=2 24 ==== V in natural ordering. size==18 block size=2 47 ==== Vector from file. size==18 block size=2 71 ==== Vector from file. size==18 block size=2
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex87.c | 24 Mat H, R, C, block[4]; in main() local 86 block[0] = R; in main() 87 block[1] = C; in main() 90 PetscCall(MatCreateHermitianTranspose(C, &block[2])); in main() 91 PetscCall(MatScale(block[2], -1.0)); in main() 92 PetscCall(MatCreateTranspose(R, &block[3])); in main() 93 PetscCall(MatScale(block[3], -1.0)); in main() 96 PetscCall(MatCreateNest(PetscObjectComm((PetscObject)R), 2, NULL, 2, NULL, block, &H)); in main() 97 PetscCall(MatDestroy(&block[2])); in main() 98 PetscCall(MatDestroy(&block[3])); in main()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex42-mgfs.opts | 1 ## Outer solver on the full block system 19 ## configure the A_UU^{-1} block to be a iterative solve 26 ## configure the A_pp^{-1} block to just be the diagonal of A_pp 30 ## end fieldsplit block configuration
|