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