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