]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a bunch more tests.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 18 Nov 2007 05:44:22 +0000 (05:44 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 18 Nov 2007 05:44:22 +0000 (05:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@15513 0785d39b-7218-0410-832d-ea1e28bc413d

26 files changed:
tests/bits/full_matrix_24.cc [new file with mode: 0644]
tests/bits/full_matrix_24/cmp/generic [new file with mode: 0644]
tests/bits/full_matrix_25.cc [new file with mode: 0644]
tests/bits/full_matrix_25/cmp/generic [new file with mode: 0644]
tests/bits/full_matrix_26.cc [new file with mode: 0644]
tests/bits/full_matrix_26/cmp/generic [new file with mode: 0644]
tests/bits/full_matrix_27.cc [new file with mode: 0644]
tests/bits/full_matrix_27/cmp/generic [new file with mode: 0644]
tests/bits/full_matrix_28.cc [new file with mode: 0644]
tests/bits/full_matrix_28/cmp/generic [new file with mode: 0644]
tests/bits/full_matrix_29.cc [new file with mode: 0644]
tests/bits/full_matrix_29/cmp/generic [new file with mode: 0644]
tests/bits/full_matrix_30.cc [new file with mode: 0644]
tests/bits/full_matrix_30/cmp/generic [new file with mode: 0644]
tests/bits/full_matrix_31.cc [new file with mode: 0644]
tests/bits/full_matrix_31/cmp/generic [new file with mode: 0644]
tests/bits/full_matrix_32.cc [new file with mode: 0644]
tests/bits/full_matrix_32/cmp/generic [new file with mode: 0644]
tests/bits/full_matrix_33.cc [new file with mode: 0644]
tests/bits/full_matrix_33/cmp/generic [new file with mode: 0644]
tests/bits/full_matrix_34.cc [new file with mode: 0644]
tests/bits/full_matrix_34/cmp/generic [new file with mode: 0644]
tests/bits/full_matrix_35.cc [new file with mode: 0644]
tests/bits/full_matrix_35/cmp/generic [new file with mode: 0644]
tests/bits/full_matrix_36.cc [new file with mode: 0644]
tests/bits/full_matrix_36/cmp/generic [new file with mode: 0644]

diff --git a/tests/bits/full_matrix_24.cc b/tests/bits/full_matrix_24.cc
new file mode 100644 (file)
index 0000000..102dff0
--- /dev/null
@@ -0,0 +1,36 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::add
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_24/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m,n;
+  make_matrix (m);
+  make_matrix (n);
+  m.add (3.14159, n);
+  
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_24/cmp/generic b/tests/bits/full_matrix_24/cmp/generic
new file mode 100644 (file)
index 0000000..e88b149
--- /dev/null
@@ -0,0 +1,51 @@
+
+DEAL::0 0 8.3
+DEAL::0 1 12.
+DEAL::0 2 17.
+DEAL::0 3 21.
+DEAL::0 4 25.
+DEAL::1 0 17.
+DEAL::1 1 25.
+DEAL::1 2 33.
+DEAL::1 3 41.
+DEAL::1 4 50.
+DEAL::2 0 25.
+DEAL::2 1 37.
+DEAL::2 2 50.
+DEAL::2 3 62.
+DEAL::2 4 75.
+DEAL::3 0 33.
+DEAL::3 1 50.
+DEAL::3 2 66.
+DEAL::3 3 83.
+DEAL::3 4 99.
+DEAL::4 0 41.
+DEAL::4 1 62.
+DEAL::4 2 83.
+DEAL::4 3 1.0e+02
+DEAL::4 4 1.2e+02
+DEAL::0 0 8.3
+DEAL::0 1 12.
+DEAL::0 2 17.
+DEAL::0 3 21.
+DEAL::0 4 25.
+DEAL::1 0 17.
+DEAL::1 1 25.
+DEAL::1 2 33.
+DEAL::1 3 41.
+DEAL::1 4 50.
+DEAL::2 0 25.
+DEAL::2 1 37.
+DEAL::2 2 50.
+DEAL::2 3 62.
+DEAL::2 4 75.
+DEAL::3 0 33.
+DEAL::3 1 50.
+DEAL::3 2 66.
+DEAL::3 3 83.
+DEAL::3 4 99.
+DEAL::4 0 41.
+DEAL::4 1 62.
+DEAL::4 2 83.
+DEAL::4 3 1.0e+02
+DEAL::4 4 1.2e+02
diff --git a/tests/bits/full_matrix_25.cc b/tests/bits/full_matrix_25.cc
new file mode 100644 (file)
index 0000000..4477e4b
--- /dev/null
@@ -0,0 +1,36 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::add(4)
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_25/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m,n,o;
+  make_matrix (m);
+  make_matrix (n);
+  make_matrix (o);
+  m.add (3.1415, n, 2.718, o);
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_25/cmp/generic b/tests/bits/full_matrix_25/cmp/generic
new file mode 100644 (file)
index 0000000..a9052ae
--- /dev/null
@@ -0,0 +1,51 @@
+
+DEAL::0 0 14.
+DEAL::0 1 21.
+DEAL::0 2 27.
+DEAL::0 3 34.
+DEAL::0 4 41.
+DEAL::1 0 27.
+DEAL::1 1 41.
+DEAL::1 2 55.
+DEAL::1 3 69.
+DEAL::1 4 82.
+DEAL::2 0 41.
+DEAL::2 1 62.
+DEAL::2 2 82.
+DEAL::2 3 1.0e+02
+DEAL::2 4 1.2e+02
+DEAL::3 0 55.
+DEAL::3 1 82.
+DEAL::3 2 1.1e+02
+DEAL::3 3 1.4e+02
+DEAL::3 4 1.6e+02
+DEAL::4 0 69.
+DEAL::4 1 1.0e+02
+DEAL::4 2 1.4e+02
+DEAL::4 3 1.7e+02
+DEAL::4 4 2.1e+02
+DEAL::0 0 14.
+DEAL::0 1 21.
+DEAL::0 2 27.
+DEAL::0 3 34.
+DEAL::0 4 41.
+DEAL::1 0 27.
+DEAL::1 1 41.
+DEAL::1 2 55.
+DEAL::1 3 69.
+DEAL::1 4 82.
+DEAL::2 0 41.
+DEAL::2 1 62.
+DEAL::2 2 82.
+DEAL::2 3 1.0e+02
+DEAL::2 4 1.2e+02
+DEAL::3 0 55.
+DEAL::3 1 82.
+DEAL::3 2 1.1e+02
+DEAL::3 3 1.4e+02
+DEAL::3 4 1.6e+02
+DEAL::4 0 69.
+DEAL::4 1 1.0e+02
+DEAL::4 2 1.4e+02
+DEAL::4 3 1.7e+02
+DEAL::4 4 2.1e+02
diff --git a/tests/bits/full_matrix_26.cc b/tests/bits/full_matrix_26.cc
new file mode 100644 (file)
index 0000000..c9140b8
--- /dev/null
@@ -0,0 +1,37 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::add (6)
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_26/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m,n,o,p;
+  make_matrix (m);
+  make_matrix (n);
+  make_matrix (o);
+  make_matrix (p);
+  m.add (3.1415, n, 2.718, o, 1.414, p);
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_26/cmp/generic b/tests/bits/full_matrix_26/cmp/generic
new file mode 100644 (file)
index 0000000..82d5af7
--- /dev/null
@@ -0,0 +1,51 @@
+
+DEAL::0 0 17.
+DEAL::0 1 25.
+DEAL::0 2 33.
+DEAL::0 3 41.
+DEAL::0 4 50.
+DEAL::1 0 33.
+DEAL::1 1 50.
+DEAL::1 2 66.
+DEAL::1 3 83.
+DEAL::1 4 99.
+DEAL::2 0 50.
+DEAL::2 1 74.
+DEAL::2 2 99.
+DEAL::2 3 1.2e+02
+DEAL::2 4 1.5e+02
+DEAL::3 0 66.
+DEAL::3 1 99.
+DEAL::3 2 1.3e+02
+DEAL::3 3 1.7e+02
+DEAL::3 4 2.0e+02
+DEAL::4 0 83.
+DEAL::4 1 1.2e+02
+DEAL::4 2 1.7e+02
+DEAL::4 3 2.1e+02
+DEAL::4 4 2.5e+02
+DEAL::0 0 17.
+DEAL::0 1 25.
+DEAL::0 2 33.
+DEAL::0 3 41.
+DEAL::0 4 50.
+DEAL::1 0 33.
+DEAL::1 1 50.
+DEAL::1 2 66.
+DEAL::1 3 83.
+DEAL::1 4 99.
+DEAL::2 0 50.
+DEAL::2 1 74.
+DEAL::2 2 99.
+DEAL::2 3 1.2e+02
+DEAL::2 4 1.5e+02
+DEAL::3 0 66.
+DEAL::3 1 99.
+DEAL::3 2 1.3e+02
+DEAL::3 3 1.7e+02
+DEAL::3 4 2.0e+02
+DEAL::4 0 83.
+DEAL::4 1 1.2e+02
+DEAL::4 2 1.7e+02
+DEAL::4 3 2.1e+02
+DEAL::4 4 2.5e+02
diff --git a/tests/bits/full_matrix_27.cc b/tests/bits/full_matrix_27.cc
new file mode 100644 (file)
index 0000000..dc22f66
--- /dev/null
@@ -0,0 +1,34 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::add
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_27/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m(10,10),n;
+  make_matrix (n);
+  m.add (n, 2., 3, 4, 2, 3);
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_27/cmp/generic b/tests/bits/full_matrix_27/cmp/generic
new file mode 100644 (file)
index 0000000..34d12a2
--- /dev/null
@@ -0,0 +1,201 @@
+
+DEAL::0 0 0
+DEAL::0 1 0
+DEAL::0 2 0
+DEAL::0 3 0
+DEAL::0 4 0
+DEAL::0 5 0
+DEAL::0 6 0
+DEAL::0 7 0
+DEAL::0 8 0
+DEAL::0 9 0
+DEAL::1 0 0
+DEAL::1 1 0
+DEAL::1 2 0
+DEAL::1 3 0
+DEAL::1 4 0
+DEAL::1 5 0
+DEAL::1 6 0
+DEAL::1 7 0
+DEAL::1 8 0
+DEAL::1 9 0
+DEAL::2 0 0
+DEAL::2 1 0
+DEAL::2 2 0
+DEAL::2 3 0
+DEAL::2 4 0
+DEAL::2 5 0
+DEAL::2 6 0
+DEAL::2 7 0
+DEAL::2 8 0
+DEAL::2 9 0
+DEAL::3 0 0
+DEAL::3 1 0
+DEAL::3 2 0
+DEAL::3 3 0
+DEAL::3 4 30.
+DEAL::3 5 36.
+DEAL::3 6 0
+DEAL::3 7 0
+DEAL::3 8 0
+DEAL::3 9 0
+DEAL::4 0 0
+DEAL::4 1 0
+DEAL::4 2 0
+DEAL::4 3 0
+DEAL::4 4 40.
+DEAL::4 5 48.
+DEAL::4 6 0
+DEAL::4 7 0
+DEAL::4 8 0
+DEAL::4 9 0
+DEAL::5 0 0
+DEAL::5 1 0
+DEAL::5 2 0
+DEAL::5 3 0
+DEAL::5 4 50.
+DEAL::5 5 60.
+DEAL::5 6 0
+DEAL::5 7 0
+DEAL::5 8 0
+DEAL::5 9 0
+DEAL::6 0 0
+DEAL::6 1 0
+DEAL::6 2 0
+DEAL::6 3 0
+DEAL::6 4 0
+DEAL::6 5 0
+DEAL::6 6 0
+DEAL::6 7 0
+DEAL::6 8 0
+DEAL::6 9 0
+DEAL::7 0 0
+DEAL::7 1 0
+DEAL::7 2 0
+DEAL::7 3 0
+DEAL::7 4 0
+DEAL::7 5 0
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0
+DEAL::5 3 0.0
+DEAL::5 4 50.
+DEAL::5 5 60.
+DEAL::5 6 0.0
+DEAL::5 7 0.0
+DEAL::5 8 0.0
+DEAL::5 9 0.0
+DEAL::6 0 0.0
+DEAL::6 1 0.0
+DEAL::6 2 0.0
+DEAL::6 3 0.0
+DEAL::6 4 0.0
+DEAL::6 5 0.0
+DEAL::6 6 0.0
+DEAL::6 7 0.0
+DEAL::6 8 0.0
+DEAL::6 9 0.0
+DEAL::7 0 0.0
+DEAL::7 1 0.0
+DEAL::7 2 0.0
+DEAL::7 3 0.0
+DEAL::7 4 0.0
+DEAL::7 5 0.0
+DEAL::7 6 0.0
+DEAL::7 7 0.0
+DEAL::7 8 0.0
+DEAL::7 9 0.0
+DEAL::8 0 0.0
+DEAL::8 1 0.0
+DEAL::8 2 0.0
+DEAL::8 3 0.0
+DEAL::8 4 0.0
+DEAL::8 5 0.0
+DEAL::8 6 0.0
+DEAL::8 7 0.0
+DEAL::8 8 0.0
+DEAL::8 9 0.0
+DEAL::9 0 0.0
+DEAL::9 1 0.0
+DEAL::9 2 0.0
+DEAL::9 3 0.0
+DEAL::9 4 0.0
+DEAL::9 5 0.0
+DEAL::9 6 0.0
+DEAL::9 7 0.0
+DEAL::9 8 0.0
+DEAL::9 9 0.0
diff --git a/tests/bits/full_matrix_28.cc b/tests/bits/full_matrix_28.cc
new file mode 100644 (file)
index 0000000..35a0498
--- /dev/null
@@ -0,0 +1,34 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::Tadd
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_28/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m(10,10),n;
+  make_matrix (n);
+  m.Tadd (n, 2., 3, 4, 2, 3);
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_28/cmp/generic b/tests/bits/full_matrix_28/cmp/generic
new file mode 100644 (file)
index 0000000..fa91bb4
--- /dev/null
@@ -0,0 +1,201 @@
+
+DEAL::0 0 0
+DEAL::0 1 0
+DEAL::0 2 0
+DEAL::0 3 0
+DEAL::0 4 0
+DEAL::0 5 0
+DEAL::0 6 0
+DEAL::0 7 0
+DEAL::0 8 0
+DEAL::0 9 0
+DEAL::1 0 0
+DEAL::1 1 0
+DEAL::1 2 0
+DEAL::1 3 0
+DEAL::1 4 0
+DEAL::1 5 0
+DEAL::1 6 0
+DEAL::1 7 0
+DEAL::1 8 0
+DEAL::1 9 0
+DEAL::2 0 0
+DEAL::2 1 0
+DEAL::2 2 0
+DEAL::2 3 0
+DEAL::2 4 0
+DEAL::2 5 0
+DEAL::2 6 0
+DEAL::2 7 0
+DEAL::2 8 0
+DEAL::2 9 0
+DEAL::3 0 0
+DEAL::3 1 0
+DEAL::3 2 0
+DEAL::3 3 0
+DEAL::3 4 30.
+DEAL::3 5 40.
+DEAL::3 6 50.
+DEAL::3 7 0
+DEAL::3 8 0
+DEAL::3 9 0
+DEAL::4 0 0
+DEAL::4 1 0
+DEAL::4 2 0
+DEAL::4 3 0
+DEAL::4 4 36.
+DEAL::4 5 48.
+DEAL::4 6 60.
+DEAL::4 7 0
+DEAL::4 8 0
+DEAL::4 9 0
+DEAL::5 0 0
+DEAL::5 1 0
+DEAL::5 2 0
+DEAL::5 3 0
+DEAL::5 4 0
+DEAL::5 5 0
+DEAL::5 6 0
+DEAL::5 7 0
+DEAL::5 8 0
+DEAL::5 9 0
+DEAL::6 0 0
+DEAL::6 1 0
+DEAL::6 2 0
+DEAL::6 3 0
+DEAL::6 4 0
+DEAL::6 5 0
+DEAL::6 6 0
+DEAL::6 7 0
+DEAL::6 8 0
+DEAL::6 9 0
+DEAL::7 0 0
+DEAL::7 1 0
+DEAL::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+DEAL::5 0 0.0
+DEAL::5 1 0.0
+DEAL::5 2 0.0
+DEAL::5 3 0.0
+DEAL::5 4 0.0
+DEAL::5 5 0.0
+DEAL::5 6 0.0
+DEAL::5 7 0.0
+DEAL::5 8 0.0
+DEAL::5 9 0.0
+DEAL::6 0 0.0
+DEAL::6 1 0.0
+DEAL::6 2 0.0
+DEAL::6 3 0.0
+DEAL::6 4 0.0
+DEAL::6 5 0.0
+DEAL::6 6 0.0
+DEAL::6 7 0.0
+DEAL::6 8 0.0
+DEAL::6 9 0.0
+DEAL::7 0 0.0
+DEAL::7 1 0.0
+DEAL::7 2 0.0
+DEAL::7 3 0.0
+DEAL::7 4 0.0
+DEAL::7 5 0.0
+DEAL::7 6 0.0
+DEAL::7 7 0.0
+DEAL::7 8 0.0
+DEAL::7 9 0.0
+DEAL::8 0 0.0
+DEAL::8 1 0.0
+DEAL::8 2 0.0
+DEAL::8 3 0.0
+DEAL::8 4 0.0
+DEAL::8 5 0.0
+DEAL::8 6 0.0
+DEAL::8 7 0.0
+DEAL::8 8 0.0
+DEAL::8 9 0.0
+DEAL::9 0 0.0
+DEAL::9 1 0.0
+DEAL::9 2 0.0
+DEAL::9 3 0.0
+DEAL::9 4 0.0
+DEAL::9 5 0.0
+DEAL::9 6 0.0
+DEAL::9 7 0.0
+DEAL::9 8 0.0
+DEAL::9 9 0.0
diff --git a/tests/bits/full_matrix_29.cc b/tests/bits/full_matrix_29.cc
new file mode 100644 (file)
index 0000000..1489f94
--- /dev/null
@@ -0,0 +1,34 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::add_row
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_29/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m;
+  make_matrix (m);
+  m.add_row (2, 3.141, 4);
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_29/cmp/generic b/tests/bits/full_matrix_29/cmp/generic
new file mode 100644 (file)
index 0000000..599df67
--- /dev/null
@@ -0,0 +1,51 @@
+
+DEAL::0 0 2.0
+DEAL::0 1 3.0
+DEAL::0 2 4.0
+DEAL::0 3 5.0
+DEAL::0 4 6.0
+DEAL::1 0 4.0
+DEAL::1 1 6.0
+DEAL::1 2 8.0
+DEAL::1 3 10.
+DEAL::1 4 12.
+DEAL::2 0 37.
+DEAL::2 1 56.
+DEAL::2 2 75.
+DEAL::2 3 94.
+DEAL::2 4 1.1e+02
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 16.
+DEAL::3 3 20.
+DEAL::3 4 24.
+DEAL::4 0 10.
+DEAL::4 1 15.
+DEAL::4 2 20.
+DEAL::4 3 25.
+DEAL::4 4 30.
+DEAL::0 0 2.0
+DEAL::0 1 3.0
+DEAL::0 2 4.0
+DEAL::0 3 5.0
+DEAL::0 4 6.0
+DEAL::1 0 4.0
+DEAL::1 1 6.0
+DEAL::1 2 8.0
+DEAL::1 3 10.
+DEAL::1 4 12.
+DEAL::2 0 37.
+DEAL::2 1 56.
+DEAL::2 2 75.
+DEAL::2 3 94.
+DEAL::2 4 1.1e+02
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 16.
+DEAL::3 3 20.
+DEAL::3 4 24.
+DEAL::4 0 10.
+DEAL::4 1 15.
+DEAL::4 2 20.
+DEAL::4 3 25.
+DEAL::4 4 30.
diff --git a/tests/bits/full_matrix_30.cc b/tests/bits/full_matrix_30.cc
new file mode 100644 (file)
index 0000000..37a9d16
--- /dev/null
@@ -0,0 +1,34 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::add_row
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_30/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m;
+  make_matrix (m);
+  m.add_row (2, 3.141, 4, 2.7182, 3);
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_30/cmp/generic b/tests/bits/full_matrix_30/cmp/generic
new file mode 100644 (file)
index 0000000..ed41bc2
--- /dev/null
@@ -0,0 +1,51 @@
+
+DEAL::0 0 2.0
+DEAL::0 1 3.0
+DEAL::0 2 4.0
+DEAL::0 3 5.0
+DEAL::0 4 6.0
+DEAL::1 0 4.0
+DEAL::1 1 6.0
+DEAL::1 2 8.0
+DEAL::1 3 10.
+DEAL::1 4 12.
+DEAL::2 0 59.
+DEAL::2 1 89.
+DEAL::2 2 1.2e+02
+DEAL::2 3 1.5e+02
+DEAL::2 4 1.8e+02
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 16.
+DEAL::3 3 20.
+DEAL::3 4 24.
+DEAL::4 0 10.
+DEAL::4 1 15.
+DEAL::4 2 20.
+DEAL::4 3 25.
+DEAL::4 4 30.
+DEAL::0 0 2.0
+DEAL::0 1 3.0
+DEAL::0 2 4.0
+DEAL::0 3 5.0
+DEAL::0 4 6.0
+DEAL::1 0 4.0
+DEAL::1 1 6.0
+DEAL::1 2 8.0
+DEAL::1 3 10.
+DEAL::1 4 12.
+DEAL::2 0 59.
+DEAL::2 1 89.
+DEAL::2 2 1.2e+02
+DEAL::2 3 1.5e+02
+DEAL::2 4 1.8e+02
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 16.
+DEAL::3 3 20.
+DEAL::3 4 24.
+DEAL::4 0 10.
+DEAL::4 1 15.
+DEAL::4 2 20.
+DEAL::4 3 25.
+DEAL::4 4 30.
diff --git a/tests/bits/full_matrix_31.cc b/tests/bits/full_matrix_31.cc
new file mode 100644 (file)
index 0000000..26360fa
--- /dev/null
@@ -0,0 +1,34 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::add_col
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_31/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m;
+  make_matrix (m);
+  m.add_col (2, 3.141, 4);
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_31/cmp/generic b/tests/bits/full_matrix_31/cmp/generic
new file mode 100644 (file)
index 0000000..45f1c60
--- /dev/null
@@ -0,0 +1,51 @@
+
+DEAL::0 0 2.0
+DEAL::0 1 3.0
+DEAL::0 2 23.
+DEAL::0 3 5.0
+DEAL::0 4 6.0
+DEAL::1 0 4.0
+DEAL::1 1 6.0
+DEAL::1 2 46.
+DEAL::1 3 10.
+DEAL::1 4 12.
+DEAL::2 0 6.0
+DEAL::2 1 9.0
+DEAL::2 2 69.
+DEAL::2 3 15.
+DEAL::2 4 18.
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 91.
+DEAL::3 3 20.
+DEAL::3 4 24.
+DEAL::4 0 10.
+DEAL::4 1 15.
+DEAL::4 2 1.1e+02
+DEAL::4 3 25.
+DEAL::4 4 30.
+DEAL::0 0 2.0
+DEAL::0 1 3.0
+DEAL::0 2 23.
+DEAL::0 3 5.0
+DEAL::0 4 6.0
+DEAL::1 0 4.0
+DEAL::1 1 6.0
+DEAL::1 2 46.
+DEAL::1 3 10.
+DEAL::1 4 12.
+DEAL::2 0 6.0
+DEAL::2 1 9.0
+DEAL::2 2 69.
+DEAL::2 3 15.
+DEAL::2 4 18.
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 91.
+DEAL::3 3 20.
+DEAL::3 4 24.
+DEAL::4 0 10.
+DEAL::4 1 15.
+DEAL::4 2 1.1e+02
+DEAL::4 3 25.
+DEAL::4 4 30.
diff --git a/tests/bits/full_matrix_32.cc b/tests/bits/full_matrix_32.cc
new file mode 100644 (file)
index 0000000..efae3e8
--- /dev/null
@@ -0,0 +1,34 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::add_col
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_32/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m;
+  make_matrix (m);
+  m.add_col (2, 3.141, 4, 2.718, 3);
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_32/cmp/generic b/tests/bits/full_matrix_32/cmp/generic
new file mode 100644 (file)
index 0000000..c981a2d
--- /dev/null
@@ -0,0 +1,51 @@
+
+DEAL::0 0 2.0
+DEAL::0 1 3.0
+DEAL::0 2 36.
+DEAL::0 3 5.0
+DEAL::0 4 6.0
+DEAL::1 0 4.0
+DEAL::1 1 6.0
+DEAL::1 2 73.
+DEAL::1 3 10.
+DEAL::1 4 12.
+DEAL::2 0 6.0
+DEAL::2 1 9.0
+DEAL::2 2 1.1e+02
+DEAL::2 3 15.
+DEAL::2 4 18.
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 1.5e+02
+DEAL::3 3 20.
+DEAL::3 4 24.
+DEAL::4 0 10.
+DEAL::4 1 15.
+DEAL::4 2 1.8e+02
+DEAL::4 3 25.
+DEAL::4 4 30.
+DEAL::0 0 2.0
+DEAL::0 1 3.0
+DEAL::0 2 36.
+DEAL::0 3 5.0
+DEAL::0 4 6.0
+DEAL::1 0 4.0
+DEAL::1 1 6.0
+DEAL::1 2 73.
+DEAL::1 3 10.
+DEAL::1 4 12.
+DEAL::2 0 6.0
+DEAL::2 1 9.0
+DEAL::2 2 1.1e+02
+DEAL::2 3 15.
+DEAL::2 4 18.
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 1.5e+02
+DEAL::3 3 20.
+DEAL::3 4 24.
+DEAL::4 0 10.
+DEAL::4 1 15.
+DEAL::4 2 1.8e+02
+DEAL::4 3 25.
+DEAL::4 4 30.
diff --git a/tests/bits/full_matrix_33.cc b/tests/bits/full_matrix_33.cc
new file mode 100644 (file)
index 0000000..343106e
--- /dev/null
@@ -0,0 +1,34 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::swap_row
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_33/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m;
+  make_matrix (m);
+  m.swap_row (2, 4);
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_33/cmp/generic b/tests/bits/full_matrix_33/cmp/generic
new file mode 100644 (file)
index 0000000..0a554b4
--- /dev/null
@@ -0,0 +1,51 @@
+
+DEAL::0 0 2.0
+DEAL::0 1 3.0
+DEAL::0 2 4.0
+DEAL::0 3 5.0
+DEAL::0 4 6.0
+DEAL::1 0 4.0
+DEAL::1 1 6.0
+DEAL::1 2 8.0
+DEAL::1 3 10.
+DEAL::1 4 12.
+DEAL::2 0 10.
+DEAL::2 1 15.
+DEAL::2 2 20.
+DEAL::2 3 25.
+DEAL::2 4 30.
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 16.
+DEAL::3 3 20.
+DEAL::3 4 24.
+DEAL::4 0 6.0
+DEAL::4 1 9.0
+DEAL::4 2 12.
+DEAL::4 3 15.
+DEAL::4 4 18.
+DEAL::0 0 2.0
+DEAL::0 1 3.0
+DEAL::0 2 4.0
+DEAL::0 3 5.0
+DEAL::0 4 6.0
+DEAL::1 0 4.0
+DEAL::1 1 6.0
+DEAL::1 2 8.0
+DEAL::1 3 10.
+DEAL::1 4 12.
+DEAL::2 0 10.
+DEAL::2 1 15.
+DEAL::2 2 20.
+DEAL::2 3 25.
+DEAL::2 4 30.
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 16.
+DEAL::3 3 20.
+DEAL::3 4 24.
+DEAL::4 0 6.0
+DEAL::4 1 9.0
+DEAL::4 2 12.
+DEAL::4 3 15.
+DEAL::4 4 18.
diff --git a/tests/bits/full_matrix_34.cc b/tests/bits/full_matrix_34.cc
new file mode 100644 (file)
index 0000000..95024dd
--- /dev/null
@@ -0,0 +1,34 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::swap_col
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_34/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m;
+  make_matrix (m);
+  m.swap_col (2, 4);
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_34/cmp/generic b/tests/bits/full_matrix_34/cmp/generic
new file mode 100644 (file)
index 0000000..0253c8d
--- /dev/null
@@ -0,0 +1,51 @@
+
+DEAL::0 0 2.0
+DEAL::0 1 3.0
+DEAL::0 2 6.0
+DEAL::0 3 5.0
+DEAL::0 4 4.0
+DEAL::1 0 4.0
+DEAL::1 1 6.0
+DEAL::1 2 12.
+DEAL::1 3 10.
+DEAL::1 4 8.0
+DEAL::2 0 6.0
+DEAL::2 1 9.0
+DEAL::2 2 18.
+DEAL::2 3 15.
+DEAL::2 4 12.
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 24.
+DEAL::3 3 20.
+DEAL::3 4 16.
+DEAL::4 0 10.
+DEAL::4 1 15.
+DEAL::4 2 30.
+DEAL::4 3 25.
+DEAL::4 4 20.
+DEAL::0 0 2.0
+DEAL::0 1 3.0
+DEAL::0 2 6.0
+DEAL::0 3 5.0
+DEAL::0 4 4.0
+DEAL::1 0 4.0
+DEAL::1 1 6.0
+DEAL::1 2 12.
+DEAL::1 3 10.
+DEAL::1 4 8.0
+DEAL::2 0 6.0
+DEAL::2 1 9.0
+DEAL::2 2 18.
+DEAL::2 3 15.
+DEAL::2 4 12.
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 24.
+DEAL::3 3 20.
+DEAL::3 4 16.
+DEAL::4 0 10.
+DEAL::4 1 15.
+DEAL::4 2 30.
+DEAL::4 3 25.
+DEAL::4 4 20.
diff --git a/tests/bits/full_matrix_35.cc b/tests/bits/full_matrix_35.cc
new file mode 100644 (file)
index 0000000..c7baffe
--- /dev/null
@@ -0,0 +1,35 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::add_diag
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_35/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m, n;
+  make_matrix (m);
+  make_matrix (n);
+  m.add_diag (3.141, m);
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_35/cmp/generic b/tests/bits/full_matrix_35/cmp/generic
new file mode 100644 (file)
index 0000000..e88b149
--- /dev/null
@@ -0,0 +1,51 @@
+
+DEAL::0 0 8.3
+DEAL::0 1 12.
+DEAL::0 2 17.
+DEAL::0 3 21.
+DEAL::0 4 25.
+DEAL::1 0 17.
+DEAL::1 1 25.
+DEAL::1 2 33.
+DEAL::1 3 41.
+DEAL::1 4 50.
+DEAL::2 0 25.
+DEAL::2 1 37.
+DEAL::2 2 50.
+DEAL::2 3 62.
+DEAL::2 4 75.
+DEAL::3 0 33.
+DEAL::3 1 50.
+DEAL::3 2 66.
+DEAL::3 3 83.
+DEAL::3 4 99.
+DEAL::4 0 41.
+DEAL::4 1 62.
+DEAL::4 2 83.
+DEAL::4 3 1.0e+02
+DEAL::4 4 1.2e+02
+DEAL::0 0 8.3
+DEAL::0 1 12.
+DEAL::0 2 17.
+DEAL::0 3 21.
+DEAL::0 4 25.
+DEAL::1 0 17.
+DEAL::1 1 25.
+DEAL::1 2 33.
+DEAL::1 3 41.
+DEAL::1 4 50.
+DEAL::2 0 25.
+DEAL::2 1 37.
+DEAL::2 2 50.
+DEAL::2 3 62.
+DEAL::2 4 75.
+DEAL::3 0 33.
+DEAL::3 1 50.
+DEAL::3 2 66.
+DEAL::3 3 83.
+DEAL::3 4 99.
+DEAL::4 0 41.
+DEAL::4 1 62.
+DEAL::4 2 83.
+DEAL::4 3 1.0e+02
+DEAL::4 4 1.2e+02
diff --git a/tests/bits/full_matrix_36.cc b/tests/bits/full_matrix_36.cc
new file mode 100644 (file)
index 0000000..89513db
--- /dev/null
@@ -0,0 +1,34 @@
+//----------------------------------------------------------------------
+//    $Id$
+//    Version: $Name$ 
+//
+//    Copyright (C) 2007 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.
+//
+//----------------------------------------------------------------------
+
+
+// check FullMatrix::diag_add
+
+
+#include "../tests.h"
+#include "full_matrix_common.h"
+
+
+std::string output_file_name = "full_matrix_36/output";
+
+
+template <typename number>
+void
+check ()
+{
+  FullMatrix<number> m;
+  make_matrix (m);
+  m.diagadd (3.141);
+  print_matrix (m);
+}
+
diff --git a/tests/bits/full_matrix_36/cmp/generic b/tests/bits/full_matrix_36/cmp/generic
new file mode 100644 (file)
index 0000000..52f2e85
--- /dev/null
@@ -0,0 +1,51 @@
+
+DEAL::0 0 5.1
+DEAL::0 1 3.0
+DEAL::0 2 4.0
+DEAL::0 3 5.0
+DEAL::0 4 6.0
+DEAL::1 0 4.0
+DEAL::1 1 9.1
+DEAL::1 2 8.0
+DEAL::1 3 10.
+DEAL::1 4 12.
+DEAL::2 0 6.0
+DEAL::2 1 9.0
+DEAL::2 2 15.
+DEAL::2 3 15.
+DEAL::2 4 18.
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 16.
+DEAL::3 3 23.
+DEAL::3 4 24.
+DEAL::4 0 10.
+DEAL::4 1 15.
+DEAL::4 2 20.
+DEAL::4 3 25.
+DEAL::4 4 33.
+DEAL::0 0 5.1
+DEAL::0 1 3.0
+DEAL::0 2 4.0
+DEAL::0 3 5.0
+DEAL::0 4 6.0
+DEAL::1 0 4.0
+DEAL::1 1 9.1
+DEAL::1 2 8.0
+DEAL::1 3 10.
+DEAL::1 4 12.
+DEAL::2 0 6.0
+DEAL::2 1 9.0
+DEAL::2 2 15.
+DEAL::2 3 15.
+DEAL::2 4 18.
+DEAL::3 0 8.0
+DEAL::3 1 12.
+DEAL::3 2 16.
+DEAL::3 3 23.
+DEAL::3 4 24.
+DEAL::4 0 10.
+DEAL::4 1 15.
+DEAL::4 2 20.
+DEAL::4 3 25.
+DEAL::4 4 33.

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.