From: bangerth Date: Fri, 9 Sep 2011 02:24:14 +0000 (+0000) Subject: Add a comment. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b1af835e78ae3a5d3086233f9fa22d06f832734;p=dealii-svn.git Add a comment. git-svn-id: https://svn.dealii.org/trunk@24289 0785d39b-7218-0410-832d-ea1e28bc413d --- 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; } - +