| /petsc/src/ksp/ksp/tutorials/output/ |
| H A D | ex21_1.out | 3 0: ||M*A - I|| NORM2 abs 0.999692 rel 1. 4 1: ||M*A - I|| NORM2 abs 0.999647 rel 0.999956 5 2: ||M*A - I|| NORM2 abs 0.999715 rel 1.00002 6 3: ||M*A - I|| NORM2 abs 0.999848 rel 1.00016 7 4: ||M*A - I|| NORM2 abs 0.999899 rel 1.00021 8 5: ||M*A - I|| NORM2 abs 0.999856 rel 1.00016 9 6: ||M*A - I|| NORM2 abs 0.999789 rel 1.0001 10 7: ||M*A - I|| NORM2 abs 0.999662 rel 0.99997 11 8: ||M*A - I|| NORM2 abs 0.999398 rel 0.999706 12 9: ||M*A - I|| NORM2 abs 0.99895 rel 0.999259 [all …]
|
| H A D | ex21_2.out | 3 0: ||M*A - I|| NORM2 abs 0.999692 rel 1. 4 1: ||M*A - I|| NORM2 abs 0.999715 rel 1.00002 5 2: ||M*A - I|| NORM2 abs 0.999899 rel 1.00021 6 3: ||M*A - I|| NORM2 abs 0.999789 rel 1.0001 7 4: ||M*A - I|| NORM2 abs 0.999398 rel 0.999706 8 5: ||M*A - I|| NORM2 abs 0.998234 rel 0.998542 9 6: ||M*A - I|| NORM2 abs 0.994504 rel 0.994811 10 7: ||M*A - I|| NORM2 abs 0.9799 rel 0.980202 11 8: ||M*A - I|| NORM2 abs 0.92246 rel 0.922744 12 9: ||M*A - I|| NORM2 abs 0.724701 rel 0.724924 [all …]
|
| /petsc/src/binding/petsc4py/demo/legacy/kspsolve/ |
| H A D | petsc-mat.py | 27 for I in range(Istart, Iend) : 28 A[I,I] = diagv 29 i = I//n # map row number to 30 j = I - i*n # grid coordinates 31 if i> 0 : J = I-n; A[I,J] = offdx 32 if i< m-1: J = I+n; A[I,J] = offdx 33 if j> 0 : J = I-1; A[I,J] = offdy 34 if j< n-1: J = I+1; A[I,J] = offdy
|
| /petsc/src/mat/tests/ |
| H A D | ex106.c | 12 PetscInt I, J, ldim, low, high, iglobal, Istart, Iend; in main() local 50 for (I = Istart; I < Iend; I++) { in main() 52 i = I / n; in main() 53 j = I - i * n; in main() 55 J = I - n; in main() 56 PetscCall(MatSetValues(C, 1, &I, 1, &J, &v, ADD_VALUES)); in main() 59 J = I + n; in main() 60 PetscCall(MatSetValues(C, 1, &I, 1, &J, &v, ADD_VALUES)); in main() 63 J = I - 1; in main() 64 PetscCall(MatSetValues(C, 1, &I, 1, &J, &v, ADD_VALUES)); in main() [all …]
|
| /petsc/src/binding/petsc4py/demo/legacy/binary-io/ |
| H A D | matvecio.py | 16 for I in range(Istart, Iend): 17 A[I,I] = 4 18 i = I//n 19 if i>0 : J = I-n; A[I,J] = -1 20 if i<m-1: J = I+n; A[I,J] = -1 21 j = I-i*n 22 if j>0 : J = I-1; A[I,J] = -1 23 if j<n-1: J = I+1; A[I,J] = -1
|
| /petsc/src/ksp/ksp/tests/raja/ |
| H A D | ex1.raja.cxx | 93 void computeErr(double *I, grid_s grid); 127 double *I = memoryManager::allocate<double>(NN); in main() local 130 memset(I, 0, NN * sizeof(double)); in main() 149 I[id] = 0.25 * (-f + Iold[id - N - 2] + Iold[id + N + 2] + Iold[id - 1] + Iold[id + 1]); in main() 158 resI2 += (I[k] - Iold[k]) * (I[k] - Iold[k]); in main() 159 Iold[k] = I[k]; in main() 169 computeErr(I, gridx); in main() 183 memset(I, 0, NN * sizeof(double)); in main() 202 I[id] = 0.25 * (-f + Iold[id - N - 2] + Iold[id + N + 2] + Iold[id - 1] + Iold[id + 1]); in main() 207 RAJA_resI2 += (I[k] - Iold[k]) * (I[k] - Iold[k]); in main() [all …]
|
| /petsc/src/mat/tests/output/ |
| H A D | ex37_nsize-1_mat_type-aij_mat_block_size-1.out | 18 not using I-node routines 24 not using I-node routines 30 not using I-node routines 36 not using I-node routines 42 not using I-node routines 48 not using I-node routines 54 not using I-node routines 60 not using I-node routines 66 not using I-node routines 72 not using I-node routines [all …]
|
| H A D | ex37_nsize-1_mat_type-mpiaij_mat_block_size-1.out | 18 not using I-node (on process 0) routines 24 not using I-node (on process 0) routines 30 not using I-node (on process 0) routines 36 not using I-node (on process 0) routines 42 not using I-node (on process 0) routines 48 not using I-node (on process 0) routines 54 not using I-node (on process 0) routines 60 not using I-node (on process 0) routines 66 not using I-node (on process 0) routines 72 not using I-node (on process 0) routines [all …]
|
| H A D | ex37_nsize-2_mat_type-aij_mat_block_size-1.out | 18 not using I-node (on process 0) routines 24 not using I-node (on process 0) routines 30 not using I-node (on process 0) routines 36 not using I-node (on process 0) routines 42 not using I-node (on process 0) routines 48 not using I-node (on process 0) routines 54 not using I-node (on process 0) routines 60 not using I-node (on process 0) routines 66 not using I-node (on process 0) routines 72 not using I-node (on process 0) routines [all …]
|
| H A D | ex37_nsize-2_mat_type-aij_mat_block_size-2.out | 18 not using I-node (on process 0) routines 24 not using I-node (on process 0) routines 30 not using I-node (on process 0) routines 36 not using I-node (on process 0) routines 42 not using I-node (on process 0) routines 48 not using I-node (on process 0) routines 54 not using I-node (on process 0) routines 60 not using I-node (on process 0) routines 66 not using I-node (on process 0) routines 72 not using I-node (on process 0) routines [all …]
|
| H A D | ex37_nsize-2_mat_type-mpiaij_mat_block_size-2.out | 18 not using I-node (on process 0) routines 24 not using I-node (on process 0) routines 30 not using I-node (on process 0) routines 36 not using I-node (on process 0) routines 42 not using I-node (on process 0) routines 48 not using I-node (on process 0) routines 54 not using I-node (on process 0) routines 60 not using I-node (on process 0) routines 66 not using I-node (on process 0) routines 72 not using I-node (on process 0) routines [all …]
|
| H A D | ex37_nsize-2_mat_type-mpiaij_mat_block_size-1.out | 18 not using I-node (on process 0) routines 24 not using I-node (on process 0) routines 30 not using I-node (on process 0) routines 36 not using I-node (on process 0) routines 42 not using I-node (on process 0) routines 48 not using I-node (on process 0) routines 54 not using I-node (on process 0) routines 60 not using I-node (on process 0) routines 66 not using I-node (on process 0) routines 72 not using I-node (on process 0) routines [all …]
|
| H A D | ex37_nsize-1_mat_type-mpiaij_mat_block_size-2.out | 18 not using I-node (on process 0) routines 24 not using I-node (on process 0) routines 30 not using I-node (on process 0) routines 36 not using I-node (on process 0) routines 42 not using I-node (on process 0) routines 48 not using I-node (on process 0) routines 54 not using I-node (on process 0) routines 60 not using I-node (on process 0) routines 66 not using I-node (on process 0) routines 72 not using I-node (on process 0) routines [all …]
|
| H A D | ex37_nsize-1_mat_type-aij_mat_block_size-2.out | 18 not using I-node routines 24 not using I-node routines 30 not using I-node routines 36 not using I-node routines 42 not using I-node routines 48 not using I-node routines 54 not using I-node routines 60 not using I-node routines 66 not using I-node routines 72 not using I-node routines [all …]
|
| H A D | ex23_4.out | 106 not using I-node routines 112 not using I-node routines 118 not using I-node routines 124 not using I-node routines 130 not using I-node routines 136 not using I-node routines 278 not using I-node routines 284 not using I-node routines 290 not using I-node routines 296 not using I-node routines [all …]
|
| H A D | ex23_11.out | 112 not using I-node routines 118 not using I-node routines 124 not using I-node routines 130 not using I-node routines 136 not using I-node routines 297 not using I-node routines 303 not using I-node routines 309 not using I-node routines 315 not using I-node routines 321 not using I-node routines [all …]
|
| H A D | ex23_3.out | 106 not using I-node routines 112 not using I-node routines 118 not using I-node routines 124 not using I-node routines 130 not using I-node routines 251 not using I-node routines 257 not using I-node routines 263 not using I-node routines 269 not using I-node routines 275 not using I-node routines [all …]
|
| H A D | ex23_10.out | 112 not using I-node routines 118 not using I-node routines 124 not using I-node routines 130 not using I-node routines 136 not using I-node routines 272 not using I-node routines 278 not using I-node routines 284 not using I-node routines 290 not using I-node routines 296 not using I-node routines [all …]
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | gmsh-3d-binary-32.msh | 32 GHIJKLMNOPQRS������?@������?@������?���… 52 IM PI 54 …IIP!#L"GL##RG'N(HN'… 56 …W_*E*\WF+_,G,_VHV`,ITYUJU… 60 …IP6��iPa��ia6��F:z{�`zr{�…
|
| H A D | square_periodic_bin.msh | 9 …$@����B�@$@��p@$@R�I*�@… 11 �@R�I*�@��p@����B�@… 14 …I��@D�Q�;8@R�� r@E:6���v@k��,I@F�r�Zd�"@�uj����?G… 34 …I3-(4K5… 36 …:Gy(9Hz4dI{…
|
| H A D | surfacesphere_bin.msh | 13 �?֏o ��H�>�pGο����Q�?ޡ�|���I��[%H��.k݉��"=�Ċ�J_�h�ܿŧI���I��+�߿KĈtR���F����ؿ�0~… 16 …�lS8kҿY�I��̿h�����<����Z8��Y�v�V�ȿ����[YvQs;��e��n�̿j��13b�\7Qk݉��?Z �Ċ�… 19 …���Iݿ����.��?������?���=�鿴I��r��?�"w����?��S�.߿�o�b��?��K��?�$=�Ċ�?��[%H�?�.k݉�… 21 … F#[$�?������?�2�Q��?�^jP`�?�%�lS8k�?'�tq�M�?���8���?��<����?�I���?h����?���… 26 …S����?B;���㿎e�G���?���¿v�?��w��ѿ��U9���?�������?P}���Iݿ����.��?��"w����?���=�鿴I��r��?�… 35 …T+QB+TCIUK…
|
| H A D | gmsh-3d-binary.msh2 | 43 …�?�}�&#�?�}�&#�?GA������?������?H^������?^������?I��?�… 59 …ILH"HMI#GLI$… 61 …G(,YWH(W`,I(V^U… 65 …~f��d-}{�dI�}{…
|
| /petsc/lib/petsc/bin/ |
| H A D | PetscBinaryIO.py | 286 I = np.empty(M+1, dtype=self._inttype) 287 I[0] = 0 289 np.cumsum(rownz, out=I[1:]) 290 assert I[-1] == nz 299 return MatSparse(((M, N), (I, J, V))) 305 ((M,N), (I,J,V)) = mat 306 metadata = np.array([MatSparse._classid,M,N,I[-1]], dtype=self._inttype) 307 rownz = I[1:] - I[:-1] 309 assert len(J.shape) == len(V.shape) == len(I.shape) == 1 310 assert len(J) == len(V) == I[-1] == rownz.sum() [all …]
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex54f.F90 | 12 PetscInt:: IR(1), IC(1), I, J, DMS = 4 ! Set DMS=3 for a 3x3 squared system 31 do I = 1, DMS 32 IR(1) = I - 1; IC(1) = J - 1; X(1) = MV(J + (I - 1)*3) 45 do I = 1, DMS 46 IR(1) = I - 1
|
| /petsc/ |
| H A D | CONTRIBUTING | 19 By making a contribution to this project, I certify that: 21 (a) The contribution was created in whole or in part by me and I 27 license and I have the right under that license to submit that 29 by me, under the same open-source license (unless I am 34 person who certified (a), (b) or (c) and I have not modified 37 (d) I understand and agree that this project and the contribution 39 personal information I submit with it, including my sign-off) is
|