From: kronbichler Date: Tue, 21 Dec 2010 15:26:30 +0000 (+0000) Subject: Include correct files for failing tests. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b4415f2c3eb2f9f414794d8a6c44c2f3f2a37ec;p=dealii-svn.git Include correct files for failing tests. git-svn-id: https://svn.dealii.org/trunk@23056 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/fail/project_abf_01.cc b/tests/fail/project_abf_01.cc index bc69d6c3cb..45c99a5308 100644 --- a/tests/fail/project_abf_01.cc +++ b/tests/fail/project_abf_01.cc @@ -1,8 +1,8 @@ //---------------------------- project_abf_01.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2006 by the deal.II authors +// Copyright (C) 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -17,7 +17,7 @@ char logname[] = "project_abf_01/output"; -#include "../deal.II/project_common.cc" +#include "../deal.II/project_common.h" template diff --git a/tests/fail/project_abf_02.cc b/tests/fail/project_abf_02.cc index 8f452bcd4e..073c30b0d9 100644 --- a/tests/fail/project_abf_02.cc +++ b/tests/fail/project_abf_02.cc @@ -1,8 +1,8 @@ //---------------------------- project_abf_02.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2006 by the deal.II authors +// Copyright (C) 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -17,7 +17,7 @@ char logname[] = "project_abf_02/output"; -#include "../deal.II/project_common.cc" +#include "../deal.II/project_common.h" template diff --git a/tests/fail/project_abf_03.cc b/tests/fail/project_abf_03.cc index 316b1e3ccd..33c5d8a2d0 100644 --- a/tests/fail/project_abf_03.cc +++ b/tests/fail/project_abf_03.cc @@ -1,8 +1,8 @@ //---------------------------- project_abf_03.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2006 by the deal.II authors +// Copyright (C) 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -17,7 +17,7 @@ char logname[] = "project_abf_03/output"; -#include "../deal.II/project_common.cc" +#include "../deal.II/project_common.h" template diff --git a/tests/fail/project_abf_04.cc b/tests/fail/project_abf_04.cc index a0ddd88e47..570daaaf57 100644 --- a/tests/fail/project_abf_04.cc +++ b/tests/fail/project_abf_04.cc @@ -1,8 +1,8 @@ //---------------------------- project_abf_04.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2006 by the deal.II authors +// Copyright (C) 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -17,7 +17,7 @@ char logname[] = "project_abf_04/output"; -#include "../deal.II/project_common.cc" +#include "../deal.II/project_common.h" template diff --git a/tests/fail/project_abf_05.cc b/tests/fail/project_abf_05.cc index 87996f6d8c..e97748ac12 100644 --- a/tests/fail/project_abf_05.cc +++ b/tests/fail/project_abf_05.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2006 by the deal.II authors +// Copyright (C) 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -17,7 +17,7 @@ char logname[] = "project_abf_05/output"; -#include "../deal.II/project_common.cc" +#include "../deal.II/project_common.h" template diff --git a/tests/fail/project_dgp_nonparametric_01.cc b/tests/fail/project_dgp_nonparametric_01.cc index 807c74efc5..fcdda3d1bf 100644 --- a/tests/fail/project_dgp_nonparametric_01.cc +++ b/tests/fail/project_dgp_nonparametric_01.cc @@ -1,8 +1,8 @@ //---------------------------- project_dgp_nonparametric_01.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2006 by the deal.II authors +// Copyright (C) 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -18,7 +18,7 @@ char logname[] = "project_dgp_nonparametric_01/output"; -#include "../deal.II/project_common.cc" +#include "../deal.II/project_common.h" template diff --git a/tests/fail/project_dgp_nonparametric_02.cc b/tests/fail/project_dgp_nonparametric_02.cc index a5bd7be2f5..ce7073a24c 100644 --- a/tests/fail/project_dgp_nonparametric_02.cc +++ b/tests/fail/project_dgp_nonparametric_02.cc @@ -1,8 +1,8 @@ //---------------------------- project_dgp_nonparametric_02.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2006 by the deal.II authors +// Copyright (C) 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -18,7 +18,7 @@ char logname[] = "project_dgp_nonparametric_02/output"; -#include "../deal.II/project_common.cc" +#include "../deal.II/project_common.h" template diff --git a/tests/fail/project_dgp_nonparametric_03.cc b/tests/fail/project_dgp_nonparametric_03.cc index 47ac8c36de..83e20f006a 100644 --- a/tests/fail/project_dgp_nonparametric_03.cc +++ b/tests/fail/project_dgp_nonparametric_03.cc @@ -1,8 +1,8 @@ //---------------------------- project_dgp_nonparametric_03.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2006 by the deal.II authors +// Copyright (C) 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -18,7 +18,7 @@ char logname[] = "project_dgp_nonparametric_03/output"; -#include "../deal.II/project_common.cc" +#include "../deal.II/project_common.h" template diff --git a/tests/fail/project_dgp_nonparametric_04.cc b/tests/fail/project_dgp_nonparametric_04.cc index 31aec4cdcd..acaac125f8 100644 --- a/tests/fail/project_dgp_nonparametric_04.cc +++ b/tests/fail/project_dgp_nonparametric_04.cc @@ -1,8 +1,8 @@ //---------------------------- project_dgp_nonparametric_04.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2006 by the deal.II authors +// Copyright (C) 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -18,7 +18,7 @@ char logname[] = "project_dgp_nonparametric_04/output"; -#include "../deal.II/project_common.cc" +#include "../deal.II/project_common.h" template diff --git a/tests/fail/project_dgp_nonparametric_05.cc b/tests/fail/project_dgp_nonparametric_05.cc index bf46409006..57de87665f 100644 --- a/tests/fail/project_dgp_nonparametric_05.cc +++ b/tests/fail/project_dgp_nonparametric_05.cc @@ -1,8 +1,8 @@ //---------------------------- project_dgp_nonparametric_05.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2006 by the deal.II authors +// Copyright (C) 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -18,7 +18,7 @@ char logname[] = "project_dgp_nonparametric_05/output"; -#include "../deal.II/project_common.cc" +#include "../deal.II/project_common.h" template diff --git a/tests/fail/project_rt_03.cc b/tests/fail/project_rt_03.cc index bacb266724..991378c032 100644 --- a/tests/fail/project_rt_03.cc +++ b/tests/fail/project_rt_03.cc @@ -1,8 +1,8 @@ //---------------------------- project_rt_03.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2006 by the deal.II authors +// Copyright (C) 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -17,7 +17,7 @@ char logname[] = "project_rt_03/output"; -#include "../deal.II/project_common.cc" +#include "../deal.II/project_common.h" template diff --git a/tests/fail/rt_crash_01.cc b/tests/fail/rt_crash_01.cc index da18668e7b..57aac8f5c9 100644 --- a/tests/fail/rt_crash_01.cc +++ b/tests/fail/rt_crash_01.cc @@ -1,8 +1,8 @@ //---------------------------- rt_crash_01.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2003, 2004, 2006 by the deal.II authors +// Copyright (C) 2003, 2004, 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -12,7 +12,7 @@ //---------------------------- rt_crash_01.cc --------------------------- #include "../tests.h" -#include "../bits/dof_tools_common.cc" +#include "../bits/dof_tools_common.h" #include #include #include @@ -40,8 +40,8 @@ check_this (const DoFHandler &dof_handler) if (dof_handler.get_fe().get_name().find ("RaviartThomas") == std::string::npos) return; - - ConstantFunction test_func (1, dof_handler.get_fe().n_components ()); + + ConstantFunction test_func (1, dof_handler.get_fe().n_components ()); // don't run this test if hanging // nodes are not implemented @@ -70,7 +70,7 @@ check_this (const DoFHandler &dof_handler) for (unsigned int i=0; i cellwise_errors (dof_handler.get_tria ().n_active_cells()); VectorTools::integrate_difference (dof_handler, solution, test_func, @@ -79,7 +79,7 @@ check_this (const DoFHandler &dof_handler) const double p_l2_error = cellwise_errors.l2_norm(); deallog << "L2_Error : " << p_l2_error << std::endl; - + { DataOut data_out; data_out.attach_dof_handler (dof_handler); @@ -87,6 +87,6 @@ check_this (const DoFHandler &dof_handler) data_out.build_patches (); data_out.write_gnuplot (deallog.get_file_stream()); } - - Assert (p_l2_error < 1e-12, ExcInternalError()); + + Assert (p_l2_error < 1e-12, ExcInternalError()); }