]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a test that presently doesn't compile, but which we should fix before the next...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 May 2003 21:13:30 +0000 (21:13 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 May 2003 21:13:30 +0000 (21:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@7618 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/Makefile
tests/bits/sparse_lu_decomposition_1.cc [new file with mode: 0644]

index 3abf9c9ad70285d19f3ec8556297d36b84fda12d..709f0700f5ca46f57ea0260b49001a656659ef2a 100644 (file)
@@ -88,6 +88,8 @@ denis_1.exe             : denis_1.g.$(OBJEXT)              $(libraries)
 unit_support_points.exe : unit_support_points.g.$(OBJEXT)  $(libraries)
 parameter_handler_1.exe : parameter_handler_1.g.$(OBJEXT)  $(libraries)
 parameter_handler_2.exe : parameter_handler_2.g.$(OBJEXT)  $(libraries)
+sparse_lu_decomposition_1.exe: sparse_lu_decomposition_1.g.$(OBJEXT) $(libraries)
+
 
 tests = anna_1 anna_2 anna_3 anna_4 anna_5 anna_6 \
        geometry_info_1 \
@@ -107,7 +109,8 @@ tests = anna_1 anna_2 anna_3 anna_4 anna_5 anna_6 \
        fe_tools_05 fe_tools_06 fe_tools_07 fe_tools_08 \
        roy_1 \
         denis_1 \
-       unit_support_points parameter_handler_1 parameter_handler_2
+       unit_support_points parameter_handler_1 parameter_handler_2 \
+       sparse_lu_decomposition_1
 
 ############################################################
 
diff --git a/tests/bits/sparse_lu_decomposition_1.cc b/tests/bits/sparse_lu_decomposition_1.cc
new file mode 100644 (file)
index 0000000..5473aa1
--- /dev/null
@@ -0,0 +1,38 @@
+//----------------------------  sparse_lu_decomposition_1.cc  ---------------------------
+//    $Id$
+//    Version: $Name$
+//
+//    Copyright (C) 2003 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.
+//
+//----------------------------  sparse_lu_decomposition_1.cc  ---------------------------
+
+// this file didn't compile at one point in time due to the private
+// inheritance of SparseMatrix by SparseLUDecomposition, and the
+// associated lack of accessibility of the Subscriptor functions to
+// the SmartPointer
+
+#include <base/logstream.h>
+#include <base/smartpointer.h>
+#include <lac/sparse_ilu.h>
+#include <fstream>
+
+  
+
+int main () 
+{
+  std::ofstream logfile("sparse_lu_decomposition_1.output");
+  deallog.attach(logfile);
+  deallog.depth_console(0);
+
+  SmartPointer<SparseLUDecomposition<double> > sparse_decomp;
+
+  deallog << "OK" << std::endl;
+  
+  return 0;
+}
+

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.