xref: /petsc/src/mat/tests/output/ex23_12.out (revision f13dfd9ea68e0ddeee984e65c377a1819eab8a8a)
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)
418Test MatIncreaseOverlap
419IS Object: 3 MPI processes
420  type: general
421[0] Number of indices in set 8
422[0] 0 0
423[0] 1 1
424[0] 2 2
425[0] 3 3
426[0] 4 4
427[0] 5 5
428[0] 6 6
429[0] 7 11
430[1] Number of indices in set 8
431[1] 0 3
432[1] 1 4
433[1] 2 5
434[1] 3 6
435[1] 4 7
436[1] 5 8
437[1] 6 9
438[1] 7 10
439[2] Number of indices in set 8
440[2] 0 0
441[2] 1 1
442[2] 2 2
443[2] 3 7
444[2] 4 8
445[2] 5 9
446[2] 6 10
447[2] 7 11
448IS Object: 3 MPI processes
449  type: general
450[0] Number of indices in set 8
451[0] 0 0
452[0] 1 1
453[0] 2 2
454[0] 3 3
455[0] 4 4
456[0] 5 5
457[0] 6 6
458[0] 7 11
459[1] Number of indices in set 8
460[1] 0 3
461[1] 1 4
462[1] 2 5
463[1] 3 6
464[1] 4 7
465[1] 5 8
466[1] 6 9
467[1] 7 10
468[2] Number of indices in set 8
469[2] 0 0
470[2] 1 1
471[2] 2 2
472[2] 3 7
473[2] 4 8
474[2] 5 9
475[2] 6 10
476[2] 7 11
477IS Object: 3 MPI processes
478  type: general
479[0] Number of indices in set 7
480[0] 0 0
481[0] 1 1
482[0] 2 2
483[0] 3 3
484[0] 4 9
485[0] 5 10
486[0] 6 11
487[1] Number of indices in set 7
488[1] 0 1
489[1] 1 2
490[1] 2 3
491[1] 3 4
492[1] 4 5
493[1] 5 6
494[1] 6 7
495[2] Number of indices in set 7
496[2] 0 5
497[2] 1 6
498[2] 2 7
499[2] 3 8
500[2] 4 9
501[2] 5 10
502[2] 6 11
503IS Object: 3 MPI processes
504  type: general
505[0] Number of indices in set 7
506[0] 0 0
507[0] 1 1
508[0] 2 2
509[0] 3 3
510[0] 4 9
511[0] 5 10
512[0] 6 11
513[1] Number of indices in set 7
514[1] 0 1
515[1] 1 2
516[1] 2 3
517[1] 3 4
518[1] 4 5
519[1] 5 6
520[1] 6 7
521[2] Number of indices in set 7
522[2] 0 5
523[2] 1 6
524[2] 2 7
525[2] 3 8
526[2] 4 9
527[2] 5 10
528[2] 6 11
529IS Object: 3 MPI processes
530  type: stride
531[0] Number of indices in (stride) set 5
532[0] 0 6
533[0] 1 7
534[0] 2 8
535[0] 3 9
536[0] 4 10
537[1] Number of indices in (stride) set 0
538[2] Number of indices in (stride) set 0
539Skipping MatZeroRows (diag zero)
540Test MatMissingDiagonal
541[0] [0,4) Missing 0, row -1 (diag zero)
542[1] [4,8) Missing 0, row -1 (diag zero)
543[2] [8,12) Missing 0, row -1 (diag zero)
544Test MatTranspose
545Test MatInvertBlockDiagonal blockdiag 12 0 0 1
546Test MatInvertBlockDiagonal blockdiag 12 0 0 2
547Test MatInvertBlockDiagonal blockdiag 12 0 0 3
548Test MatInvertBlockDiagonal blockdiag 12 0 1 1
549Test MatInvertBlockDiagonal blockdiag 12 0 1 2
550Test MatInvertBlockDiagonal blockdiag 12 0 1 3
551Test MatInvertBlockDiagonal blockdiag 12 0 2 1
552Test MatInvertBlockDiagonal blockdiag 12 0 2 2
553Test MatInvertBlockDiagonal blockdiag 12 0 2 3
554Test MatInvertBlockDiagonal blockdiag 12 1 0 1
555Test MatInvertBlockDiagonal blockdiag 12 1 0 2
556Test MatInvertBlockDiagonal blockdiag 12 1 0 3
557Test MatInvertBlockDiagonal blockdiag 12 1 1 1
558Test MatInvertBlockDiagonal blockdiag 12 1 1 2
559Test MatInvertBlockDiagonal blockdiag 12 1 1 3
560Test MatInvertBlockDiagonal blockdiag 12 1 2 1
561Test MatInvertBlockDiagonal blockdiag 12 1 2 2
562Test MatInvertBlockDiagonal blockdiag 12 1 2 3
563Test MatInvertBlockDiagonal blockdiag 12 2 0 1
564Test MatInvertBlockDiagonal blockdiag 12 2 0 2
565Test MatInvertBlockDiagonal blockdiag 12 2 0 3
566Test MatInvertBlockDiagonal blockdiag 12 2 1 1
567Test MatInvertBlockDiagonal blockdiag 12 2 1 2
568Test MatInvertBlockDiagonal blockdiag 12 2 1 3
569Test MatInvertBlockDiagonal blockdiag 12 2 2 1
570Test MatInvertBlockDiagonal blockdiag 12 2 2 2
571Test MatInvertBlockDiagonal blockdiag 12 2 2 3
572Test MatGetDiagonalBlock
573Test MatISSetAllowRepeated(false) with possibly repeated entries
574