xref: /petsc/src/mat/tests/output/ex23_1.out (revision e8c0849ab8fe171bed529bea27238c9b402db591)
1Test MatGetInfo
2Process   0: 4 4 0 1 0
3GlobalMax  : 4 4 0 1 0
4GlobalSum  : 4 4 0 1 0
5Test MatIsSymmetric: 0
6Test MatView
7Mat Object: 1 MPI process
8  type: is
9  Mat Object: (is_) 1 MPI process
10    type: seqaij
11  row 0:   (0, 2.)    (1, -2.)
12  row 1:   (0, -4.)    (1, 4.)
13Mat Object: 1 MPI process
14  type: seqaij
15row 0: (0, 2.)  (1, -2.)
16row 1: (0, -4.)  (1, 4.)
17Test MatView ASCII MATLAB
18%Mat Object: 1 MPI process
19%  type: is
20  %  Mat Object: lmat (is_) 1 MPI process
21  %    type: seqaij
22  % Size = 2 2
23  % Nonzeros = 4
24  zzz = zeros(4,3);
25  zzz = [
26  1 1  2.0000000000000000e+00
27  1 2  -2.0000000000000000e+00
28  2 1  -4.0000000000000000e+00
29  2 2  4.0000000000000000e+00
30  ];
31 lmat = spconvert(zzz);
32  %  IS Object: rowl2g 1 MPI process
33  %    type: general
34  rowl2g = [...
35  1
36  2
37  ];
38  %  IS Object: coll2g 1 MPI process
39  %    type: general
40  coll2g = [...
41  1
42  2
43  ];
44Test CheckMat
45Test MatView on binary world
46Test MatView on binary self
47Test MatView on binary subcomm
48Test MatLoad from world
49Mat Object: 1 MPI process
50  type: is
51  rows=2, cols=2
52  total: nonzeros=4, allocated nonzeros=4
53  total number of mallocs used during MatSetValues calls=0
54    Mat Object: 1 MPI process
55      type: seqaij
56      rows=2, cols=2
57      total: nonzeros=4, allocated nonzeros=4
58      total number of mallocs used during MatSetValues calls=0
59        using I-node routines: found 1 nodes, limit used is 5
60    ISLocalToGlobalMapping Object: 1 MPI process
61      type not yet set
62    [0] 0 0
63    [0] 1 1
64    ISLocalToGlobalMapping Object: 1 MPI process
65      type not yet set
66    [0] 0 0
67    [0] 1 1
68Test MatLoad from self
69Mat Object: 1 MPI process
70  type: is
71  rows=2, cols=2
72  total: nonzeros=4, allocated nonzeros=4
73  total number of mallocs used during MatSetValues calls=0
74    Mat Object: 1 MPI process
75      type: seqaij
76      rows=2, cols=2
77      total: nonzeros=4, allocated nonzeros=4
78      total number of mallocs used during MatSetValues calls=0
79        using I-node routines: found 1 nodes, limit used is 5
80    ISLocalToGlobalMapping Object: 1 MPI process
81      type not yet set
82    [0] 0 0
83    [0] 1 1
84    ISLocalToGlobalMapping Object: 1 MPI process
85      type not yet set
86    [0] 0 0
87    [0] 1 1
88Test MatLoad from subcomm
89Mat Object: 1 MPI process
90  type: is
91  rows=2, cols=2
92  total: nonzeros=4, allocated nonzeros=4
93  total number of mallocs used during MatSetValues calls=0
94    Mat Object: 1 MPI process
95      type: seqaij
96      rows=2, cols=2
97      total: nonzeros=4, allocated nonzeros=4
98      total number of mallocs used during MatSetValues calls=0
99        using I-node routines: found 1 nodes, limit used is 5
100    ISLocalToGlobalMapping Object: 1 MPI process
101      type not yet set
102    [0] 0 0
103    [0] 1 1
104    ISLocalToGlobalMapping Object: 1 MPI process
105      type not yet set
106    [0] 0 0
107    [0] 1 1
108Test subcomm MatLoad from world
109Mat Object: 1 MPI process
110  type: is
111  rows=2, cols=2
112  total: nonzeros=4, allocated nonzeros=4
113  total number of mallocs used during MatSetValues calls=0
114    Mat Object: 1 MPI process
115      type: seqaij
116      rows=2, cols=2
117      total: nonzeros=4, allocated nonzeros=4
118      total number of mallocs used during MatSetValues calls=0
119        using I-node routines: found 1 nodes, limit used is 5
120    ISLocalToGlobalMapping Object: 1 MPI process
121      type not yet set
122    [0] 0 0
123    [0] 1 1
124    ISLocalToGlobalMapping Object: 1 MPI process
125      type not yet set
126    [0] 0 0
127    [0] 1 1
128Test MatDuplicate and MatAXPY
129Test MatConvert_IS_XAIJ
130Test MatConvert_XAIJ_IS
131Test MatConvert_IS_XAIJ special case (0 0, bs 1 1)
132Test MatConvert_IS_XAIJ special case (0 0, bs 1 2)
133Test MatConvert_IS_XAIJ special case (0 0, bs 1 3)
134Test MatConvert_IS_XAIJ special case (0 0, bs 2 1)
135Test MatConvert_IS_XAIJ special case (0 0, bs 2 2)
136Test MatConvert_IS_XAIJ special case (0 0, bs 2 3)
137Test MatConvert_IS_XAIJ special case (0 0, bs 3 1)
138Test MatConvert_IS_XAIJ special case (0 0, bs 3 2)
139Test MatConvert_IS_XAIJ special case (0 0, bs 3 3)
140Test MatConvert_IS_XAIJ special case (0 1, bs 1 1)
141Test MatConvert_IS_XAIJ special case (0 1, bs 1 2)
142Test MatConvert_IS_XAIJ special case (0 1, bs 1 3)
143Test MatConvert_IS_XAIJ special case (0 1, bs 2 1)
144Test MatConvert_IS_XAIJ special case (0 1, bs 2 2)
145Test MatConvert_IS_XAIJ special case (0 1, bs 2 3)
146Test MatConvert_IS_XAIJ special case (0 1, bs 3 1)
147Test MatConvert_IS_XAIJ special case (0 1, bs 3 2)
148Test MatConvert_IS_XAIJ special case (0 1, bs 3 3)
149Test MatConvert_IS_XAIJ special case (1 0, bs 1 1)
150Test MatConvert_IS_XAIJ special case (1 0, bs 1 2)
151Test MatConvert_IS_XAIJ special case (1 0, bs 1 3)
152Test MatConvert_IS_XAIJ special case (1 0, bs 2 1)
153Test MatConvert_IS_XAIJ special case (1 0, bs 2 2)
154Test MatConvert_IS_XAIJ special case (1 0, bs 2 3)
155Test MatConvert_IS_XAIJ special case (1 0, bs 3 1)
156Test MatConvert_IS_XAIJ special case (1 0, bs 3 2)
157Test MatConvert_IS_XAIJ special case (1 0, bs 3 3)
158Test MatConvert_IS_XAIJ special case (1 1, bs 1 1)
159Test MatConvert_IS_XAIJ special case (1 1, bs 1 2)
160Test MatConvert_IS_XAIJ special case (1 1, bs 1 3)
161Test MatConvert_IS_XAIJ special case (1 1, bs 2 1)
162Test MatConvert_IS_XAIJ special case (1 1, bs 2 2)
163Test MatConvert_IS_XAIJ special case (1 1, bs 2 3)
164Test MatConvert_IS_XAIJ special case (1 1, bs 3 1)
165Test MatConvert_IS_XAIJ special case (1 1, bs 3 2)
166Test MatConvert_IS_XAIJ special case (1 1, bs 3 3)
167Test MatDiagonalScale
168Test MatPtAP
169Test MatGetLocalSubMatrix
170Test MatConvert_Nest_IS
171Test MatCreateSubMatrix
172Test MatCreateSubMatrices
173Test MatDiagonalSet
174Test MatShift
175IS Object: 1 MPI process
176  type: stride
177Number of indices in (stride) set 1
1780 0
179Test MatZeroRows (diag nonzero)
180Test MatZeroRowsColumns (diag nonzero)
181IS Object: 1 MPI process
182  type: stride
183Number of indices in (stride) set 1
1840 0
185Test MatZeroRowsLocal (diag nonzero)
186Test MatZeroRowsColumnsLocal (diag nonzero)
187Test MatIncreaseOverlap
188IS Object: 1 MPI process
189  type: general
190Number of indices in set 2
1910 0
1921 1
193IS Object: 1 MPI process
194  type: general
195Number of indices in set 2
1960 0
1971 1
198IS Object: 1 MPI process
199  type: general
200Number of indices in set 0
201IS Object: 1 MPI process
202  type: general
203Number of indices in set 0
204IS Object: 1 MPI process
205  type: stride
206Number of indices in (stride) set 1
2070 0
208Test MatZeroRows (diag zero)
209Test MatZeroRowsColumns (diag zero)
210IS Object: 1 MPI process
211  type: stride
212Number of indices in (stride) set 1
2130 0
214Test MatZeroRowsLocal (diag zero)
215Test MatZeroRowsColumnsLocal (diag zero)
216Test MatTranspose
217Test MatISFixLocalEmpty
218Test MatInvertBlockDiagonal blockdiag 2 0 0 1
219Test MatInvertBlockDiagonal blockdiag 2 0 0 2
220Test MatInvertBlockDiagonal blockdiag 2 0 0 3
221Test MatInvertBlockDiagonal blockdiag 2 0 1 1
222Test MatInvertBlockDiagonal blockdiag 2 0 1 2
223Test MatInvertBlockDiagonal blockdiag 2 0 1 3
224Test MatInvertBlockDiagonal blockdiag 2 0 2 1
225Test MatInvertBlockDiagonal blockdiag 2 0 2 2
226Test MatInvertBlockDiagonal blockdiag 2 0 2 3
227Test MatInvertBlockDiagonal blockdiag 2 1 0 1
228Test MatInvertBlockDiagonal blockdiag 2 1 0 2
229Test MatInvertBlockDiagonal blockdiag 2 1 0 3
230Test MatInvertBlockDiagonal blockdiag 2 1 1 1
231Test MatInvertBlockDiagonal blockdiag 2 1 1 2
232Test MatInvertBlockDiagonal blockdiag 2 1 1 3
233Test MatInvertBlockDiagonal blockdiag 2 1 2 1
234Test MatInvertBlockDiagonal blockdiag 2 1 2 2
235Test MatInvertBlockDiagonal blockdiag 2 1 2 3
236Test MatInvertBlockDiagonal blockdiag 2 2 0 1
237Test MatInvertBlockDiagonal blockdiag 2 2 0 2
238Test MatInvertBlockDiagonal blockdiag 2 2 0 3
239Test MatInvertBlockDiagonal blockdiag 2 2 1 1
240Test MatInvertBlockDiagonal blockdiag 2 2 1 2
241Test MatInvertBlockDiagonal blockdiag 2 2 1 3
242Test MatInvertBlockDiagonal blockdiag 2 2 2 1
243Test MatInvertBlockDiagonal blockdiag 2 2 2 2
244Test MatInvertBlockDiagonal blockdiag 2 2 2 3
245Test MatGetDiagonalBlock
246Test MatISSetAllowRepeated(false) with possibly repeated entries
247