--- /dev/null
+//---------------------------- compressed_sparsity_pattern_01.cc ---------------------------
+// $Id$
+// Version: $Name$
+//
+// Copyright (C) 2008 by the deal.II authors
+//
+// This file is subject to QPL and may not be distributed
+// without copyright and license information. Please refer
+// to the file deal.II/doc/license.html for the text and
+// further information on this license.
+//
+//---------------------------- sparsity_pattern_01.cc ---------------------------
+
+
+// check TrilinosWrappers::SparsityPattern::row_length
+
+#include "sparsity_pattern_common.h"
+#include <base/utilities.h>
+
+int main (int argc, char** argv)
+{
+ Utilities::System::MPI_InitFinalize mpi_init (argc, argv);
+ std::ofstream logfile("sparsity_pattern_01/output");
+ logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(3);
+ deallog.attach(logfile);
+ deallog.depth_console(0);
+ deallog.threshold_double(1.e-10);
+
+ row_length ();
+}
+
+
+
--- /dev/null
+
+DEAL::196 196 14 924
+DEAL::3
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::3
+DEAL::4
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::4
+DEAL::4
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::4
+DEAL::4
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::4
+DEAL::4
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::4
+DEAL::4
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::4
+DEAL::4
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::4
+DEAL::4
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::4
+DEAL::4
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::4
+DEAL::4
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::4
+DEAL::4
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::4
+DEAL::4
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::4
+DEAL::4
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::5
+DEAL::4
+DEAL::3
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::4
+DEAL::3
+DEAL::OK
--- /dev/null
+//---------------------------- compressed_sparsity_pattern_02.cc ---------------------------
+// $Id$
+// Version: $Name$
+//
+// Copyright (C) 2008 by the deal.II authors
+//
+// This file is subject to QPL and may not be distributed
+// without copyright and license information. Please refer
+// to the file deal.II/doc/license.html for the text and
+// further information on this license.
+//
+//---------------------------- sparsity_pattern_02.cc ---------------------------
+
+
+// check TrilinosWrappers::SparsityPattern::print_gnuplot
+
+#include "sparsity_pattern_common.h"
+#include <base/utilities.h>
+
+int main (int argc, char** argv)
+{
+ Utilities::System::MPI_InitFinalize mpi_init (argc, argv);
+ std::ofstream logfile("sparsity_pattern_02/output");
+ logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(3);
+ deallog.attach(logfile);
+ deallog.depth_console(0);
+ deallog.threshold_double(1.e-10);
+
+ print_gnuplot ();
+}
+
+
+
--- /dev/null
+
+DEAL::196 196 14 924
+0 0
+1 0
+14 0
+0 -1
+1 -1
+2 -1
+15 -1
+1 -2
+2 -2
+3 -2
+16 -2
+2 -3
+3 -3
+4 -3
+17 -3
+3 -4
+4 -4
+5 -4
+18 -4
+4 -5
+5 -5
+6 -5
+19 -5
+5 -6
+6 -6
+7 -6
+20 -6
+6 -7
+7 -7
+8 -7
+21 -7
+7 -8
+8 -8
+9 -8
+22 -8
+8 -9
+9 -9
+10 -9
+23 -9
+9 -10
+10 -10
+11 -10
+24 -10
+10 -11
+11 -11
+12 -11
+25 -11
+11 -12
+12 -12
+13 -12
+26 -12
+12 -13
+13 -13
+27 -13
+0 -14
+14 -14
+15 -14
+28 -14
+1 -15
+14 -15
+15 -15
+16 -15
+29 -15
+2 -16
+15 -16
+16 -16
+17 -16
+30 -16
+3 -17
+16 -17
+17 -17
+18 -17
+31 -17
+4 -18
+17 -18
+18 -18
+19 -18
+32 -18
+5 -19
+18 -19
+19 -19
+20 -19
+33 -19
+6 -20
+19 -20
+20 -20
+21 -20
+34 -20
+7 -21
+20 -21
+21 -21
+22 -21
+35 -21
+8 -22
+21 -22
+22 -22
+23 -22
+36 -22
+9 -23
+22 -23
+23 -23
+24 -23
+37 -23
+10 -24
+23 -24
+24 -24
+25 -24
+38 -24
+11 -25
+24 -25
+25 -25
+26 -25
+39 -25
+12 -26
+25 -26
+26 -26
+27 -26
+40 -26
+13 -27
+26 -27
+27 -27
+41 -27
+14 -28
+28 -28
+29 -28
+42 -28
+15 -29
+28 -29
+29 -29
+30 -29
+43 -29
+16 -30
+29 -30
+30 -30
+31 -30
+44 -30
+17 -31
+30 -31
+31 -31
+32 -31
+45 -31
+18 -32
+31 -32
+32 -32
+33 -32
+46 -32
+19 -33
+32 -33
+33 -33
+34 -33
+47 -33
+20 -34
+33 -34
+34 -34
+35 -34
+48 -34
+21 -35
+34 -35
+35 -35
+36 -35
+49 -35
+22 -36
+35 -36
+36 -36
+37 -36
+50 -36
+23 -37
+36 -37
+37 -37
+38 -37
+51 -37
+24 -38
+37 -38
+38 -38
+39 -38
+52 -38
+25 -39
+38 -39
+39 -39
+40 -39
+53 -39
+26 -40
+39 -40
+40 -40
+41 -40
+54 -40
+27 -41
+40 -41
+41 -41
+55 -41
+28 -42
+42 -42
+43 -42
+56 -42
+29 -43
+42 -43
+43 -43
+44 -43
+57 -43
+30 -44
+43 -44
+44 -44
+45 -44
+58 -44
+31 -45
+44 -45
+45 -45
+46 -45
+59 -45
+32 -46
+45 -46
+46 -46
+47 -46
+60 -46
+33 -47
+46 -47
+47 -47
+48 -47
+61 -47
+34 -48
+47 -48
+48 -48
+49 -48
+62 -48
+35 -49
+48 -49
+49 -49
+50 -49
+63 -49
+36 -50
+49 -50
+50 -50
+51 -50
+64 -50
+37 -51
+50 -51
+51 -51
+52 -51
+65 -51
+38 -52
+51 -52
+52 -52
+53 -52
+66 -52
+39 -53
+52 -53
+53 -53
+54 -53
+67 -53
+40 -54
+53 -54
+54 -54
+55 -54
+68 -54
+41 -55
+54 -55
+55 -55
+69 -55
+42 -56
+56 -56
+57 -56
+70 -56
+43 -57
+56 -57
+57 -57
+58 -57
+71 -57
+44 -58
+57 -58
+58 -58
+59 -58
+72 -58
+45 -59
+58 -59
+59 -59
+60 -59
+73 -59
+46 -60
+59 -60
+60 -60
+61 -60
+74 -60
+47 -61
+60 -61
+61 -61
+62 -61
+75 -61
+48 -62
+61 -62
+62 -62
+63 -62
+76 -62
+49 -63
+62 -63
+63 -63
+64 -63
+77 -63
+50 -64
+63 -64
+64 -64
+65 -64
+78 -64
+51 -65
+64 -65
+65 -65
+66 -65
+79 -65
+52 -66
+65 -66
+66 -66
+67 -66
+80 -66
+53 -67
+66 -67
+67 -67
+68 -67
+81 -67
+54 -68
+67 -68
+68 -68
+69 -68
+82 -68
+55 -69
+68 -69
+69 -69
+83 -69
+56 -70
+70 -70
+71 -70
+84 -70
+57 -71
+70 -71
+71 -71
+72 -71
+85 -71
+58 -72
+71 -72
+72 -72
+73 -72
+86 -72
+59 -73
+72 -73
+73 -73
+74 -73
+87 -73
+60 -74
+73 -74
+74 -74
+75 -74
+88 -74
+61 -75
+74 -75
+75 -75
+76 -75
+89 -75
+62 -76
+75 -76
+76 -76
+77 -76
+90 -76
+63 -77
+76 -77
+77 -77
+78 -77
+91 -77
+64 -78
+77 -78
+78 -78
+79 -78
+92 -78
+65 -79
+78 -79
+79 -79
+80 -79
+93 -79
+66 -80
+79 -80
+80 -80
+81 -80
+94 -80
+67 -81
+80 -81
+81 -81
+82 -81
+95 -81
+68 -82
+81 -82
+82 -82
+83 -82
+96 -82
+69 -83
+82 -83
+83 -83
+97 -83
+70 -84
+84 -84
+85 -84
+98 -84
+71 -85
+84 -85
+85 -85
+86 -85
+99 -85
+72 -86
+85 -86
+86 -86
+87 -86
+100 -86
+73 -87
+86 -87
+87 -87
+88 -87
+101 -87
+74 -88
+87 -88
+88 -88
+89 -88
+102 -88
+75 -89
+88 -89
+89 -89
+90 -89
+103 -89
+76 -90
+89 -90
+90 -90
+91 -90
+104 -90
+77 -91
+90 -91
+91 -91
+92 -91
+105 -91
+78 -92
+91 -92
+92 -92
+93 -92
+106 -92
+79 -93
+92 -93
+93 -93
+94 -93
+107 -93
+80 -94
+93 -94
+94 -94
+95 -94
+108 -94
+81 -95
+94 -95
+95 -95
+96 -95
+109 -95
+82 -96
+95 -96
+96 -96
+97 -96
+110 -96
+83 -97
+96 -97
+97 -97
+111 -97
+84 -98
+98 -98
+99 -98
+112 -98
+85 -99
+98 -99
+99 -99
+100 -99
+113 -99
+86 -100
+99 -100
+100 -100
+101 -100
+114 -100
+87 -101
+100 -101
+101 -101
+102 -101
+115 -101
+88 -102
+101 -102
+102 -102
+103 -102
+116 -102
+89 -103
+102 -103
+103 -103
+104 -103
+117 -103
+90 -104
+103 -104
+104 -104
+105 -104
+118 -104
+91 -105
+104 -105
+105 -105
+106 -105
+119 -105
+92 -106
+105 -106
+106 -106
+107 -106
+120 -106
+93 -107
+106 -107
+107 -107
+108 -107
+121 -107
+94 -108
+107 -108
+108 -108
+109 -108
+122 -108
+95 -109
+108 -109
+109 -109
+110 -109
+123 -109
+96 -110
+109 -110
+110 -110
+111 -110
+124 -110
+97 -111
+110 -111
+111 -111
+125 -111
+98 -112
+112 -112
+113 -112
+126 -112
+99 -113
+112 -113
+113 -113
+114 -113
+127 -113
+100 -114
+113 -114
+114 -114
+115 -114
+128 -114
+101 -115
+114 -115
+115 -115
+116 -115
+129 -115
+102 -116
+115 -116
+116 -116
+117 -116
+130 -116
+103 -117
+116 -117
+117 -117
+118 -117
+131 -117
+104 -118
+117 -118
+118 -118
+119 -118
+132 -118
+105 -119
+118 -119
+119 -119
+120 -119
+133 -119
+106 -120
+119 -120
+120 -120
+121 -120
+134 -120
+107 -121
+120 -121
+121 -121
+122 -121
+135 -121
+108 -122
+121 -122
+122 -122
+123 -122
+136 -122
+109 -123
+122 -123
+123 -123
+124 -123
+137 -123
+110 -124
+123 -124
+124 -124
+125 -124
+138 -124
+111 -125
+124 -125
+125 -125
+139 -125
+112 -126
+126 -126
+127 -126
+140 -126
+113 -127
+126 -127
+127 -127
+128 -127
+141 -127
+114 -128
+127 -128
+128 -128
+129 -128
+142 -128
+115 -129
+128 -129
+129 -129
+130 -129
+143 -129
+116 -130
+129 -130
+130 -130
+131 -130
+144 -130
+117 -131
+130 -131
+131 -131
+132 -131
+145 -131
+118 -132
+131 -132
+132 -132
+133 -132
+146 -132
+119 -133
+132 -133
+133 -133
+134 -133
+147 -133
+120 -134
+133 -134
+134 -134
+135 -134
+148 -134
+121 -135
+134 -135
+135 -135
+136 -135
+149 -135
+122 -136
+135 -136
+136 -136
+137 -136
+150 -136
+123 -137
+136 -137
+137 -137
+138 -137
+151 -137
+124 -138
+137 -138
+138 -138
+139 -138
+152 -138
+125 -139
+138 -139
+139 -139
+153 -139
+126 -140
+140 -140
+141 -140
+154 -140
+127 -141
+140 -141
+141 -141
+142 -141
+155 -141
+128 -142
+141 -142
+142 -142
+143 -142
+156 -142
+129 -143
+142 -143
+143 -143
+144 -143
+157 -143
+130 -144
+143 -144
+144 -144
+145 -144
+158 -144
+131 -145
+144 -145
+145 -145
+146 -145
+159 -145
+132 -146
+145 -146
+146 -146
+147 -146
+160 -146
+133 -147
+146 -147
+147 -147
+148 -147
+161 -147
+134 -148
+147 -148
+148 -148
+149 -148
+162 -148
+135 -149
+148 -149
+149 -149
+150 -149
+163 -149
+136 -150
+149 -150
+150 -150
+151 -150
+164 -150
+137 -151
+150 -151
+151 -151
+152 -151
+165 -151
+138 -152
+151 -152
+152 -152
+153 -152
+166 -152
+139 -153
+152 -153
+153 -153
+167 -153
+140 -154
+154 -154
+155 -154
+168 -154
+141 -155
+154 -155
+155 -155
+156 -155
+169 -155
+142 -156
+155 -156
+156 -156
+157 -156
+170 -156
+143 -157
+156 -157
+157 -157
+158 -157
+171 -157
+144 -158
+157 -158
+158 -158
+159 -158
+172 -158
+145 -159
+158 -159
+159 -159
+160 -159
+173 -159
+146 -160
+159 -160
+160 -160
+161 -160
+174 -160
+147 -161
+160 -161
+161 -161
+162 -161
+175 -161
+148 -162
+161 -162
+162 -162
+163 -162
+176 -162
+149 -163
+162 -163
+163 -163
+164 -163
+177 -163
+150 -164
+163 -164
+164 -164
+165 -164
+178 -164
+151 -165
+164 -165
+165 -165
+166 -165
+179 -165
+152 -166
+165 -166
+166 -166
+167 -166
+180 -166
+153 -167
+166 -167
+167 -167
+181 -167
+154 -168
+168 -168
+169 -168
+182 -168
+155 -169
+168 -169
+169 -169
+170 -169
+183 -169
+156 -170
+169 -170
+170 -170
+171 -170
+184 -170
+157 -171
+170 -171
+171 -171
+172 -171
+185 -171
+158 -172
+171 -172
+172 -172
+173 -172
+186 -172
+159 -173
+172 -173
+173 -173
+174 -173
+187 -173
+160 -174
+173 -174
+174 -174
+175 -174
+188 -174
+161 -175
+174 -175
+175 -175
+176 -175
+189 -175
+162 -176
+175 -176
+176 -176
+177 -176
+190 -176
+163 -177
+176 -177
+177 -177
+178 -177
+191 -177
+164 -178
+177 -178
+178 -178
+179 -178
+192 -178
+165 -179
+178 -179
+179 -179
+180 -179
+193 -179
+166 -180
+179 -180
+180 -180
+181 -180
+194 -180
+167 -181
+180 -181
+181 -181
+195 -181
+168 -182
+182 -182
+183 -182
+169 -183
+182 -183
+183 -183
+184 -183
+170 -184
+183 -184
+184 -184
+185 -184
+171 -185
+184 -185
+185 -185
+186 -185
+172 -186
+185 -186
+186 -186
+187 -186
+173 -187
+186 -187
+187 -187
+188 -187
+174 -188
+187 -188
+188 -188
+189 -188
+175 -189
+188 -189
+189 -189
+190 -189
+176 -190
+189 -190
+190 -190
+191 -190
+177 -191
+190 -191
+191 -191
+192 -191
+178 -192
+191 -192
+192 -192
+193 -192
+179 -193
+192 -193
+193 -193
+194 -193
+180 -194
+193 -194
+194 -194
+195 -194
+181 -195
+194 -195
+195 -195
+DEAL::OK
--- /dev/null
+//---------------------------- compressed_sparsity_pattern_03.cc ---------------------------
+// $Id$
+// Version: $Name$
+//
+// Copyright (C) 2008 by the deal.II authors
+//
+// This file is subject to QPL and may not be distributed
+// without copyright and license information. Please refer
+// to the file deal.II/doc/license.html for the text and
+// further information on this license.
+//
+//---------------------------- sparsity_pattern_03.cc ---------------------------
+
+
+// check TrilinosWrappers::SparsityPattern::print
+
+#include "sparsity_pattern_common.h"
+#include <base/utilities.h>
+
+int main (int argc, char** argv)
+{
+ Utilities::System::MPI_InitFinalize mpi_init (argc, argv);
+
+ std::ofstream logfile("sparsity_pattern_03/output");
+ logfile.setf(std::ios::fixed);
+ deallog << std::setprecision(3);
+ deallog.attach(logfile);
+ deallog.depth_console(0);
+ deallog.threshold_double(1.e-10);
+
+ print ();
+}
+
+
+
--- /dev/null
+
+DEAL::196 196 14 924
+(0,0)
+(0,1)
+(0,14)
+(1,0)
+(1,1)
+(1,2)
+(1,15)
+(2,1)
+(2,2)
+(2,3)
+(2,16)
+(3,2)
+(3,3)
+(3,4)
+(3,17)
+(4,3)
+(4,4)
+(4,5)
+(4,18)
+(5,4)
+(5,5)
+(5,6)
+(5,19)
+(6,5)
+(6,6)
+(6,7)
+(6,20)
+(7,6)
+(7,7)
+(7,8)
+(7,21)
+(8,7)
+(8,8)
+(8,9)
+(8,22)
+(9,8)
+(9,9)
+(9,10)
+(9,23)
+(10,9)
+(10,10)
+(10,11)
+(10,24)
+(11,10)
+(11,11)
+(11,12)
+(11,25)
+(12,11)
+(12,12)
+(12,13)
+(12,26)
+(13,12)
+(13,13)
+(13,27)
+(14,0)
+(14,14)
+(14,15)
+(14,28)
+(15,1)
+(15,14)
+(15,15)
+(15,16)
+(15,29)
+(16,2)
+(16,15)
+(16,16)
+(16,17)
+(16,30)
+(17,3)
+(17,16)
+(17,17)
+(17,18)
+(17,31)
+(18,4)
+(18,17)
+(18,18)
+(18,19)
+(18,32)
+(19,5)
+(19,18)
+(19,19)
+(19,20)
+(19,33)
+(20,6)
+(20,19)
+(20,20)
+(20,21)
+(20,34)
+(21,7)
+(21,20)
+(21,21)
+(21,22)
+(21,35)
+(22,8)
+(22,21)
+(22,22)
+(22,23)
+(22,36)
+(23,9)
+(23,22)
+(23,23)
+(23,24)
+(23,37)
+(24,10)
+(24,23)
+(24,24)
+(24,25)
+(24,38)
+(25,11)
+(25,24)
+(25,25)
+(25,26)
+(25,39)
+(26,12)
+(26,25)
+(26,26)
+(26,27)
+(26,40)
+(27,13)
+(27,26)
+(27,27)
+(27,41)
+(28,14)
+(28,28)
+(28,29)
+(28,42)
+(29,15)
+(29,28)
+(29,29)
+(29,30)
+(29,43)
+(30,16)
+(30,29)
+(30,30)
+(30,31)
+(30,44)
+(31,17)
+(31,30)
+(31,31)
+(31,32)
+(31,45)
+(32,18)
+(32,31)
+(32,32)
+(32,33)
+(32,46)
+(33,19)
+(33,32)
+(33,33)
+(33,34)
+(33,47)
+(34,20)
+(34,33)
+(34,34)
+(34,35)
+(34,48)
+(35,21)
+(35,34)
+(35,35)
+(35,36)
+(35,49)
+(36,22)
+(36,35)
+(36,36)
+(36,37)
+(36,50)
+(37,23)
+(37,36)
+(37,37)
+(37,38)
+(37,51)
+(38,24)
+(38,37)
+(38,38)
+(38,39)
+(38,52)
+(39,25)
+(39,38)
+(39,39)
+(39,40)
+(39,53)
+(40,26)
+(40,39)
+(40,40)
+(40,41)
+(40,54)
+(41,27)
+(41,40)
+(41,41)
+(41,55)
+(42,28)
+(42,42)
+(42,43)
+(42,56)
+(43,29)
+(43,42)
+(43,43)
+(43,44)
+(43,57)
+(44,30)
+(44,43)
+(44,44)
+(44,45)
+(44,58)
+(45,31)
+(45,44)
+(45,45)
+(45,46)
+(45,59)
+(46,32)
+(46,45)
+(46,46)
+(46,47)
+(46,60)
+(47,33)
+(47,46)
+(47,47)
+(47,48)
+(47,61)
+(48,34)
+(48,47)
+(48,48)
+(48,49)
+(48,62)
+(49,35)
+(49,48)
+(49,49)
+(49,50)
+(49,63)
+(50,36)
+(50,49)
+(50,50)
+(50,51)
+(50,64)
+(51,37)
+(51,50)
+(51,51)
+(51,52)
+(51,65)
+(52,38)
+(52,51)
+(52,52)
+(52,53)
+(52,66)
+(53,39)
+(53,52)
+(53,53)
+(53,54)
+(53,67)
+(54,40)
+(54,53)
+(54,54)
+(54,55)
+(54,68)
+(55,41)
+(55,54)
+(55,55)
+(55,69)
+(56,42)
+(56,56)
+(56,57)
+(56,70)
+(57,43)
+(57,56)
+(57,57)
+(57,58)
+(57,71)
+(58,44)
+(58,57)
+(58,58)
+(58,59)
+(58,72)
+(59,45)
+(59,58)
+(59,59)
+(59,60)
+(59,73)
+(60,46)
+(60,59)
+(60,60)
+(60,61)
+(60,74)
+(61,47)
+(61,60)
+(61,61)
+(61,62)
+(61,75)
+(62,48)
+(62,61)
+(62,62)
+(62,63)
+(62,76)
+(63,49)
+(63,62)
+(63,63)
+(63,64)
+(63,77)
+(64,50)
+(64,63)
+(64,64)
+(64,65)
+(64,78)
+(65,51)
+(65,64)
+(65,65)
+(65,66)
+(65,79)
+(66,52)
+(66,65)
+(66,66)
+(66,67)
+(66,80)
+(67,53)
+(67,66)
+(67,67)
+(67,68)
+(67,81)
+(68,54)
+(68,67)
+(68,68)
+(68,69)
+(68,82)
+(69,55)
+(69,68)
+(69,69)
+(69,83)
+(70,56)
+(70,70)
+(70,71)
+(70,84)
+(71,57)
+(71,70)
+(71,71)
+(71,72)
+(71,85)
+(72,58)
+(72,71)
+(72,72)
+(72,73)
+(72,86)
+(73,59)
+(73,72)
+(73,73)
+(73,74)
+(73,87)
+(74,60)
+(74,73)
+(74,74)
+(74,75)
+(74,88)
+(75,61)
+(75,74)
+(75,75)
+(75,76)
+(75,89)
+(76,62)
+(76,75)
+(76,76)
+(76,77)
+(76,90)
+(77,63)
+(77,76)
+(77,77)
+(77,78)
+(77,91)
+(78,64)
+(78,77)
+(78,78)
+(78,79)
+(78,92)
+(79,65)
+(79,78)
+(79,79)
+(79,80)
+(79,93)
+(80,66)
+(80,79)
+(80,80)
+(80,81)
+(80,94)
+(81,67)
+(81,80)
+(81,81)
+(81,82)
+(81,95)
+(82,68)
+(82,81)
+(82,82)
+(82,83)
+(82,96)
+(83,69)
+(83,82)
+(83,83)
+(83,97)
+(84,70)
+(84,84)
+(84,85)
+(84,98)
+(85,71)
+(85,84)
+(85,85)
+(85,86)
+(85,99)
+(86,72)
+(86,85)
+(86,86)
+(86,87)
+(86,100)
+(87,73)
+(87,86)
+(87,87)
+(87,88)
+(87,101)
+(88,74)
+(88,87)
+(88,88)
+(88,89)
+(88,102)
+(89,75)
+(89,88)
+(89,89)
+(89,90)
+(89,103)
+(90,76)
+(90,89)
+(90,90)
+(90,91)
+(90,104)
+(91,77)
+(91,90)
+(91,91)
+(91,92)
+(91,105)
+(92,78)
+(92,91)
+(92,92)
+(92,93)
+(92,106)
+(93,79)
+(93,92)
+(93,93)
+(93,94)
+(93,107)
+(94,80)
+(94,93)
+(94,94)
+(94,95)
+(94,108)
+(95,81)
+(95,94)
+(95,95)
+(95,96)
+(95,109)
+(96,82)
+(96,95)
+(96,96)
+(96,97)
+(96,110)
+(97,83)
+(97,96)
+(97,97)
+(97,111)
+(98,84)
+(98,98)
+(98,99)
+(98,112)
+(99,85)
+(99,98)
+(99,99)
+(99,100)
+(99,113)
+(100,86)
+(100,99)
+(100,100)
+(100,101)
+(100,114)
+(101,87)
+(101,100)
+(101,101)
+(101,102)
+(101,115)
+(102,88)
+(102,101)
+(102,102)
+(102,103)
+(102,116)
+(103,89)
+(103,102)
+(103,103)
+(103,104)
+(103,117)
+(104,90)
+(104,103)
+(104,104)
+(104,105)
+(104,118)
+(105,91)
+(105,104)
+(105,105)
+(105,106)
+(105,119)
+(106,92)
+(106,105)
+(106,106)
+(106,107)
+(106,120)
+(107,93)
+(107,106)
+(107,107)
+(107,108)
+(107,121)
+(108,94)
+(108,107)
+(108,108)
+(108,109)
+(108,122)
+(109,95)
+(109,108)
+(109,109)
+(109,110)
+(109,123)
+(110,96)
+(110,109)
+(110,110)
+(110,111)
+(110,124)
+(111,97)
+(111,110)
+(111,111)
+(111,125)
+(112,98)
+(112,112)
+(112,113)
+(112,126)
+(113,99)
+(113,112)
+(113,113)
+(113,114)
+(113,127)
+(114,100)
+(114,113)
+(114,114)
+(114,115)
+(114,128)
+(115,101)
+(115,114)
+(115,115)
+(115,116)
+(115,129)
+(116,102)
+(116,115)
+(116,116)
+(116,117)
+(116,130)
+(117,103)
+(117,116)
+(117,117)
+(117,118)
+(117,131)
+(118,104)
+(118,117)
+(118,118)
+(118,119)
+(118,132)
+(119,105)
+(119,118)
+(119,119)
+(119,120)
+(119,133)
+(120,106)
+(120,119)
+(120,120)
+(120,121)
+(120,134)
+(121,107)
+(121,120)
+(121,121)
+(121,122)
+(121,135)
+(122,108)
+(122,121)
+(122,122)
+(122,123)
+(122,136)
+(123,109)
+(123,122)
+(123,123)
+(123,124)
+(123,137)
+(124,110)
+(124,123)
+(124,124)
+(124,125)
+(124,138)
+(125,111)
+(125,124)
+(125,125)
+(125,139)
+(126,112)
+(126,126)
+(126,127)
+(126,140)
+(127,113)
+(127,126)
+(127,127)
+(127,128)
+(127,141)
+(128,114)
+(128,127)
+(128,128)
+(128,129)
+(128,142)
+(129,115)
+(129,128)
+(129,129)
+(129,130)
+(129,143)
+(130,116)
+(130,129)
+(130,130)
+(130,131)
+(130,144)
+(131,117)
+(131,130)
+(131,131)
+(131,132)
+(131,145)
+(132,118)
+(132,131)
+(132,132)
+(132,133)
+(132,146)
+(133,119)
+(133,132)
+(133,133)
+(133,134)
+(133,147)
+(134,120)
+(134,133)
+(134,134)
+(134,135)
+(134,148)
+(135,121)
+(135,134)
+(135,135)
+(135,136)
+(135,149)
+(136,122)
+(136,135)
+(136,136)
+(136,137)
+(136,150)
+(137,123)
+(137,136)
+(137,137)
+(137,138)
+(137,151)
+(138,124)
+(138,137)
+(138,138)
+(138,139)
+(138,152)
+(139,125)
+(139,138)
+(139,139)
+(139,153)
+(140,126)
+(140,140)
+(140,141)
+(140,154)
+(141,127)
+(141,140)
+(141,141)
+(141,142)
+(141,155)
+(142,128)
+(142,141)
+(142,142)
+(142,143)
+(142,156)
+(143,129)
+(143,142)
+(143,143)
+(143,144)
+(143,157)
+(144,130)
+(144,143)
+(144,144)
+(144,145)
+(144,158)
+(145,131)
+(145,144)
+(145,145)
+(145,146)
+(145,159)
+(146,132)
+(146,145)
+(146,146)
+(146,147)
+(146,160)
+(147,133)
+(147,146)
+(147,147)
+(147,148)
+(147,161)
+(148,134)
+(148,147)
+(148,148)
+(148,149)
+(148,162)
+(149,135)
+(149,148)
+(149,149)
+(149,150)
+(149,163)
+(150,136)
+(150,149)
+(150,150)
+(150,151)
+(150,164)
+(151,137)
+(151,150)
+(151,151)
+(151,152)
+(151,165)
+(152,138)
+(152,151)
+(152,152)
+(152,153)
+(152,166)
+(153,139)
+(153,152)
+(153,153)
+(153,167)
+(154,140)
+(154,154)
+(154,155)
+(154,168)
+(155,141)
+(155,154)
+(155,155)
+(155,156)
+(155,169)
+(156,142)
+(156,155)
+(156,156)
+(156,157)
+(156,170)
+(157,143)
+(157,156)
+(157,157)
+(157,158)
+(157,171)
+(158,144)
+(158,157)
+(158,158)
+(158,159)
+(158,172)
+(159,145)
+(159,158)
+(159,159)
+(159,160)
+(159,173)
+(160,146)
+(160,159)
+(160,160)
+(160,161)
+(160,174)
+(161,147)
+(161,160)
+(161,161)
+(161,162)
+(161,175)
+(162,148)
+(162,161)
+(162,162)
+(162,163)
+(162,176)
+(163,149)
+(163,162)
+(163,163)
+(163,164)
+(163,177)
+(164,150)
+(164,163)
+(164,164)
+(164,165)
+(164,178)
+(165,151)
+(165,164)
+(165,165)
+(165,166)
+(165,179)
+(166,152)
+(166,165)
+(166,166)
+(166,167)
+(166,180)
+(167,153)
+(167,166)
+(167,167)
+(167,181)
+(168,154)
+(168,168)
+(168,169)
+(168,182)
+(169,155)
+(169,168)
+(169,169)
+(169,170)
+(169,183)
+(170,156)
+(170,169)
+(170,170)
+(170,171)
+(170,184)
+(171,157)
+(171,170)
+(171,171)
+(171,172)
+(171,185)
+(172,158)
+(172,171)
+(172,172)
+(172,173)
+(172,186)
+(173,159)
+(173,172)
+(173,173)
+(173,174)
+(173,187)
+(174,160)
+(174,173)
+(174,174)
+(174,175)
+(174,188)
+(175,161)
+(175,174)
+(175,175)
+(175,176)
+(175,189)
+(176,162)
+(176,175)
+(176,176)
+(176,177)
+(176,190)
+(177,163)
+(177,176)
+(177,177)
+(177,178)
+(177,191)
+(178,164)
+(178,177)
+(178,178)
+(178,179)
+(178,192)
+(179,165)
+(179,178)
+(179,179)
+(179,180)
+(179,193)
+(180,166)
+(180,179)
+(180,180)
+(180,181)
+(180,194)
+(181,167)
+(181,180)
+(181,181)
+(181,195)
+(182,168)
+(182,182)
+(182,183)
+(183,169)
+(183,182)
+(183,183)
+(183,184)
+(184,170)
+(184,183)
+(184,184)
+(184,185)
+(185,171)
+(185,184)
+(185,185)
+(185,186)
+(186,172)
+(186,185)
+(186,186)
+(186,187)
+(187,173)
+(187,186)
+(187,187)
+(187,188)
+(188,174)
+(188,187)
+(188,188)
+(188,189)
+(189,175)
+(189,188)
+(189,189)
+(189,190)
+(190,176)
+(190,189)
+(190,190)
+(190,191)
+(191,177)
+(191,190)
+(191,191)
+(191,192)
+(192,178)
+(192,191)
+(192,192)
+(192,193)
+(193,179)
+(193,192)
+(193,193)
+(193,194)
+(194,180)
+(194,193)
+(194,194)
+(194,195)
+(195,181)
+(195,194)
+(195,195)
+DEAL::OK
--- /dev/null
+//--------------------------- sparsity_pattern_common.h -------------------------
+// $Id: sparsity_pattern_01.cc 15674 2008-01-24 17:40:56Z kanschat $
+// Version: $Name$
+//
+// Copyright (C) 2008 by the deal.II authors
+//
+// This file is subject to QPL and may not be distributed
+// without copyright and license information. Please refer
+// to the file deal.II/doc/license.html for the text and
+// further information on this license.
+//
+//--------------------------- sparsity_pattern_common.h -------------------------
+
+
+
+// check
+
+#include "../tests.h"
+#include <lac/trilinos_sparsity_pattern.h>
+#include "../lac/testmatrix.h"
+
+const unsigned int N = 15;
+
+
+// reinitialize sparsity patterns for 5-point star
+void do_reinit (TrilinosWrappers::SparsityPattern &sp)
+{
+ sp.reinit((N-1)*(N-1), (N-1)*(N-1));
+}
+
+
+
+void build_sparsity (TrilinosWrappers::SparsityPattern &sparsity_pattern)
+{
+ // generate usual 5-point sparsity pattern
+ do_reinit (sparsity_pattern);
+ FDMatrix(N,N).five_point_structure (sparsity_pattern);
+ sparsity_pattern.compress ();
+
+ deallog << sparsity_pattern.n_rows() << " "
+ << sparsity_pattern.n_cols() << " "
+ << sparsity_pattern.bandwidth() << " "
+ << sparsity_pattern.n_nonzero_elements()
+ << std::endl;
+}
+
+
+
+void row_length ()
+{
+ TrilinosWrappers::SparsityPattern sparsity_pattern;
+ build_sparsity (sparsity_pattern);
+
+ for (unsigned int i=0; i<sparsity_pattern.n_rows(); ++i)
+ deallog << sparsity_pattern.row_length(i) << std::endl;
+
+ deallog << "OK" << std::endl;
+}
+
+
+
+void print_gnuplot ()
+{
+ TrilinosWrappers::SparsityPattern sparsity_pattern;
+ build_sparsity (sparsity_pattern);
+
+ sparsity_pattern.print_gnuplot(deallog.get_file_stream());
+
+ deallog << "OK" << std::endl;
+}
+
+
+
+void print ()
+{
+ TrilinosWrappers::SparsityPattern sparsity_pattern;
+ build_sparsity (sparsity_pattern);
+
+ sparsity_pattern.print(deallog.get_file_stream());
+
+ deallog << "OK" << std::endl;
+}
+
+
+