Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
ef4eca91
Commit
ef4eca91
authored
23 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
358e7808
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tutorial/bgmesh.pos
+1
-1
1 addition, 1 deletion
tutorial/bgmesh.pos
tutorial/t1.geo
+12
-4
12 additions, 4 deletions
tutorial/t1.geo
tutorial/tutorial.html
+13
-5
13 additions, 5 deletions
tutorial/tutorial.html
with
26 additions
and
10 deletions
tutorial/bgmesh.pos
+
1
−
1
View file @
ef4eca91
...
@@ -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};
...
...
This diff is collapsed.
Click to expand it.
tutorial/t1.geo
+
12
−
4
View file @
ef4eca91
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
tutorial/tutorial.html
+
13
−
5
View file @
ef4eca91
...
@@ -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.1
4
2001-08-03 1
0:50:22
geuzaine Exp $
$Id: tutorial.html,v 1.1
5
2001-08-03 1
1: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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment