Skip to content
Snippets Groups Projects
Commit 296daed3 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 6c75e5fb
No related branches found
No related tags found
No related merge requests found
// $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: // To make the interface as visually consistent as possible, please:
// - use the BH, BW, WB, IW values for button heights/widths, window borders, etc. // - use the BH, BW, WB, IW values for button heights/widths, window borders, etc.
...@@ -43,7 +43,7 @@ Fl_Menu_Item m_menubar_table[] = { ...@@ -43,7 +43,7 @@ Fl_Menu_Item m_menubar_table[] = {
{"Save as", 0, 0, 0, FL_MENU_DIVIDER|FL_SUBMENU}, {"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}, {"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 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}, {"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}, {"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}, {"GEO flattened geometry...", 0, (Fl_Callback *)file_save_as_geo_cb, 0},
......
$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 New in 1.26: Enhanced 2D anisotropic mesh generator (metric
intersections); fixed small bug in 3D initial mesh; added alternative intersections); fixed small bug in 3D initial mesh; added alternative
syntax for built-in functions (for GetDP compatibility); added line syntax for built-in functions (for GetDP compatibility); added line
element display; Gmsh now saves all the elements in the mesh if no 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 physical groups are defined (or if Mesh.SaveAll=1);
command line option -saveall, is selected);
New in 1.25: Fixed bug with mixed recombined/non-recombined extruded New in 1.25: Fixed bug with mixed recombined/non-recombined extruded
meshes; Linux versions are now build with no optimization, due to bugs meshes; Linux versions are now build with no optimization, due to bugs
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<H1>README 1/10</H1> <H1>README 1/10</H1>
[<A HREF="#top">top</A>][prev][<A HREF="#file2">next</A>] [<A HREF="#top">top</A>][prev][<A HREF="#file2">next</A>]
<PRE> <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 Here are the examples in the Gmsh tutorial. These examples are
commented (both C and C++-style comments can be used in Gmsh input commented (both C and C++-style comments can be used in Gmsh input
...@@ -233,14 +233,12 @@ Physical Surface(100) = {6} ; ...@@ -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">// 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">// 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">// discretization of surface 6 will be given the region number 100.
</FONT></I> </FONT></I><I><FONT COLOR="#B22222">//
<I><FONT COLOR="#B22222">// It is important to notice that only those elements which belong to </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">// physical groups will be saved in the output file if the file format </FONT></I><I><FONT COLOR="#B22222">// directly saved with their default orientation and with a region
</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">// number equal to their elementary region number. For a description
</FONT></I><I><FONT COLOR="#B22222">// description of the mesh and post-processing formats, see the </FONT></I><I><FONT COLOR="#B22222">// of the mesh and post-processing formats, see the FORMATS file.
</FONT></I><I><FONT COLOR="#B22222">// FORMATS file. </FONT></I></PRE>
</FONT></I>
</PRE>
<HR> <HR>
<A NAME="file3"> <A NAME="file3">
<H1>t2.geo 3/10</H1> <H1>t2.geo 3/10</H1>
...@@ -1014,7 +1012,7 @@ Mesh.Smoothing = 4 ; ...@@ -1014,7 +1012,7 @@ Mesh.Smoothing = 4 ;
lc = .1; lc = .1;
Point(1) = {0.0,0.0,0,lc}; 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(3) = {1,1,0,lc};
Point(4) = {0,1,0,lc}; Point(4) = {0,1,0,lc};
...@@ -1028,15 +1026,20 @@ Plane Surface(6) = {5}; ...@@ -1028,15 +1026,20 @@ Plane Surface(6) = {5};
Point(5) = {0.1,0.2,0,lc}; Point(5) = {0.1,0.2,0,lc};
Point(11) = {0.5,0.5,-1,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}; Point(22) = {0.6,0.6,1,lc};
Line(5) = {11,22}; Line(5) = {11,22};
Spline(7) = {4,5,12,2};
<I><FONT COLOR="#B22222">// Anisotropic attractors can be defined on points and lines: <I><FONT COLOR="#B22222">// Anisotropic attractors can be defined on points and lines:
</FONT></I> </FONT></I>
Attractor Line{5} = {.1, 0.01, 17}; Attractor Line{5} = {.1, 0.01, 17};
Attractor Line{1,2} = {0.1, 0.005, 3}; Attractor Line{1,2} = {0.1, 0.005, 3};
Attractor Line{7} = {0.1, 0.05, 3};
</PRE> </PRE>
<HR> <HR>
<A NAME="file9"> <A NAME="file9">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment