]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make the test more interesting by testing more of the parameters.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2013 14:45:49 +0000 (14:45 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2013 14:45:49 +0000 (14:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@28373 0785d39b-7218-0410-832d-ea1e28bc413d

tests/lac/matrices_lapack_fill.cc
tests/lac/matrices_lapack_fill/cmp/generic

index eb1ebe4158d0626fd5c11be173b7025c02b7cd07..570a3bd89fd41729f34539dd83cda0afaf05dd5e 100644 (file)
@@ -51,7 +51,7 @@ int main()
     deallog << "SparseMatrixEZ<float>::fill  SparseMatrixEZ<double>"
            << std::endl;
     LAPACKFullMatrix<float> ff(ez.m(), ez.n());
-    ff.fill(ez, 0,0,0,0, 1, false);
+    ff.fill(ez, 0,0,0,0, 2, false);
     ff.print_formatted(logfile, 0, false, 5, "~");
   }
 
@@ -59,7 +59,7 @@ int main()
     deallog << "SparseMatrixEZ<float>::fill  SparseMatrixEZ<double>  transpose"
            << std::endl;
     LAPACKFullMatrix<float> ff(ez.n(), ez.m());
-    ff.fill(ez, 0,0,0,0, 1, true);
+    ff.fill(ez, 0,0,0,0, 2, true);
     ff.print_formatted(logfile, 0, false, 5, "~");
   }
 
index 073151f38d5c3c0bf0d81f33f6ed90faf35ce582..d4dfd5d0aefd63b3bafa42f5bdf29c95f3c42816 100644 (file)
@@ -1,7 +1,12 @@
 
-DEAL::SparseMatrixEZ<float>::copy_from  SparseMatrixEZ<double>
-2.    ~     3.    4.    
-5.    6.    ~     7.    
-8.    9.    10.   11.   
+DEAL::SparseMatrixEZ<float>::fill  SparseMatrixEZ<double>
+4.    ~     6.    8.    
+10.   12.   ~     14.   
+16.   18.   20.   22.   
 ~     ~     ~     ~     
-12.   ~     13.   14.   
+24.   ~     26.   28.   
+DEAL::SparseMatrixEZ<float>::fill  SparseMatrixEZ<double>  transpose
+4.    10.   16.   ~     24.   
+~     12.   18.   ~     ~     
+6.    ~     20.   ~     26.   
+8.    14.   22.   ~     28.   

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.