From 9b1af835e78ae3a5d3086233f9fa22d06f832734 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 9 Sep 2011 02:24:14 +0000 Subject: [PATCH] Add a comment. git-svn-id: https://svn.dealii.org/trunk@24289 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/codim_one/grid_refinement.cc | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/tests/codim_one/grid_refinement.cc b/tests/codim_one/grid_refinement.cc index a0eae39805..04c61878f1 100644 --- a/tests/codim_one/grid_refinement.cc +++ b/tests/codim_one/grid_refinement.cc @@ -1,19 +1,18 @@ - -//---------------------------- template.cc --------------------------- +//---------------------------------------------------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2005, 2008 by the deal.II authors +// Copyright (C) 2005, 2008, 2011 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer // to the file deal.II/doc/license.html for the text and // further information on this license. // -//---------------------------- template.cc --------------------------- +//---------------------------------------------------------------------- -// a short (a few lines) description of what the program does +// see what happens when creating a surface mesh and then refining it #include "../tests.h" #include @@ -40,7 +39,7 @@ void test(std::string filename) { gi.attach_triangulation (tria); std::ifstream in (filename.c_str()); gi.read_ucd (in); - + GridOut grid_out; grid_out.set_flags (GridOutFlags::Ucd(true)); for(unsigned int cycle=0; cycle<3; ++cycle) { @@ -49,17 +48,17 @@ void test(std::string filename) { } } -int main () +int main () { deallog.attach(logfile); deallog.depth_console(0); - + deallog << "Test<1,2>" << std::endl; test<1,2>("grids/circle_1.inp"); - + deallog << std::endl << "Test<1,2>" << std::endl; test<2,3>("grids/sphere_1.inp"); return 0; } - + -- 2.39.5