xref: /petsc/src/mat/tests/output/ex23_2.out (revision f13dfd9ea68e0ddeee984e65c377a1819eab8a8a)
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)
393Test MatIncreaseOverlap
394IS Object: 4 MPI processes
395  type: general
396[0] Number of indices in set 7
397[0] 0 0
398[0] 1 1
399[0] 2 2
400[0] 3 3
401[0] 4 4
402[0] 5 6
403[0] 6 7
404[1] Number of indices in set 7
405[1] 0 0
406[1] 1 1
407[1] 2 2
408[1] 3 3
409[1] 4 4
410[1] 5 5
411[1] 6 6
412[2] Number of indices in set 7
413[2] 0 0
414[2] 1 2
415[2] 2 3
416[2] 3 4
417[2] 4 5
418[2] 5 6
419[2] 6 7
420[3] Number of indices in set 7
421[3] 0 0
422[3] 1 1
423[3] 2 2
424[3] 3 4
425[3] 4 5
426[3] 5 6
427[3] 6 7
428IS Object: 4 MPI processes
429  type: general
430[0] Number of indices in set 7
431[0] 0 0
432[0] 1 1
433[0] 2 2
434[0] 3 3
435[0] 4 4
436[0] 5 6
437[0] 6 7
438[1] Number of indices in set 7
439[1] 0 0
440[1] 1 1
441[1] 2 2
442[1] 3 3
443[1] 4 4
444[1] 5 5
445[1] 6 6
446[2] Number of indices in set 7
447[2] 0 0
448[2] 1 2
449[2] 2 3
450[2] 3 4
451[2] 4 5
452[2] 5 6
453[2] 6 7
454[3] Number of indices in set 7
455[3] 0 0
456[3] 1 1
457[3] 2 2
458[3] 3 4
459[3] 4 5
460[3] 5 6
461[3] 6 7
462IS Object: 4 MPI processes
463  type: general
464[0] Number of indices in set 0
465[1] Number of indices in set 0
466[2] Number of indices in set 0
467[3] Number of indices in set 0
468IS Object: 4 MPI processes
469  type: general
470[0] Number of indices in set 0
471[1] Number of indices in set 0
472[2] Number of indices in set 0
473[3] Number of indices in set 0
474IS Object: 4 MPI processes
475  type: stride
476[0] Number of indices in (stride) set 3
477[0] 0 4
478[0] 1 5
479[0] 2 6
480[1] Number of indices in (stride) set 0
481[2] Number of indices in (stride) set 0
482[3] Number of indices in (stride) set 0
483Test MatZeroRows (diag zero)
484Test MatZeroRowsColumns (diag zero)
485Test MatMissingDiagonal
486[0] [0,2) Missing 0, row -1 (diag zero)
487[1] [2,4) Missing 0, row -1 (diag zero)
488[2] [4,6) Missing 1, row 4 (diag zero)
489[3] [6,8) Missing 1, row 6 (diag zero)
490Test MatTranspose
491Test MatISFixLocalEmpty
492Test MatInvertBlockDiagonal blockdiag 8 0 0 1
493Test MatInvertBlockDiagonal blockdiag 8 0 0 2
494Test MatInvertBlockDiagonal blockdiag 8 0 0 3
495Test MatInvertBlockDiagonal blockdiag 8 0 1 1
496Test MatInvertBlockDiagonal blockdiag 8 0 1 2
497Test MatInvertBlockDiagonal blockdiag 8 0 1 3
498Test MatInvertBlockDiagonal blockdiag 8 0 2 1
499Test MatInvertBlockDiagonal blockdiag 8 0 2 2
500Test MatInvertBlockDiagonal blockdiag 8 0 2 3
501Test MatInvertBlockDiagonal blockdiag 8 1 0 1
502Test MatInvertBlockDiagonal blockdiag 8 1 0 2
503Test MatInvertBlockDiagonal blockdiag 8 1 0 3
504Test MatInvertBlockDiagonal blockdiag 8 1 1 1
505Test MatInvertBlockDiagonal blockdiag 8 1 1 2
506Test MatInvertBlockDiagonal blockdiag 8 1 1 3
507Test MatInvertBlockDiagonal blockdiag 8 1 2 1
508Test MatInvertBlockDiagonal blockdiag 8 1 2 2
509Test MatInvertBlockDiagonal blockdiag 8 1 2 3
510Test MatInvertBlockDiagonal blockdiag 8 2 0 1
511Test MatInvertBlockDiagonal blockdiag 8 2 0 2
512Test MatInvertBlockDiagonal blockdiag 8 2 0 3
513Test MatInvertBlockDiagonal blockdiag 8 2 1 1
514Test MatInvertBlockDiagonal blockdiag 8 2 1 2
515Test MatInvertBlockDiagonal blockdiag 8 2 1 3
516Test MatInvertBlockDiagonal blockdiag 8 2 2 1
517Test MatInvertBlockDiagonal blockdiag 8 2 2 2
518Test MatInvertBlockDiagonal blockdiag 8 2 2 3
519Test MatGetDiagonalBlock
520Test MatISSetAllowRepeated(false) with possibly repeated entries
521