]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove more deprecated functions in lac
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 22 Aug 2007 16:59:35 +0000 (16:59 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 22 Aug 2007 16:59:35 +0000 (16:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@15010 0785d39b-7218-0410-832d-ea1e28bc413d

tests/Makefile
tests/bits/apply_boundary_values_01.cc
tests/bits/apply_boundary_values_02.cc
tests/bits/dof_constraints_01.cc
tests/lac/sparse_matrices.cc

index 9574fa3e90b9a1c37cef1da7952b7bf0a879d378..2852ace6de1db589355f29e459e9a1b85f53db26 100644 (file)
@@ -2,7 +2,9 @@
 # Makefile,v 1.14 2002/09/19 13:53:47 wolf Exp
 # Common Makefile for all test directories
 
-all: base lac fe deal.II multigrid bits hp fail
+
+all: nofail fail
+nofail: base lac fe deal.II multigrid bits hp
        @-if grep -q 'define HAVE_LIBUMFPACK' $D/base/include/base/config.h ; then \
                cd umfpack ; $(MAKE) ; cd .. ; \
        fi
index 370ec2a788616a2df2c27847216107e164ce778a..095c1486939fc6ca238a92f3f47db018a88e829c 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 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
@@ -123,7 +123,7 @@ void test ()
   
                                    // now comes the check: we subtract B from
                                    // A, and make sure that the result is zero
-  A.add_scaled (-1., B);
+  A.add (-1., B);
   deallog << "|A|=" << A.frobenius_norm() << std::endl;
   deallog << "|B|=" << B.frobenius_norm() << std::endl;
   Assert (A.frobenius_norm() < 1e-12*B.frobenius_norm(),
index d1d0b36680fb0a7eeeeb8f5483aaf36a715a5dab..8df923a72871ff60abf0d6a7f7db495f1406da88 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 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
@@ -123,7 +123,7 @@ void test ()
   
                                    // now comes the check: we subtract B from
                                    // A, and make sure that the result is zero
-  A.add_scaled (-1., B);
+  A.add (-1., B);
   deallog << "|A|=" << A.frobenius_norm() << std::endl;
   deallog << "|B|=" << B.frobenius_norm() << std::endl;
   Assert (A.frobenius_norm() < 1e-12*B.frobenius_norm(),
index e40abacc28df3bbe832139e007192872a5b20155..92dbfd8dae97f504e9a15731d1bdc3857fff9026 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$ 
 //
-//    Copyright (C) 2004, 2005 by the deal.II authors
+//    Copyright (C) 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
@@ -115,7 +115,7 @@ void test ()
   
                                    // now comes the check: we subtract B from
                                    // A, and make sure that the result is zero
-  A.add_scaled (-1., B);
+  A.add (-1., B);
   deallog << "|A|=" << A.frobenius_norm() << std::endl;
   deallog << "|B|=" << B.frobenius_norm() << std::endl;
   Assert (A.frobenius_norm() < 1e-12*B.frobenius_norm(),
index beb89a351a86d6449431a10d7d449c43914515ce..5f07d9e6c9f56e3b9637fe3dbbadd744627ad698 100644 (file)
@@ -345,7 +345,7 @@ int main()
     check_iterator(E);
 #endif
     E.print_statistics(deallog, true);
-    E.add_scaled(-1., A);
+    E.add(-1., A);
     if (E.l2_norm() < 1.e-14)
       deallog << "Matrices are equal" << std::endl;
     else

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.