diff --git a/Fltk/GUI.cpp b/Fltk/GUI.cpp index 3c6fd118ac528ccebe963e77f5e6c1c35c30b3b2..7159240f0be382ef502c85389e2b1ed287a328bc 100644 --- a/Fltk/GUI.cpp +++ b/Fltk/GUI.cpp @@ -1,4 +1,4 @@ -// $Id: GUI.cpp,v 1.113 2001-09-06 06:38:48 geuzaine Exp $ +// $Id: GUI.cpp,v 1.114 2001-09-06 06:42:45 geuzaine Exp $ // To make the interface as visually consistent as possible, please: // - use the BH, BW, WB, IW values for button heights/widths, window borders, etc. @@ -43,7 +43,7 @@ Fl_Menu_Item m_menubar_table[] = { {"Save as", 0, 0, 0, FL_MENU_DIVIDER|FL_SUBMENU}, {"By extension...", FL_CTRL+'p', (Fl_Callback *)file_save_as_auto_cb, 0, FL_MENU_DIVIDER}, {"MSH native mesh format...", 0, (Fl_Callback *)file_save_as_msh_cb, 0}, - {"MSH without physicals...", 0, (Fl_Callback *)file_save_as_msh_all_cb, 0}, + {"MSH all elements...", 0, (Fl_Callback *)file_save_as_msh_all_cb, 0}, {"UNV universal mesh format...", 0, (Fl_Callback *)file_save_as_unv_cb, 0}, {"GREF gref mesh format...", 0, (Fl_Callback *)file_save_as_gref_cb, 0}, {"GEO flattened geometry...", 0, (Fl_Callback *)file_save_as_geo_cb, 0}, diff --git a/doc/VERSIONS b/doc/VERSIONS index 537c70439690722ec7f2c5e259160867fa0b1c47..0219ed5856730e1fbaf1332af5f866bdc2933fd7 100644 --- a/doc/VERSIONS +++ b/doc/VERSIONS @@ -1,11 +1,10 @@ -$Id: VERSIONS,v 1.69 2001-09-05 19:14:05 geuzaine Exp $ +$Id: VERSIONS,v 1.70 2001-09-06 06:44:20 geuzaine Exp $ New in 1.26: Enhanced 2D anisotropic mesh generator (metric intersections); fixed small bug in 3D initial mesh; added alternative syntax for built-in functions (for GetDP compatibility); added line element display; Gmsh now saves all the elements in the mesh if no -physical groups are defined (or if the option Mesh.SaveAll, or the -command line option -saveall, is selected); +physical groups are defined (or if Mesh.SaveAll=1); New in 1.25: Fixed bug with mixed recombined/non-recombined extruded meshes; Linux versions are now build with no optimization, due to bugs diff --git a/tutorial/tutorial.html b/tutorial/tutorial.html index 8ae54971005927577d59c50dc3ee9a5d52b46ba3..2a569e9819eb31fe12871bf43a9497bcfbdfeb76 100644 --- a/tutorial/tutorial.html +++ b/tutorial/tutorial.html @@ -23,7 +23,7 @@ <H1>README 1/10</H1> [<A HREF="#top">top</A>][prev][<A HREF="#file2">next</A>] <PRE> -$Id: tutorial.html,v 1.22 2001-09-01 09:19:43 geuzaine Exp $ +$Id: tutorial.html,v 1.23 2001-09-06 06:42:45 geuzaine Exp $ Here are the examples in the Gmsh tutorial. These examples are commented (both C and C++-style comments can be used in Gmsh input @@ -233,14 +233,12 @@ Physical Surface(100) = {6} ; </FONT></I><I><FONT COLOR="#B22222">// lines 1, 2 and 4 will be saved in the output file with the region </FONT></I><I><FONT COLOR="#B22222">// number 10; and all the triangular elements resulting from the </FONT></I><I><FONT COLOR="#B22222">// discretization of surface 6 will be given the region number 100. -</FONT></I> -<I><FONT COLOR="#B22222">// It is important to notice that only those elements which belong to -</FONT></I><I><FONT COLOR="#B22222">// physical groups will be saved in the output file if the file format -</FONT></I><I><FONT COLOR="#B22222">// is the msh format (the native mesh file format for Gmsh). For a -</FONT></I><I><FONT COLOR="#B22222">// description of the mesh and post-processing formats, see the -</FONT></I><I><FONT COLOR="#B22222">// FORMATS file. -</FONT></I> -</PRE> +</FONT></I><I><FONT COLOR="#B22222">// +</FONT></I><I><FONT COLOR="#B22222">// If no physical groups are defined, all the elements in the mesh are +</FONT></I><I><FONT COLOR="#B22222">// directly saved with their default orientation and with a region +</FONT></I><I><FONT COLOR="#B22222">// number equal to their elementary region number. For a description +</FONT></I><I><FONT COLOR="#B22222">// of the mesh and post-processing formats, see the FORMATS file. +</FONT></I></PRE> <HR> <A NAME="file3"> <H1>t2.geo 3/10</H1> @@ -1014,7 +1012,7 @@ Mesh.Smoothing = 4 ; lc = .1; Point(1) = {0.0,0.0,0,lc}; -Point(2) = {1,0.0,0,lc}; +Point(2) = {1.2,-0.2,0,lc}; Point(3) = {1,1,0,lc}; Point(4) = {0,1,0,lc}; @@ -1028,15 +1026,20 @@ Plane Surface(6) = {5}; Point(5) = {0.1,0.2,0,lc}; Point(11) = {0.5,0.5,-1,lc}; +Point(12) = {0.5,0.5,0,lc}; Point(22) = {0.6,0.6,1,lc}; Line(5) = {11,22}; +Spline(7) = {4,5,12,2}; + <I><FONT COLOR="#B22222">// Anisotropic attractors can be defined on points and lines: </FONT></I> Attractor Line{5} = {.1, 0.01, 17}; Attractor Line{1,2} = {0.1, 0.005, 3}; +Attractor Line{7} = {0.1, 0.05, 3}; + </PRE> <HR> <A NAME="file9">