From: bangerth Date: Thu, 11 Jan 2007 03:51:10 +0000 (+0000) Subject: Now works. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68b610342759bd15f26d3a24802721d0e2b3ac01;p=dealii-svn.git Now works. git-svn-id: https://svn.dealii.org/trunk@14301 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/fail/hp-step-11.cc b/tests/fail/hp-step-11.cc index f331a693cb..2339c5056f 100644 --- a/tests/fail/hp-step-11.cc +++ b/tests/fail/hp-step-11.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2005, 2006 by the deal.II authors +// Copyright (C) 2005, 2006, 2007 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -19,7 +19,7 @@ #include #include -std::ofstream logfile("step-11/output"); +std::ofstream logfile("hp-step-11/output"); #include #include @@ -139,15 +139,15 @@ void LaplaceProblem::assemble_and_solve () = std::max (static_cast(std::ceil(1.*(static_cast&>(mapping[0]).get_degree()+1)/2)), 2U); MatrixTools::create_laplace_matrix (mapping, dof_handler, - QGauss(gauss_degree), + hp::QCollection(QGauss(gauss_degree)), system_matrix); VectorTools::create_right_hand_side (mapping, dof_handler, - QGauss(gauss_degree), + hp::QCollection(QGauss(gauss_degree)), ConstantFunction(-2), system_rhs); Vector tmp (system_rhs.size()); VectorTools::create_boundary_right_hand_side (mapping, dof_handler, - QGauss(gauss_degree), + hp::QCollection(QGauss(gauss_degree)), ConstantFunction(1), tmp); system_rhs += tmp; @@ -163,7 +163,7 @@ void LaplaceProblem::assemble_and_solve () solution, ZeroFunction(), norm_per_cell, - QGauss(gauss_degree+1), + hp::QCollection(QGauss(gauss_degree+1)), VectorTools::H1_seminorm); const double norm = norm_per_cell.l2_norm();