//---------------------------- 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
char logname[] = "project_abf_01/output";
-#include "../deal.II/project_common.cc"
+#include "../deal.II/project_common.h"
template <int dim>
//---------------------------- 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
char logname[] = "project_abf_02/output";
-#include "../deal.II/project_common.cc"
+#include "../deal.II/project_common.h"
template <int dim>
//---------------------------- 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
char logname[] = "project_abf_03/output";
-#include "../deal.II/project_common.cc"
+#include "../deal.II/project_common.h"
template <int dim>
//---------------------------- 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
char logname[] = "project_abf_04/output";
-#include "../deal.II/project_common.cc"
+#include "../deal.II/project_common.h"
template <int dim>
// $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
char logname[] = "project_abf_05/output";
-#include "../deal.II/project_common.cc"
+#include "../deal.II/project_common.h"
template <int dim>
//---------------------------- 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
char logname[] = "project_dgp_nonparametric_01/output";
-#include "../deal.II/project_common.cc"
+#include "../deal.II/project_common.h"
template <int dim>
//---------------------------- 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
char logname[] = "project_dgp_nonparametric_02/output";
-#include "../deal.II/project_common.cc"
+#include "../deal.II/project_common.h"
template <int dim>
//---------------------------- 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
char logname[] = "project_dgp_nonparametric_03/output";
-#include "../deal.II/project_common.cc"
+#include "../deal.II/project_common.h"
template <int dim>
//---------------------------- 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
char logname[] = "project_dgp_nonparametric_04/output";
-#include "../deal.II/project_common.cc"
+#include "../deal.II/project_common.h"
template <int dim>
//---------------------------- 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
char logname[] = "project_dgp_nonparametric_05/output";
-#include "../deal.II/project_common.cc"
+#include "../deal.II/project_common.h"
template <int dim>
//---------------------------- 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
char logname[] = "project_rt_03/output";
-#include "../deal.II/project_common.cc"
+#include "../deal.II/project_common.h"
template <int dim>
//---------------------------- 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
//---------------------------- rt_crash_01.cc ---------------------------
#include "../tests.h"
-#include "../bits/dof_tools_common.cc"
+#include "../bits/dof_tools_common.h"
#include <lac/constraint_matrix.h>
#include <base/function.h>
#include <base/quadrature_lib.h>
if (dof_handler.get_fe().get_name().find ("RaviartThomas") ==
std::string::npos)
return;
-
- ConstantFunction<dim> test_func (1, dof_handler.get_fe().n_components ());
+
+ ConstantFunction<dim> test_func (1, dof_handler.get_fe().n_components ());
// don't run this test if hanging
// nodes are not implemented
for (unsigned int i=0; i<solution.size(); ++i)
Assert (std::fabs (solution(i)-1) < 1e-6,
ExcInternalError());
-
+
// Evaluate error
Vector<double> cellwise_errors (dof_handler.get_tria ().n_active_cells());
VectorTools::integrate_difference (dof_handler, solution, test_func,
const double p_l2_error = cellwise_errors.l2_norm();
deallog << "L2_Error : " << p_l2_error << std::endl;
-
+
{
DataOut<dim> data_out;
data_out.attach_dof_handler (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());
}