]> https://gitweb.dealii.org/ - dealii.git/commitdiff
reflect changes in FullMatrix
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 21 Aug 2007 21:39:01 +0000 (21:39 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 21 Aug 2007 21:39:01 +0000 (21:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@15009 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/fe_tools_common.cc
tests/lac/full_matrix.cc

index 8c384d133753002c711b7cbf530d216ff8f3868b..21ff771d5915f98ebac578a1f9e44d89e817b730 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2003, 2004, 2005, 2006 by the deal.II authors
+//    Copyright (C) 2003, 2004, 2005, 2006, 2007 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -65,7 +65,7 @@ output_matrix (const FullMatrix<double> &m)
   deallog << m.l1_norm() << ' ' << m.linfty_norm()
           << std::endl;
   if (m.m() == m.n())
-    deallog << m.norm2() << std::endl;
+    deallog << m.frobenius_norm() << std::endl;
   
   for (unsigned int i=0; i<std::min(m.m(),m.n()); ++i)
     deallog << m(i,i) << ' ' << m(i,std::min(m.m(),m.n())-i-1) << ' ';
index 6c22d2faa0c849566ba73daed89d1e7b488d8c32..fa137006d2f53350ba5601c1afab87a45bfe8a20 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -126,7 +126,7 @@ main ()
          D.gauss_jordan();
          D.print_formatted (logfile,3,false);
          deallog << "linfty-norm: " << D.linfty_norm() << std::endl
-                 << "Frobenius-norm: " << D.norm2() << std::endl;
+                 << "Frobenius-norm: " << D.frobenius_norm() << std::endl;
          
                                           // Rotate original matrix
          A.mmult(H,C);

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.