]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add comment.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 3 Nov 2010 11:22:53 +0000 (11:22 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 3 Nov 2010 11:22:53 +0000 (11:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@22594 0785d39b-7218-0410-832d-ea1e28bc413d

tests/codim_one/grid_in_out.cc

index 1be60a57921248c12c036794df3465531603a0dc..60a13327ef423454924baa671939cdf5d7005bdb 100644 (file)
@@ -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
 //----------------------------  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 <fstream>
 #include <base/logstream.h>
-
-// all include files you need here
-
 #include <grid/tria.h>
 #include <grid/grid_in.h>
 #include <grid/grid_out.h>
@@ -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;
 }
-                  
+

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.