From: Wolfgang Bangerth Date: Mon, 14 Dec 2009 21:43:22 +0000 (+0000) Subject: Fix comment. X-Git-Tag: v8.0.0~6732 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8682190c42b7e6eef1ba69207f4403fb798a0370;p=dealii.git Fix comment. git-svn-id: https://svn.dealii.org/trunk@20244 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/deal.II/dof_renumbering_05.cc b/tests/deal.II/dof_renumbering_05.cc index e5031d9f6e..5a48713ee2 100644 --- a/tests/deal.II/dof_renumbering_05.cc +++ b/tests/deal.II/dof_renumbering_05.cc @@ -1,8 +1,8 @@ //---------------------------------------------------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2000, 2001, 2003, 2004, 2007, 2008 by the deal.II authors +// Copyright (C) 2000, 2001, 2003, 2004, 2007, 2008, 2009 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -11,7 +11,7 @@ // //---------------------------------------------------------------------- -// Check DoFRenumbering::king_ordering +// Check DoFRenumbering::boost::king_ordering #include "../tests.h" @@ -43,20 +43,20 @@ print_dofs (const DoFHandler &dof) const FiniteElement& fe = dof.get_fe(); std::vector v (fe.dofs_per_cell); boost::shared_ptr > fevalues; - + if (fe.has_support_points()) { Quadrature quad(fe.get_unit_support_points()); fevalues = boost::shared_ptr >(new FEValues(fe, quad, update_q_points)); } - + for (typename DoFHandler::active_cell_iterator cell=dof.begin_active(); cell != dof.end(); ++cell) { Point p = cell->center(); if (fevalues != 0) fevalues->reinit(cell); - + cell->get_dof_indices (v); for (unsigned int i=0; i& dof) { const FiniteElement& element = dof.get_fe(); deallog << element.get_name() << std::endl; - + DoFRenumbering::boost::king_ordering(dof); print_dofs (dof); } @@ -85,13 +85,13 @@ template void check () { - Triangulation tr; + Triangulation tr; GridGenerator::hyper_cube(tr, -1., 1.); tr.refine_global (1); tr.begin_active()->set_refine_flag (); tr.execute_coarsening_and_refinement (); tr.refine_global(3-dim); - + { FE_Q fe(2); DoFHandler dof(tr); @@ -115,7 +115,7 @@ int main () { std::ofstream logfile ("dof_renumbering_05/output"); deallog << std::setprecision (2); - deallog << std::fixed; + deallog << std::fixed; deallog.attach(logfile); deallog.depth_console (0);