]> https://gitweb.dealii.org/ - dealii.git/commitdiff
implemented modifications asked by Luca H. on tests/grid/grid_in_ucd_01.cc 2498/head
authoramola <amola@terminus.sissa.it>
Mon, 11 Apr 2016 11:05:31 +0000 (13:05 +0200)
committeramola <amola@terminus.sissa.it>
Mon, 11 Apr 2016 11:05:59 +0000 (13:05 +0200)
tests/grid/grid_in_ucd_01.cc

index d186a4901dcd530f20d4a8fa9227c15ec0ce69a6..c0346db988445a281d2c62106dcf7f26597c39df 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2002 - 2015 by the deal.II authors
+// Copyright (C) 2002 - 2016 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
 // ---------------------------------------------------------------------
 
 
-// read in a 2d file in the UNV format used by the Salome program
+// read in a Triangulation<2,3> from a mesh file writtent in the UCD format
 
-// the meshes used here were generated by Valentin Zingan using the Salome
-// mesh generator
+// the meshe used here were generated by Andrea Mola
 
 #include "../tests.h"
 #include <deal.II/dofs/dof_handler.h>
 #include <iomanip>
 #include <string>
 
-std::ofstream logfile("output");
-
-
 
 int main ()
 {
-  deallog << std::setprecision (2);
-  logfile << std::setprecision (2);
-  deallog.attach(logfile);
-  deallog.threshold_double(1.e-10);
+  initlog();
   std::string name(std::string(SOURCE_DIR "/grids/kcs_initial.inp"));
-  //deallog<<"Filename: "<<name<<std::endl;
   std::ifstream in;
   in.open(name.c_str());
 

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.