xref: /petsc/src/mat/tests/output/ex23_3.out (revision e8c0849ab8fe171bed529bea27238c9b402db591)
1Test MatGetInfo
2Process   0: 33 66 33 1 0
3Process   1: 33 66 33 1 0
4Process   2: 33 66 33 1 0
5Process   3: 33 66 33 1 0
6Process   4: 33 66 33 1 0
7GlobalMax  : 33 66 33 1 0
8GlobalSum  : 165 330 165 1 0
9Test MatIsSymmetric: 0
10Test MatView
11Mat Object: 5 MPI processes
12  type: is
13  Mat Object: (is_) 1 MPI process
14    type: seqaij
15  row 0:   (0, 2.)    (1, -1.)    (9, -1.)
16  row 1:   (0, -2.)    (1, 4.)    (2, -2.)
17  row 2:   (1, -3.)    (2, 6.)    (3, -3.)
18  row 3:   (2, -4.)    (3, 8.)    (4, -4.)
19  row 4:   (3, -5.)    (4, 10.)    (5, -5.)
20  row 5:   (4, -6.)    (5, 12.)    (6, -6.)
21  row 6:   (5, -7.)    (6, 14.)    (7, -7.)
22  row 7:   (6, -8.)    (7, 16.)    (8, -8.)
23  row 8:   (7, -9.)    (8, 18.)    (9, -9.)
24  row 9:   (0, -10.)    (8, -10.)    (9, 20.)
25  row 10:   (0, 22.)    (1, -11.)    (9, -11.)
26  Mat Object: (is_) 1 MPI process
27    type: seqaij
28  row 0:   (0, 2.)    (1, -1.)    (9, -1.)
29  row 1:   (0, -2.)    (1, 4.)    (2, -2.)
30  row 2:   (1, -3.)    (2, 6.)    (3, -3.)
31  row 3:   (2, -4.)    (3, 8.)    (4, -4.)
32  row 4:   (3, -5.)    (4, 10.)    (5, -5.)
33  row 5:   (4, -6.)    (5, 12.)    (6, -6.)
34  row 6:   (5, -7.)    (6, 14.)    (7, -7.)
35  row 7:   (6, -8.)    (7, 16.)    (8, -8.)
36  row 8:   (7, -9.)    (8, 18.)    (9, -9.)
37  row 9:   (0, -10.)    (8, -10.)    (9, 20.)
38  row 10:   (0, 22.)    (1, -11.)    (9, -11.)
39  Mat Object: (is_) 1 MPI process
40    type: seqaij
41  row 0:   (0, 2.)    (1, -1.)    (9, -1.)
42  row 1:   (0, -2.)    (1, 4.)    (2, -2.)
43  row 2:   (1, -3.)    (2, 6.)    (3, -3.)
44  row 3:   (2, -4.)    (3, 8.)    (4, -4.)
45  row 4:   (3, -5.)    (4, 10.)    (5, -5.)
46  row 5:   (4, -6.)    (5, 12.)    (6, -6.)
47  row 6:   (5, -7.)    (6, 14.)    (7, -7.)
48  row 7:   (6, -8.)    (7, 16.)    (8, -8.)
49  row 8:   (7, -9.)    (8, 18.)    (9, -9.)
50  row 9:   (0, -10.)    (8, -10.)    (9, 20.)
51  row 10:   (0, 22.)    (1, -11.)    (9, -11.)
52  Mat Object: (is_) 1 MPI process
53    type: seqaij
54  row 0:   (0, 2.)    (1, -1.)    (9, -1.)
55  row 1:   (0, -2.)    (1, 4.)    (2, -2.)
56  row 2:   (1, -3.)    (2, 6.)    (3, -3.)
57  row 3:   (2, -4.)    (3, 8.)    (4, -4.)
58  row 4:   (3, -5.)    (4, 10.)    (5, -5.)
59  row 5:   (4, -6.)    (5, 12.)    (6, -6.)
60  row 6:   (5, -7.)    (6, 14.)    (7, -7.)
61  row 7:   (6, -8.)    (7, 16.)    (8, -8.)
62  row 8:   (7, -9.)    (8, 18.)    (9, -9.)
63  row 9:   (0, -10.)    (8, -10.)    (9, 20.)
64  row 10:   (0, 22.)    (1, -11.)    (9, -11.)
65  Mat Object: (is_) 1 MPI process
66    type: seqaij
67  row 0:   (0, 2.)    (1, -1.)    (9, -1.)
68  row 1:   (0, -2.)    (1, 4.)    (2, -2.)
69  row 2:   (1, -3.)    (2, 6.)    (3, -3.)
70  row 3:   (2, -4.)    (3, 8.)    (4, -4.)
71  row 4:   (3, -5.)    (4, 10.)    (5, -5.)
72  row 5:   (4, -6.)    (5, 12.)    (6, -6.)
73  row 6:   (5, -7.)    (6, 14.)    (7, -7.)
74  row 7:   (6, -8.)    (7, 16.)    (8, -8.)
75  row 8:   (7, -9.)    (8, 18.)    (9, -9.)
76  row 9:   (0, -10.)    (8, -10.)    (9, 20.)
77  row 10:   (0, 22.)    (1, -11.)    (9, -11.)
78Mat Object: 5 MPI processes
79  type: mpiaij
80  row 0:   (0, 10.)    (1, -5.)    (9, -5.)
81  row 1:   (0, -10.)    (1, 20.)    (2, -10.)
82  row 2:   (1, -15.)    (2, 30.)    (3, -15.)
83  row 3:   (2, -20.)    (3, 40.)    (4, -20.)
84  row 4:   (3, -25.)    (4, 50.)    (5, -25.)
85  row 5:   (4, -30.)    (5, 60.)    (6, -30.)
86  row 6:   (5, -35.)    (6, 70.)    (7, -35.)
87  row 7:   (6, -40.)    (7, 80.)    (8, -40.)
88  row 8:   (7, -45.)    (8, 90.)    (9, -45.)
89  row 9:   (0, -50.)    (8, -50.)    (9, 100.)
90  row 10:   (0, 110.)    (1, -55.)    (9, -55.)
91Test CheckMat
92Test MatView on binary world
93Test MatView on binary self
94Test MatView on binary subcomm
95Test MatLoad from world
96Mat Object: 5 MPI processes
97  type: is
98  rows=11, cols=10
99  total: nonzeros=165, allocated nonzeros=165
100  total number of mallocs used during MatSetValues calls=0
101    Mat Object: 1 MPI process
102      type: seqaij
103      rows=11, cols=10
104      total: nonzeros=33, allocated nonzeros=33
105      total number of mallocs used during MatSetValues calls=0
106        not using I-node routines
107    Mat Object: 1 MPI process
108      type: seqaij
109      rows=11, cols=10
110      total: nonzeros=33, allocated nonzeros=33
111      total number of mallocs used during MatSetValues calls=0
112        not using I-node routines
113    Mat Object: 1 MPI process
114      type: seqaij
115      rows=11, cols=10
116      total: nonzeros=33, allocated nonzeros=33
117      total number of mallocs used during MatSetValues calls=0
118        not using I-node routines
119    Mat Object: 1 MPI process
120      type: seqaij
121      rows=11, cols=10
122      total: nonzeros=33, allocated nonzeros=33
123      total number of mallocs used during MatSetValues calls=0
124        not using I-node routines
125    Mat Object: 1 MPI process
126      type: seqaij
127      rows=11, cols=10
128      total: nonzeros=33, allocated nonzeros=33
129      total number of mallocs used during MatSetValues calls=0
130        not using I-node routines
131    ISLocalToGlobalMapping Object: 5 MPI processes
132      type not yet set
133    [0] 0 0
134    [0] 1 1
135    [0] 2 2
136    [0] 3 3
137    [0] 4 4
138    [0] 5 5
139    [0] 6 6
140    [0] 7 7
141    [0] 8 8
142    [0] 9 9
143    [0] 10 10
144    [1] 0 0
145    [1] 1 1
146    [1] 2 2
147    [1] 3 3
148    [1] 4 4
149    [1] 5 5
150    [1] 6 6
151    [1] 7 7
152    [1] 8 8
153    [1] 9 9
154    [1] 10 10
155    [2] 0 0
156    [2] 1 1
157    [2] 2 2
158    [2] 3 3
159    [2] 4 4
160    [2] 5 5
161    [2] 6 6
162    [2] 7 7
163    [2] 8 8
164    [2] 9 9
165    [2] 10 10
166    [3] 0 0
167    [3] 1 1
168    [3] 2 2
169    [3] 3 3
170    [3] 4 4
171    [3] 5 5
172    [3] 6 6
173    [3] 7 7
174    [3] 8 8
175    [3] 9 9
176    [3] 10 10
177    [4] 0 0
178    [4] 1 1
179    [4] 2 2
180    [4] 3 3
181    [4] 4 4
182    [4] 5 5
183    [4] 6 6
184    [4] 7 7
185    [4] 8 8
186    [4] 9 9
187    [4] 10 10
188    ISLocalToGlobalMapping Object: 5 MPI processes
189      type not yet set
190    [0] 0 0
191    [0] 1 1
192    [0] 2 2
193    [0] 3 3
194    [0] 4 4
195    [0] 5 5
196    [0] 6 6
197    [0] 7 7
198    [0] 8 8
199    [0] 9 9
200    [1] 0 0
201    [1] 1 1
202    [1] 2 2
203    [1] 3 3
204    [1] 4 4
205    [1] 5 5
206    [1] 6 6
207    [1] 7 7
208    [1] 8 8
209    [1] 9 9
210    [2] 0 0
211    [2] 1 1
212    [2] 2 2
213    [2] 3 3
214    [2] 4 4
215    [2] 5 5
216    [2] 6 6
217    [2] 7 7
218    [2] 8 8
219    [2] 9 9
220    [3] 0 0
221    [3] 1 1
222    [3] 2 2
223    [3] 3 3
224    [3] 4 4
225    [3] 5 5
226    [3] 6 6
227    [3] 7 7
228    [3] 8 8
229    [3] 9 9
230    [4] 0 0
231    [4] 1 1
232    [4] 2 2
233    [4] 3 3
234    [4] 4 4
235    [4] 5 5
236    [4] 6 6
237    [4] 7 7
238    [4] 8 8
239    [4] 9 9
240Test MatLoad from self
241Mat Object: 5 MPI processes
242  type: is
243  rows=11, cols=10
244  total: nonzeros=33, allocated nonzeros=33
245  total number of mallocs used during MatSetValues calls=0
246    Mat Object: 1 MPI process
247      type: seqaij
248      rows=11, cols=10, rbs=1, cbs=2
249      total: nonzeros=33, allocated nonzeros=33
250      total number of mallocs used during MatSetValues calls=0
251        not using I-node routines
252    Mat Object: 1 MPI process
253      type: seqaij
254      rows=0, cols=0, rbs=1, cbs=2
255      total: nonzeros=0, allocated nonzeros=0
256      total number of mallocs used during MatSetValues calls=0
257        not using I-node routines
258    Mat Object: 1 MPI process
259      type: seqaij
260      rows=0, cols=0, rbs=1, cbs=2
261      total: nonzeros=0, allocated nonzeros=0
262      total number of mallocs used during MatSetValues calls=0
263        not using I-node routines
264    Mat Object: 1 MPI process
265      type: seqaij
266      rows=0, cols=0, rbs=1, cbs=2
267      total: nonzeros=0, allocated nonzeros=0
268      total number of mallocs used during MatSetValues calls=0
269        not using I-node routines
270    Mat Object: 1 MPI process
271      type: seqaij
272      rows=0, cols=0, rbs=1, cbs=2
273      total: nonzeros=0, allocated nonzeros=0
274      total number of mallocs used during MatSetValues calls=0
275        not using I-node routines
276    ISLocalToGlobalMapping Object: 5 MPI processes
277      type not yet set
278    [0] 0 0
279    [0] 1 1
280    [0] 2 2
281    [0] 3 3
282    [0] 4 4
283    [0] 5 5
284    [0] 6 6
285    [0] 7 7
286    [0] 8 8
287    [0] 9 9
288    [0] 10 10
289    ISLocalToGlobalMapping Object: 5 MPI processes
290      type not yet set
291    [0] 0 0
292    [0] 1 1
293    [0] 2 2
294    [0] 3 3
295    [0] 4 4
296    [0] 5 5
297    [0] 6 6
298    [0] 7 7
299    [0] 8 8
300    [0] 9 9
301Test MatLoad from subcomm
302Mat Object: 5 MPI processes
303  type: is
304  rows=11, cols=10
305  total: nonzeros=99, allocated nonzeros=99
306  total number of mallocs used during MatSetValues calls=0
307    Mat Object: 1 MPI process
308      type: seqaij
309      rows=11, cols=10
310      total: nonzeros=33, allocated nonzeros=33
311      total number of mallocs used during MatSetValues calls=0
312        not using I-node routines
313    Mat Object: 1 MPI process
314      type: seqaij
315      rows=11, cols=10
316      total: nonzeros=33, allocated nonzeros=33
317      total number of mallocs used during MatSetValues calls=0
318        not using I-node routines
319    Mat Object: 1 MPI process
320      type: seqaij
321      rows=11, cols=10
322      total: nonzeros=33, allocated nonzeros=33
323      total number of mallocs used during MatSetValues calls=0
324        not using I-node routines
325    Mat Object: 1 MPI process
326      type: seqaij
327      rows=0, cols=0
328      total: nonzeros=0, allocated nonzeros=0
329      total number of mallocs used during MatSetValues calls=0
330        not using I-node routines
331    Mat Object: 1 MPI process
332      type: seqaij
333      rows=0, cols=0
334      total: nonzeros=0, allocated nonzeros=0
335      total number of mallocs used during MatSetValues calls=0
336        not using I-node routines
337    ISLocalToGlobalMapping Object: 5 MPI processes
338      type not yet set
339    [0] 0 0
340    [0] 1 1
341    [0] 2 2
342    [0] 3 3
343    [0] 4 4
344    [0] 5 5
345    [0] 6 6
346    [0] 7 7
347    [0] 8 8
348    [0] 9 9
349    [0] 10 10
350    [1] 0 0
351    [1] 1 1
352    [1] 2 2
353    [1] 3 3
354    [1] 4 4
355    [1] 5 5
356    [1] 6 6
357    [1] 7 7
358    [1] 8 8
359    [1] 9 9
360    [1] 10 10
361    [2] 0 0
362    [2] 1 1
363    [2] 2 2
364    [2] 3 3
365    [2] 4 4
366    [2] 5 5
367    [2] 6 6
368    [2] 7 7
369    [2] 8 8
370    [2] 9 9
371    [2] 10 10
372    ISLocalToGlobalMapping Object: 5 MPI processes
373      type not yet set
374    [0] 0 0
375    [0] 1 1
376    [0] 2 2
377    [0] 3 3
378    [0] 4 4
379    [0] 5 5
380    [0] 6 6
381    [0] 7 7
382    [0] 8 8
383    [0] 9 9
384    [1] 0 0
385    [1] 1 1
386    [1] 2 2
387    [1] 3 3
388    [1] 4 4
389    [1] 5 5
390    [1] 6 6
391    [1] 7 7
392    [1] 8 8
393    [1] 9 9
394    [2] 0 0
395    [2] 1 1
396    [2] 2 2
397    [2] 3 3
398    [2] 4 4
399    [2] 5 5
400    [2] 6 6
401    [2] 7 7
402    [2] 8 8
403    [2] 9 9
404Test subcomm MatLoad from world
405Mat Object: 3 MPI processes
406  type: is
407  rows=11, cols=10
408  total: nonzeros=165, allocated nonzeros=165
409  total number of mallocs used during MatSetValues calls=0
410    Mat Object: 1 MPI process
411      type: seqaij
412      rows=22, cols=20
413      total: nonzeros=66, allocated nonzeros=66
414      total number of mallocs used during MatSetValues calls=0
415        not using I-node routines
416    Mat Object: 1 MPI process
417      type: seqaij
418      rows=22, cols=20
419      total: nonzeros=66, allocated nonzeros=66
420      total number of mallocs used during MatSetValues calls=0
421        not using I-node routines
422    Mat Object: 1 MPI process
423      type: seqaij
424      rows=11, cols=10
425      total: nonzeros=33, allocated nonzeros=33
426      total number of mallocs used during MatSetValues calls=0
427        not using I-node routines
428    ISLocalToGlobalMapping Object: 3 MPI processes
429      type not yet set
430    [0] 0 0
431    [0] 1 1
432    [0] 2 2
433    [0] 3 3
434    [0] 4 4
435    [0] 5 5
436    [0] 6 6
437    [0] 7 7
438    [0] 8 8
439    [0] 9 9
440    [0] 10 10
441    [0] 11 0
442    [0] 12 1
443    [0] 13 2
444    [0] 14 3
445    [0] 15 4
446    [0] 16 5
447    [0] 17 6
448    [0] 18 7
449    [0] 19 8
450    [0] 20 9
451    [0] 21 10
452    [1] 0 0
453    [1] 1 1
454    [1] 2 2
455    [1] 3 3
456    [1] 4 4
457    [1] 5 5
458    [1] 6 6
459    [1] 7 7
460    [1] 8 8
461    [1] 9 9
462    [1] 10 10
463    [1] 11 0
464    [1] 12 1
465    [1] 13 2
466    [1] 14 3
467    [1] 15 4
468    [1] 16 5
469    [1] 17 6
470    [1] 18 7
471    [1] 19 8
472    [1] 20 9
473    [1] 21 10
474    [2] 0 0
475    [2] 1 1
476    [2] 2 2
477    [2] 3 3
478    [2] 4 4
479    [2] 5 5
480    [2] 6 6
481    [2] 7 7
482    [2] 8 8
483    [2] 9 9
484    [2] 10 10
485    ISLocalToGlobalMapping Object: 3 MPI processes
486      type not yet set
487    [0] 0 0
488    [0] 1 1
489    [0] 2 2
490    [0] 3 3
491    [0] 4 4
492    [0] 5 5
493    [0] 6 6
494    [0] 7 7
495    [0] 8 8
496    [0] 9 9
497    [0] 10 0
498    [0] 11 1
499    [0] 12 2
500    [0] 13 3
501    [0] 14 4
502    [0] 15 5
503    [0] 16 6
504    [0] 17 7
505    [0] 18 8
506    [0] 19 9
507    [1] 0 0
508    [1] 1 1
509    [1] 2 2
510    [1] 3 3
511    [1] 4 4
512    [1] 5 5
513    [1] 6 6
514    [1] 7 7
515    [1] 8 8
516    [1] 9 9
517    [1] 10 0
518    [1] 11 1
519    [1] 12 2
520    [1] 13 3
521    [1] 14 4
522    [1] 15 5
523    [1] 16 6
524    [1] 17 7
525    [1] 18 8
526    [1] 19 9
527    [2] 0 0
528    [2] 1 1
529    [2] 2 2
530    [2] 3 3
531    [2] 4 4
532    [2] 5 5
533    [2] 6 6
534    [2] 7 7
535    [2] 8 8
536    [2] 9 9
537Test MatDuplicate and MatAXPY
538Test MatConvert_IS_XAIJ
539Test MatConvert_XAIJ_IS
540Test MatDiagonalScale
541Test MatGetLocalSubMatrix
542Test MatConvert_Nest_IS
543Test MatCreateSubMatrix
544Test MatCreateSubMatrices
545IS Object: 5 MPI processes
546  type: stride
547[0] Number of indices in (stride) set 4
548[0] 0 6
549[0] 1 7
550[0] 2 8
551[0] 3 9
552[1] Number of indices in (stride) set 0
553[2] Number of indices in (stride) set 0
554[3] Number of indices in (stride) set 0
555[4] Number of indices in (stride) set 0
556Test MatZeroRows (diag zero)
557IS Object: 5 MPI processes
558  type: stride
559[0] Number of indices in (stride) set 1
560[0] 0 0
561[1] Number of indices in (stride) set 1
562[1] 0 0
563[2] Number of indices in (stride) set 1
564[2] 0 0
565[3] Number of indices in (stride) set 1
566[3] 0 0
567[4] Number of indices in (stride) set 1
568[4] 0 0
569Test MatZeroRowsLocal (diag zero)
570Test MatTranspose
571Test MatISFixLocalEmpty
572Test MatGetDiagonalBlock
573Test MatISSetAllowRepeated(false) with possibly repeated entries
574