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