]> https://gitweb.dealii.org/ - dealii.git/commitdiff
.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 5 May 2000 14:49:51 +0000 (14:49 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 5 May 2000 14:49:51 +0000 (14:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@2802 0785d39b-7218-0410-832d-ea1e28bc413d

tests/lac/block_matrices.cc

index 66c7f26d843f3a2998bb39217218d8841001e281..971cc45f997d49eb820ac5c80ca2f91287529070 100644 (file)
@@ -37,7 +37,28 @@ int main ()
   bsp.block(2,0).reinit (10, 10, 6);
   bsp.block(2,1).reinit (10, 19, 12);
   bsp.collect_sizes ();
-  
+
+                                  // add this pseudo-random sparsity
+                                  // pattern:
+                                  // 0   1    1 1 1    1 1 1    1 1 1 
+                                  // 1    1 1 1    1 1 1    1 1 1    1
+                                  // 2       1 1 1 1    1 1 1    1 1 1
+                                  // 3   1 1 1    1 1 1 1    1 1 1    
+                                  // 4   1    1 1 1    1 1 1 1    1 1 
+                                  // 5    1 1 1    1 1 1    1 1 1 1   
+                                  // 6    1    1 1 1    1 1 1    1 1 1
+                                  // 7   1 1 1 1    1 1 1    1 1 1    
+                                  // 8   1    1 1 1 1    1 1 1    1 1 
+                                  // 9   11 1 1    1 1 1 1    1 1 1   
+                                  // 1    1    1 1 1    1 1 1 1    1 1
+                                  // 11    1 1 1    1 1 1    1 1 1 1  
+                                  // 12  1 11   1 1 1    1 1 1    1 1 
+                                  // 13   1 111 1    1 1 1    1 1 1   
+                                  // 14   1   11 1 1 1    1 1 1    1 1
+                                  // 15    1 1 1    1 1 1 1    1 1 1  
+                                  // 16  1 1    1 1 1    1 1 1 1    1 
+                                  // 17     1 1 11   1 1 1    1 1 1 1 
+                                  // 18   1 1    111 1    1 1 1    1 1
   for (unsigned int row=0; row<19; ++row)
     for (unsigned int i=0; i<10; ++i)
       bsp.add (row, (row*5+i*9)%29);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.