]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Accept gmsh format 2.2.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 20 Dec 2011 03:07:38 +0000 (03:07 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 20 Dec 2011 03:07:38 +0000 (03:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@24841 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/news/changes.h
deal.II/source/grid/grid_in.cc

index 30fbab482752d040bf90544f3336b88496609fbb..8908433cfed7d97fe9e67dc14dc008007a9e116d 100644 (file)
@@ -73,6 +73,11 @@ enabled due to a missing include file in file
 <h3>Specific improvements</h3>
 
 <ol>
+<li> New: The GridIn class now also reads the GMSH format 2.2 as written by
+GMSH 2.5.
+<br>
+(Vijay Mahadevan, Wolfgang Bangerth, 2011/12/19)
+
 <li> Fixed: When <code>./configure</code> does not detect the presence
 of <code>zlib</code>, writing output in VTU format failed to produce
 a valid output file.
index 8579f3d731b3dd5a6e1599c5555a65125c13eb3b..a371e6aaed9991a6d4ed7196c9cca3056793fbe1 100644 (file)
@@ -575,7 +575,7 @@ void GridIn<dim, spacedim>::read_msh (std::istream &in)
       in >> version >> file_type >> data_size;
 
       Assert ( (version >= 2.0) &&
-              (version <= 2.1), ExcNotImplemented());
+              (version <= 2.2), ExcNotImplemented());
       Assert (file_type == 0, ExcNotImplemented());
       Assert (data_size == sizeof(double), ExcNotImplemented());
 

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.