From: bangerth Date: Wed, 3 Nov 2010 11:22:53 +0000 (+0000) Subject: Add comment. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c8c2402b744490ebaf7e966bb70d930842ba786;p=dealii-svn.git Add comment. git-svn-id: https://svn.dealii.org/trunk@22594 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/codim_one/grid_in_out.cc b/tests/codim_one/grid_in_out.cc index 1be60a5792..60a13327ef 100644 --- a/tests/codim_one/grid_in_out.cc +++ b/tests/codim_one/grid_in_out.cc @@ -1,9 +1,9 @@ //---------------------------- template.cc --------------------------- // $Id$ -// Version: $Name$ +// Version: $Name$ // -// Copyright (C) 2005, 2008 by the deal.II authors +// Copyright (C) 2005, 2008, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -13,14 +13,11 @@ //---------------------------- template.cc --------------------------- -// a short (a few lines) description of what the program does +// read a couple meshes with a codimension and write them out again #include "../tests.h" #include #include - -// all include files you need here - #include #include #include @@ -36,22 +33,22 @@ 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)); grid_out.write_ucd (tria, logfile); grid_out.write_msh (tria, logfile); } -int main () +int main () { deallog.attach(logfile); deallog.depth_console(0); - + test<1,2>("grids/circle_1.inp"); test<2,3>("grids/square.inp"); test<2,3>("grids/sphere_1.inp"); return 0; } - +