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
ffb75f95
Commit
ffb75f95
authored
23 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
8cc698fd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tutorial/t9.geo
+7
-6
7 additions, 6 deletions
tutorial/t9.geo
tutorial/tutorial.html
+11
-8
11 additions, 8 deletions
tutorial/tutorial.html
with
18 additions
and
14 deletions
tutorial/t9.geo
+
7
−
6
View file @
ffb75f95
...
@@ -8,12 +8,11 @@
...
@@ -8,12 +8,11 @@
// Plugins can be added to Gmsh in order to extend its
// Plugins can be added to Gmsh in order to extend its
// capabilities. For example, post-processing plugins can modify a
// capabilities. For example, post-processing plugins can modify a
// view, or create a new view based on previously loaded views. Three
// view, or create a new view based on previously loaded
// default plugins are available at the time of writing: CutMap,
// views. Several default plugins are statically linked into Gmsh,
// CutPlane and CutSphere. These plugins are just examples of how
// e.g. CutMap, CutPlane, CutSphere, Skin, Transform or Smooth.
// plugins (will) work.
// Let's load a three
dimension scalar view
// Let's load a three
-
dimension
al
scalar view
Include
"view3.pos"
;
Include
"view3.pos"
;
...
@@ -24,13 +23,15 @@ Include "view3.pos" ;
...
@@ -24,13 +23,15 @@ Include "view3.pos" ;
// the command file, as is shown below.
// the command file, as is shown below.
// This sets the optional parameter A of the CutMap plugin to the
// This sets the optional parameter A of the CutMap plugin to the
// value 0.
34
(see the About in the graphical interface for the
// value 0.
67
(see the About in the graphical interface for the
// documentation of each plugin), and runs the plugin:
// documentation of each plugin), and runs the plugin:
Plugin
(
CutMap
).
A
=
0.67
;
Plugin
(
CutMap
).
A
=
0.67
;
Plugin
(
CutMap
).
iView
=
0
;
//select View[0] as the working view
Plugin
(
CutMap
).
iView
=
0
;
//select View[0] as the working view
Plugin
(
CutMap
).
Run
;
Plugin
(
CutMap
).
Run
;
// The following runs the CutPlane plugin:
Plugin
(
CutPlane
).
A
=
0
;
Plugin
(
CutPlane
).
A
=
0
;
Plugin
(
CutPlane
).
B
=
0.2
;
Plugin
(
CutPlane
).
B
=
0.2
;
Plugin
(
CutPlane
).
C
=
1
;
Plugin
(
CutPlane
).
C
=
1
;
...
...
This diff is collapsed.
Click to expand it.
tutorial/tutorial.html
+
11
−
8
View file @
ffb75f95
...
@@ -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
7
2001-08-
04 01:17:2
8 geuzaine Exp $
$Id: tutorial.html,v 1.1
8
2001-08-
12 12:31:3
8 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
...
@@ -1160,12 +1160,11 @@ EndFor
...
@@ -1160,12 +1160,11 @@ EndFor
<I><FONT
COLOR=
"#B22222"
>
// Plugins can be added to Gmsh in order to extend its
<I><FONT
COLOR=
"#B22222"
>
// Plugins can be added to Gmsh in order to extend its
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// capabilities. For example, post-processing plugins can modify a
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// capabilities. For example, post-processing plugins can modify a
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// view, or create a new view based on previously loaded views. Three
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// view, or create a new view based on previously loaded
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// default plugins are available at the time of writing: CutMap,
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// views. Several default plugins are statically linked into Gmsh,
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// CutPlane and CutSphere. These plugins are just examples of how
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// e.g. CutMap, CutPlane, CutSphere, Skin, Transform or Smooth.
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// plugins (will) work.
</FONT></I>
</FONT></I>
<I><FONT
COLOR=
"#B22222"
>
// Let's load a three
dimension scalar view
<I><FONT
COLOR=
"#B22222"
>
// Let's load a three
-
dimension
al
scalar view
</FONT></I>
</FONT></I>
Include
"
view3.pos
"
;
Include
"
view3.pos
"
;
...
@@ -1176,12 +1175,15 @@ Include "view3.pos" ;
...
@@ -1176,12 +1175,15 @@ Include "view3.pos" ;
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// the command file, as is shown below.
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// the command file, as is shown below.
</FONT></I>
</FONT></I>
<I><FONT
COLOR=
"#B22222"
>
// This sets the optional parameter A of the CutMap plugin to the
<I><FONT
COLOR=
"#B22222"
>
// This sets the optional parameter A of the CutMap plugin to the
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// value 0.
34
(see the About in the graphical interface for the
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// value 0.
67
(see the About in the graphical interface for the
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// documentation of each plugin), and runs the plugin:
</FONT></I><I><FONT
COLOR=
"#B22222"
>
// documentation of each plugin), and runs the plugin:
</FONT></I>
</FONT></I>
Plugin(CutMap).A = 0.67 ;
Plugin(CutMap).A = 0.67 ;
Plugin(CutMap).Run ;
Plugin(CutMap).iView = 0 ;
<I><FONT
COLOR=
"#B22222"
>
//select View[0] as the working view
</FONT></I>
Plugin(CutMap).Run ;
<I><FONT
COLOR=
"#B22222"
>
// The following runs the CutPlane plugin:
</FONT></I>
Plugin(CutPlane).A = 0 ;
Plugin(CutPlane).A = 0 ;
Plugin(CutPlane).B = 0.2 ;
Plugin(CutPlane).B = 0.2 ;
Plugin(CutPlane).C = 1 ;
Plugin(CutPlane).C = 1 ;
...
@@ -1196,6 +1198,7 @@ View[0].SmoothNormals = 1;
...
@@ -1196,6 +1198,7 @@ View[0].SmoothNormals = 1;
View[1].IntervalsType = 2;
View[1].IntervalsType = 2;
View[2].IntervalsType = 2;
View[2].IntervalsType = 2;
Draw;
</PRE>
</PRE>
<HR>
<HR>
<ADDRESS>
Generated by
<A
HREF=
"http://www.iki.fi/~mtr/genscript/"
>
GNU enscript 1.6.1
</A>
.
</ADDRESS>
<ADDRESS>
Generated by
<A
HREF=
"http://www.iki.fi/~mtr/genscript/"
>
GNU enscript 1.6.1
</A>
.
</ADDRESS>
...
...
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