From 2a031aadb5bfccaa891fd7506b7876717dedd47e Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 6 Apr 2010 21:44:13 +0000 Subject: [PATCH] Make compatible with gcc 4.5. git-svn-id: https://svn.dealii.org/trunk@20957 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/multigrid/mg_renumbered_02.cc | 18 +++++++++--------- tests/multigrid/mg_renumbered_03.cc | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/multigrid/mg_renumbered_02.cc b/tests/multigrid/mg_renumbered_02.cc index 961656fd99..62d7438da8 100644 --- a/tests/multigrid/mg_renumbered_02.cc +++ b/tests/multigrid/mg_renumbered_02.cc @@ -49,7 +49,7 @@ #include #include -#include +#include using namespace dealii; @@ -118,9 +118,9 @@ void diff (Vector &diff, const MGDoFHandler &dof, for(unsigned int i=0; i::cell( { const FEValuesBase& fe = info.fe_values(); const std::vector >& uh = info.values[0]; - + const unsigned int square_root = std::pow(fe.n_quadrature_points, 1./dim)+.5; for (unsigned int k1=0; k1::cell( template -class LaplaceProblem +class LaplaceProblem { public: typedef typename MeshWorker::IntegrationWorker::CellInfo CellInfo; @@ -193,7 +193,7 @@ class LaplaceProblem void setup_system (); void test (); void test_boundary (); - void output_gpl(const MGDoFHandler &dof, + void output_gpl(const MGDoFHandler &dof, MGLevelObject > &v); void refine_local (); @@ -245,7 +245,7 @@ void LaplaceProblem::setup_system () template void -LaplaceProblem::output_gpl(const MGDoFHandler &dof, +LaplaceProblem::output_gpl(const MGDoFHandler &dof, MGLevelObject > &v) { MeshWorker::IntegrationWorker integration_worker; @@ -306,7 +306,7 @@ void LaplaceProblem::test () for(unsigned int l=0; l #include -#include +#include using namespace dealii; @@ -117,9 +117,9 @@ void diff (Vector &diff, const MGDoFHandler &dof, for(unsigned int i=0; i::cell( { const FEValuesBase& fe = info.fe_values(); const std::vector >& uh = info.values[0]; - + const unsigned int square_root = std::pow(fe.n_quadrature_points, 1./dim)+.5; for (unsigned int k1=0; k1::cell( template -class LaplaceProblem +class LaplaceProblem { public: typedef typename MeshWorker::IntegrationWorker::CellInfo CellInfo; @@ -210,7 +210,7 @@ class LaplaceProblem private: void setup_system (); void test (); - void output_gpl(const MGDoFHandler &dof, + void output_gpl(const MGDoFHandler &dof, MGLevelObject > &v); void refine_local (); @@ -271,7 +271,7 @@ void LaplaceProblem::setup_system () template void -LaplaceProblem::output_gpl(const MGDoFHandler &dof, +LaplaceProblem::output_gpl(const MGDoFHandler &dof, MGLevelObject > &v) { MeshWorker::IntegrationWorker integration_worker; @@ -341,7 +341,7 @@ void LaplaceProblem::test () for(unsigned int l=0; l