From 0846c6404f8b0beabe246f82fc4a30b6b1dc4ad3 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 9 May 2003 21:13:30 +0000 Subject: [PATCH] Add a test that presently doesn't compile, but which we should fix before the next release. git-svn-id: https://svn.dealii.org/trunk@7618 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/Makefile | 5 +++- tests/bits/sparse_lu_decomposition_1.cc | 38 +++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 tests/bits/sparse_lu_decomposition_1.cc diff --git a/tests/bits/Makefile b/tests/bits/Makefile index 3abf9c9ad7..709f0700f5 100644 --- a/tests/bits/Makefile +++ b/tests/bits/Makefile @@ -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 index 0000000000..5473aa1594 --- /dev/null +++ b/tests/bits/sparse_lu_decomposition_1.cc @@ -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 +#include +#include +#include + + + +int main () +{ + std::ofstream logfile("sparse_lu_decomposition_1.output"); + deallog.attach(logfile); + deallog.depth_console(0); + + SmartPointer > sparse_decomp; + + deallog << "OK" << std::endl; + + return 0; +} + -- 2.39.5