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

*** empty log message ***

parent 358e7808
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
// 2) launch Gmsh with 'gmsh t1.geo -bgm bgmesh.pos' and mesh the // 2) launch Gmsh with 'gmsh t1.geo -bgm bgmesh.pos' and mesh the
// problem. // problem.
View "a funny background mesh" { View "background mesh" {
ST(0.077999455,0.23524011,0,0.068887619,0.23816425,0,0.069899638,0.22912552,0){0.01189957,0.011832084,0.0079913397}; ST(0.077999455,0.23524011,0,0.068887619,0.23816425,0,0.069899638,0.22912552,0){0.01189957,0.011832084,0.0079913397};
ST(0.010825671,0.099590532,0,0.017290659,0.10415759,0,0.0069230724,0.10599149,0){0.004016107,0.005360028,0.0033428238}; ST(0.010825671,0.099590532,0,0.017290659,0.10415759,0,0.0069230724,0.10599149,0){0.004016107,0.005360028,0.0033428238};
ST(0.090008104,0.28998113,0,0.085714286,0.3,0,0.081687843,0.29203932,0){0.016147484,0.018964149,0.015803058}; ST(0.090008104,0.28998113,0,0.085714286,0.3,0,0.081687843,0.29203932,0){0.016147484,0.018964149,0.015803058};
......
...@@ -23,10 +23,18 @@ lc = 0.007 ; ...@@ -23,10 +23,18 @@ lc = 0.007 ;
Point(1) = {0, 0, 0, 9.e-1 * lc} ; Point(1) = {0, 0, 0, 9.e-1 * lc} ;
// As can be seen in this definition, more complex expressions can be // The mesh size is defined as the length of the segments for lines,
// constructed from variables. Here, the product of the variable 'lc' // the radii of the circumscribed circles for triangles and the radii
// by the constant 9.e-1 is given as the fourth argument of the list // of the circumscribed spheres for tetrahedra, respectively. The
// defining the point. // actual distribution of the mesh sizes is obtained by interpolation
// of the characteristic lengths prescribed at the points. There are
// also other possibilities to specify characteristic lengths:
// attractors (see t7.geo) and background meshes (see bgmesh.pos).
// As can be seen in the previous definition, more complex expressions
// can be constructed from variables. Here, the product of the
// variable 'lc' by the constant 9.e-1 is given as the fourth argument
// of the list defining the point.
// //
// The following general syntax rule is applied for the definition of // The following general syntax rule is applied for the definition of
// all geometrical entities: // all geometrical entities:
......
...@@ -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.14 2001-08-03 10:50:22 geuzaine Exp $ $Id: tutorial.html,v 1.15 2001-08-03 11:06:30 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
...@@ -158,10 +158,18 @@ lc = 0.007 ; ...@@ -158,10 +158,18 @@ lc = 0.007 ;
</FONT></I> </FONT></I>
Point(1) = {0, 0, 0, 9.e-1 * lc} ; Point(1) = {0, 0, 0, 9.e-1 * lc} ;
<I><FONT COLOR="#B22222">// As can be seen in this definition, more complex expressions can be <I><FONT COLOR="#B22222">// The mesh size is defined as the length of the segments for lines,
</FONT></I><I><FONT COLOR="#B22222">// constructed from variables. Here, the product of the variable 'lc' </FONT></I><I><FONT COLOR="#B22222">// the radii of the circumscribed circles for triangles and the radii
</FONT></I><I><FONT COLOR="#B22222">// by the constant 9.e-1 is given as the fourth argument of the list </FONT></I><I><FONT COLOR="#B22222">// of the circumscribed spheres for tetrahedra, respectively. The
</FONT></I><I><FONT COLOR="#B22222">// defining the point. </FONT></I><I><FONT COLOR="#B22222">// actual distribution of the mesh sizes is obtained by interpolation
</FONT></I><I><FONT COLOR="#B22222">// of the characteristic lengths prescribed at the points. There are
</FONT></I><I><FONT COLOR="#B22222">// also other possibilities to specify characteristic lengths:
</FONT></I><I><FONT COLOR="#B22222">// attractors (see t7.geo) and background meshes (see bgmesh.pos).
</FONT></I>
<I><FONT COLOR="#B22222">// As can be seen in the previous definition, more complex expressions
</FONT></I><I><FONT COLOR="#B22222">// can be constructed from variables. Here, the product of the
</FONT></I><I><FONT COLOR="#B22222">// variable 'lc' by the constant 9.e-1 is given as the fourth argument
</FONT></I><I><FONT COLOR="#B22222">// of the list defining the point.
</FONT></I><I><FONT COLOR="#B22222">// </FONT></I><I><FONT COLOR="#B22222">//
</FONT></I><I><FONT COLOR="#B22222">// The following general syntax rule is applied for the definition of </FONT></I><I><FONT COLOR="#B22222">// The following general syntax rule is applied for the definition of
</FONT></I><I><FONT COLOR="#B22222">// all geometrical entities: </FONT></I><I><FONT COLOR="#B22222">// all geometrical entities:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment