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
bdcf7eef
Commit
bdcf7eef
authored
8 years ago
by
Guillaume Demesy
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
http://gitlab.onelab.info/gmsh/gmsh
parents
b7fdb455
b83fe1f7
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Geo/GModelFactory.cpp
+1
-1
1 addition, 1 deletion
Geo/GModelFactory.cpp
Geo/GModelIO_GEO.cpp
+1
-1
1 addition, 1 deletion
Geo/GModelIO_GEO.cpp
doc/gmsh.html
+13
-18
13 additions, 18 deletions
doc/gmsh.html
doc/texinfo/gmsh.texi
+101
-135
101 additions, 135 deletions
doc/texinfo/gmsh.texi
with
116 additions
and
155 deletions
Geo/GModelFactory.cpp
+
1
−
1
View file @
bdcf7eef
This diff is collapsed.
Click to expand it.
Geo/GModelIO_GEO.cpp
+
1
−
1
View file @
bdcf7eef
This diff is collapsed.
Click to expand it.
doc/gmsh.html
+
13
−
18
View file @
bdcf7eef
...
@@ -119,17 +119,15 @@ Public License (GPL)</a>:
...
@@ -119,17 +119,15 @@ Public License (GPL)</a>:
<ul><li>
automated nightly snapshots
<ul><li>
automated nightly snapshots
(
<a
href=
"http://onelab.info/CDash/index.php?project=Gmsh"
>
dashboard
</a>
):
(
<a
href=
"http://onelab.info/CDash/index.php?project=Gmsh"
>
dashboard
</a>
):
Windows
Windows
<a
href=
"bin/Windows/gmsh-
svn
-Windows32.zip"
>
32 bit
</a>
/
<a
href=
"bin/Windows/gmsh-
git
-Windows32.zip"
>
32 bit
</a>
/
<a
href=
"bin/Windows/gmsh-
svn
-Windows64.zip"
>
64 bit
</a>
,
<a
href=
"bin/Windows/gmsh-
git
-Windows64.zip"
>
64 bit
</a>
,
Linux
Linux
<a
href=
"bin/Linux/gmsh-svn-Linux32.tgz"
>
32 bit
</a>
/
<a
href=
"bin/Linux/gmsh-git-Linux32.tgz"
>
32 bit
</a>
/
<a
href=
"bin/Linux/gmsh-svn-Linux64.tgz"
>
64 bit
</a>
,
<a
href=
"bin/Linux/gmsh-git-Linux64.tgz"
>
64 bit
</a>
,
<a
href=
"bin/MacOSX/gmsh-svn-MacOSX.dmg"
>
Mac OS X
</a>
and
<a
href=
"bin/MacOSX/gmsh-git-MacOSX.dmg"
>
Mac OS X
</a>
and
<a
href=
"src/gmsh-svn-source.tgz"
>
source code
</a>
<a
href=
"src/gmsh-git-source.tgz"
>
source code
</a>
<li>
read-only svn access (login and password: gmsh): '
<code>
svn co
<li>
Git access: '
<code>
git pull
<a
href=
"https://onelab.info/svn/gmsh/trunk"
data-tooltip=
<a
href=
"http://gitlab.onelab.info/gmsh/gmsh.git"
>
http://gitlab.onelab.info/gmsh/gmsh.git
</a></code>
'
"Login and password: gmsh"
>
https://onelab.info/svn/gmsh/trunk
</a>
gmsh
</code>
'
</ul>
</ul>
<li>
All versions:
<a
href=
"bin/"
>
binaries
</a>
<li>
All versions:
<a
href=
"bin/"
>
binaries
</a>
and
<a
href=
"src/"
>
sources
</a>
and
<a
href=
"src/"
>
sources
</a>
...
@@ -168,12 +166,10 @@ algorithms</a>.
...
@@ -168,12 +166,10 @@ algorithms</a>.
<a
href=
"doc/texinfo/gmsh.txt"
>
plain text
</a>
)
<a
href=
"doc/texinfo/gmsh.txt"
>
plain text
</a>
)
<li><a
href=
"screencasts/"
>
Screencasts
</a>
showing how to use
<li><a
href=
"screencasts/"
>
Screencasts
</a>
showing how to use
the graphical user interface
the graphical user interface
<li><a
href=
"https://onelab.info/trac/gmsh"
data-tooltip=
<li><a
href=
"http://gitlab.onelab.info/gmsh/gmsh"
>
Gitlab site
</a>
with a
"Login and password: gmsh"
>
Wiki
</a>
with examples, a
<a
href=
"http://gitlab.onelab.info/gmsh/gmsh/commits/master"
>
time line
</a>
<a
href=
"https://onelab.info/trac/gmsh/timeline"
data-tooltip=
of changes and the
<a
href=
"http://gitlab.onelab.info/gmsh/gmsh/issues"
>
bug
"Login and password: gmsh"
>
time line
</a>
of
tracking
</a>
database
changes and the
<a
href=
"https://onelab.info/trac/gmsh/report/1"
data-tooltip=
"Login and password: gmsh"
>
bug tracking
</a>
database
<li><a
href=
"doc/VERSIONS.txt"
>
Version history
</a>
<li><a
href=
"doc/VERSIONS.txt"
>
Version history
</a>
<li>
Mailing lists:
<li>
Mailing lists:
<ul>
<ul>
...
@@ -192,8 +188,7 @@ algorithms</a>.
...
@@ -192,8 +188,7 @@ algorithms</a>.
Please use the public mailing list
<a
HREF=
"mailto:gmsh@onelab.info"
>
gmsh@onelab.info
</a>
Please use the public mailing list
<a
HREF=
"mailto:gmsh@onelab.info"
>
gmsh@onelab.info
</a>
to send questions or ask for help. If you think you have found a bug in the
to send questions or ask for help. If you think you have found a bug in the
program, you can file a report directly
program, you can file a report directly
<a
href=
"https://onelab.info/trac/gmsh/newticket"
data-tooltip=
<a
href=
"http://gitlab.onelab.info/gmsh/gmsh/issues"
>
here
</a>
.
"Login and password: gmsh"
>
here
</a>
.
</p>
</p>
<form
method=
"get"
action=
"http://onelab.info/search/search.cgi"
>
<form
method=
"get"
action=
"http://onelab.info/search/search.cgi"
>
...
...
This diff is collapsed.
Click to expand it.
doc/texinfo/gmsh.texi
+
101
−
135
View file @
bdcf7eef
...
@@ -453,10 +453,10 @@ External solvers can be interfaced with Gmsh through Unix or TCP/IP
...
@@ -453,10 +453,10 @@ External solvers can be interfaced with Gmsh through Unix or TCP/IP
sockets, which permits to modify solver parameters, launch external
sockets, which permits to modify solver parameters, launch external
computations and process the results directly from within Gmsh's
computations and process the results directly from within Gmsh's
post-processing module. The default solver interfaced with Gmsh is GetDP
post-processing module. The default solver interfaced with Gmsh is GetDP
(@uref
{
http://getdp.info
}
). Examples on how to interface other
(@uref
{
http://getdp.info
}
). Examples on how to interface other
solvers
solvers
are available in the source distribution (in the
are available in the source distribution (in the
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/utils/solvers
/
,utils/solvers
}
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/utils/solvers,utils/solvers
}
@footnote
{
Login and password: @code
{
gmsh
}
.
}
directory).
directory).
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@c Post-processing: scalar, vector and tensor field visualization
@c Post-processing: scalar, vector and tensor field visualization
...
@@ -595,17 +595,17 @@ developers}) to remedy the aforementioned (and all other) shortcomings!
...
@@ -595,17 +595,17 @@ developers}) to remedy the aforementioned (and all other) shortcomings!
@cindex E-mail, authors
@cindex E-mail, authors
If you think you have found a bug in Gmsh, you can report it by email to
If you think you have found a bug in Gmsh, you can report it by email to
the public Gmsh mailing list at @email
{
gmsh@@geuz.org
}
, or file it
the public Gmsh mailing list at @email
{
gmsh@@onelab.info
}
, or file it
directly into our bug tracking database at
directly into the @url
{
http://gitlab.onelab.info/gmsh/gmsh/issues,bug
@url
{
https://onelab.info/trac/gmsh/report
}
@footnote
{
Login and password:
tracking database
}
. Please send as precise a description of the problem
@code
{
gmsh
}
.
}
. Please send as precise a description of the problem as
as you can, including sample input files that produce the bug. Don't
you can, including sample input files that produce the bug. Don't forget
forget to mention both the version of Gmsh and the version of your
to mention both the version of Gmsh and the version of your operation
operation system (@pxref
{
Command-line options
}
to see how to get this
system (@pxref
{
Command-line options
}
to see how to get this
information).
information).
See @ref
{
Frequently asked questions
}
, and the bug tracking system to see
See @ref
{
Frequently asked questions
}
, and the
which problems we already know about.
@url
{
http://gitlab.onelab.info/gmsh/gmsh/issues,bug tracking system
}
to
see which problems we already know about.
@c =========================================================================
@c =========================================================================
@c How to read this manual?
@c How to read this manual?
...
@@ -659,12 +659,11 @@ Application Programming Interface (API). No complete documentation of
...
@@ -659,12 +659,11 @@ Application Programming Interface (API). No complete documentation of
this API is available yet; a good starting point is @ref
{
Source code
this API is available yet; a good starting point is @ref
{
Source code
structure
}
, which gives a short introduction to Gmsh's internal source
structure
}
, which gives a short introduction to Gmsh's internal source
code structure. Then have a look e.g. at the examples in the
code structure. Then have a look e.g. at the examples in the
@url
{
https://onelab.info/svn/gmsh/trunk/utils/api
_
demos/,utils/api
_
demos
}
@footnote
{
Login
@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/utils/api
_
demos/,utils/api
_
demos
}
and password: @code
{
gmsh
}
.
}
directory in the source code. To build the
directory in the source code. To build the library see the instructions
library see the instructions in @ref
{
Compiling the source code
}
and in
in @ref
{
Compiling the source code
}
and in the top-level
the top-level
@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/README.txt,README.txt
}
@url
{
https://onelab.info/svn/gmsh/trunk/README.txt,README.txt
}
file in the
file in the source distribution.
source distribution.
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@c Syntactic rules used in the manual
@c Syntactic rules used in the manual
...
@@ -745,9 +744,9 @@ menu using `Window->Attach/Detach Menu'.)
...
@@ -745,9 +744,9 @@ menu using `Window->Attach/Detach Menu'.)
To open the first tutorial file (@pxref
{
Tutorial
}
), select the
To open the first tutorial file (@pxref
{
Tutorial
}
), select the
`File->Open' menu, and choose
`File->Open' menu, and choose
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t1.geo,t1.geo
}
@footnote
{
Logi
n
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t1.geo,t1.geo
}
. Whe
n
and password: @code
{
gmsh
}
.
}
. When
using a terminal, you can specify the
using a terminal, you can specify the
file name directly on the command
file name directly on the command
line, i.e.:
line, i.e.:
@example
@example
> gmsh t1.geo
> gmsh t1.geo
...
@@ -783,9 +782,9 @@ the command line, the first one defines the active model and the others
...
@@ -783,9 +782,9 @@ the command line, the first one defines the active model and the others
are `merged' into this model. You can merge such files with the
are `merged' into this model. You can merge such files with the
`File->Merge' menu. For example, to merge the post-processing views
`File->Merge' menu. For example, to merge the post-processing views
contained in the files
contained in the files
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/view1.pos,view1.pos
}
@footnote
{
Login
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/view1.pos,view1.pos
}
and
password: @code
{
gmsh
}
.
}
and
and
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/view5.msh,view5.msh
}
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/view5.msh,view5.msh
}
together with the geometry of the first tutorial @ref
{
t1.geo
}
, you can
together with the geometry of the first tutorial @ref
{
t1.geo
}
, you can
type the following command:
type the following command:
...
@@ -838,8 +837,8 @@ to mesh the first tutorial in batch mode, just type:
...
@@ -838,8 +837,8 @@ to mesh the first tutorial in batch mode, just type:
To mesh the same example, but with the background mesh available in the
To mesh the same example, but with the background mesh available in the
file
file
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/bgmesh.pos,bgmesh.pos
}
@footnote
{
Login
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/bgmesh.pos,bgmesh.pos
}
,
and password: @code
{
gmsh
}
.
}
,
type:
type:
@example
@example
> gmsh t1.geo -2 -bgm bgmesh.pos
> gmsh t1.geo -2 -bgm bgmesh.pos
...
@@ -1247,15 +1246,14 @@ Colors expressions are hybrids between fixed-length braced
...
@@ -1247,15 +1246,14 @@ Colors expressions are hybrids between fixed-length braced
@noindent The first case permits to use the X Windows names to refer to colors,
@noindent The first case permits to use the X Windows names to refer to colors,
e.g., @code
{
Red
}
, @code
{
SpringGreen
}
, @code
{
LavenderBlush3
}
, @dots
{}
e.g., @code
{
Red
}
, @code
{
SpringGreen
}
, @code
{
LavenderBlush3
}
, @dots
{}
(see
(see
@url
{
https://onelab.info/svn/gmsh/trunk/Common/Colors.h,Common/Colors.h
}
@footnote
{
Login
@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/Common/Colors.h,Common/Colors.h
}
and password: @code
{
gmsh
}
.
}
in the source code for a complete
in the source code for a complete list). The second case permits to
list). The second case permits to define colors by using three
define colors by using three expressions to specify their red, green and
expressions to specify their red, green and blue components (with values
blue components (with values comprised between 0 and 255). The third
comprised between 0 and 255). The third case permits to define colors by
case permits to define colors by using their red, green and blue color
using their red, green and blue color components as well as their alpha
components as well as their alpha channel. The last case permits to use
channel. The last case permits to use the value of a @var
{
color-option
}
the value of a @var
{
color-option
}
as a @var
{
color-expression
}
. The
as a @var
{
color-expression
}
. The various @w
{
@var
{
color-option
}
s
}
are
various @w
{
@var
{
color-option
}
s
}
are listed in @ref
{
Options
}
.
listed in @ref
{
Options
}
.
See @ref
{
t3.geo
}
, for an example of the use of color expressions.
See @ref
{
t3.geo
}
, for an example of the use of color expressions.
...
@@ -3108,12 +3106,12 @@ solver module, you need to specify its name (@code{Solver.Name0},
...
@@ -3108,12 +3106,12 @@ solver module, you need to specify its name (@code{Solver.Name0},
@ref
{
Solver options list
}
).
@ref
{
Solver options list
}
).
The client-server API for the solver interface is defined in the
The client-server API for the solver interface is defined in the
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Common/onelab.h,onelab.h
}
@footnote
{
Login
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Common/onelab.h,onelab.h
}
and password: @code
{
gmsh
}
.
}
header. See
header. See
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/utils/solvers/c++/solver.cpp,utils/solvers/c++/solver.cpp
}
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/utils/solvers/c++/solver.cpp,utils/solvers/c++/solver.cpp
}
for a simple example on how to use the ONELAB programming interface. See
for a simple example on how to use the ONELAB programming interface. See
the sources of GetDP (@url
{
http://getdp.info
}
for a more
the sources of GetDP (@url
{
http://getdp.info
}
for a more
comprehensive
comprehensive
example.
example.
@menu
@menu
* Solver options::
* Solver options::
...
@@ -3202,11 +3200,10 @@ graphical window, or be automatically positioned in order to avoid overlaps.
...
@@ -3202,11 +3200,10 @@ graphical window, or be automatically positioned in order to avoid overlaps.
Sample post-processing files in human-readable ``parsed'' format and in
Sample post-processing files in human-readable ``parsed'' format and in
the native MSH file format are available in the
the native MSH file format are available in the
@url
{
https://onelab.info/svn/gmsh/trunk/tutorial,tutorial
}
@footnote
{
Login
@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/tutorial,tutorial
}
and password: @code
{
gmsh
}
.
}
directory of Gmsh's distribution
directory of Gmsh's distribution (@file
{
.pos
}
and @file
{
.msh
}
(@file
{
.pos
}
and @file
{
.msh
}
files). The ``parsed'' format is defined in
files). The ``parsed'' format is defined in the next section (cf. the
the next section (cf. the @code
{
View
}
command); the MSH format is
@code
{
View
}
command); the MSH format is defined in @ref
{
File formats
}
.
defined in @ref
{
File formats
}
.
@menu
@menu
* Post-processing commands::
* Post-processing commands::
...
@@ -4592,8 +4589,8 @@ the same for all other kinds of values.
...
@@ -4592,8 +4589,8 @@ the same for all other kinds of values.
The following examples introduce new features gradually, starting with
The following examples introduce new features gradually, starting with
@ref
{
t1.geo
}
. The files corresponding to these examples are available in
@ref
{
t1.geo
}
. The files corresponding to these examples are available in
the
the
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial,tutorial
}
@footnote
{
Login
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial,tutorial
}
and password: @code
{
gmsh
}
.
}
directory of the Gmsh distribution.
directory of the Gmsh distribution.
To learn how to run Gmsh on your computer, see @ref
{
Running Gmsh on your
To learn how to run Gmsh on your computer, see @ref
{
Running Gmsh on your
system
}
. Screencasts that show how to use the GUI are available on
system
}
. Screencasts that show how to use the GUI are available on
...
@@ -4622,7 +4619,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4622,7 +4619,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t1.geo, t2.geo, Tutorial, Tutorial
@node t1.geo, t2.geo, Tutorial, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t1.geo,t1.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t1.geo,t1.geo
}
@verbatiminclude ../../tutorial/t1.geo
@verbatiminclude ../../tutorial/t1.geo
...
@@ -4631,7 +4628,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4631,7 +4628,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t2.geo, t3.geo, t1.geo, Tutorial
@node t2.geo, t3.geo, t1.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t2.geo,t2.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t2.geo,t2.geo
}
@verbatiminclude ../../tutorial/t2.geo
@verbatiminclude ../../tutorial/t2.geo
...
@@ -4640,7 +4637,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4640,7 +4637,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t3.geo, t4.geo, t2.geo, Tutorial
@node t3.geo, t4.geo, t2.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t3.geo,t3.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t3.geo,t3.geo
}
@verbatiminclude ../../tutorial/t3.geo
@verbatiminclude ../../tutorial/t3.geo
...
@@ -4649,7 +4646,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4649,7 +4646,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t4.geo, t5.geo, t3.geo, Tutorial
@node t4.geo, t5.geo, t3.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t4.geo,t4.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t4.geo,t4.geo
}
@verbatiminclude ../../tutorial/t4.geo
@verbatiminclude ../../tutorial/t4.geo
...
@@ -4658,7 +4655,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4658,7 +4655,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t5.geo, t6.geo, t4.geo, Tutorial
@node t5.geo, t6.geo, t4.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t5.geo,t5.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t5.geo,t5.geo
}
@verbatiminclude ../../tutorial/t5.geo
@verbatiminclude ../../tutorial/t5.geo
...
@@ -4667,7 +4664,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4667,7 +4664,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t6.geo, t7.geo, t5.geo, Tutorial
@node t6.geo, t7.geo, t5.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t6.geo,t6.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t6.geo,t6.geo
}
@verbatiminclude ../../tutorial/t6.geo
@verbatiminclude ../../tutorial/t6.geo
...
@@ -4676,7 +4673,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4676,7 +4673,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t7.geo, t8.geo, t6.geo, Tutorial
@node t7.geo, t8.geo, t6.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t7.geo,t7.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t7.geo,t7.geo
}
@verbatiminclude ../../tutorial/t7.geo
@verbatiminclude ../../tutorial/t7.geo
...
@@ -4685,7 +4682,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4685,7 +4682,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t8.geo, t9.geo, t7.geo, Tutorial
@node t8.geo, t9.geo, t7.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t8.geo,t8.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t8.geo,t8.geo
}
@verbatiminclude ../../tutorial/t8.geo
@verbatiminclude ../../tutorial/t8.geo
...
@@ -4694,7 +4691,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4694,7 +4691,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t9.geo, t10.geo, t8.geo, Tutorial
@node t9.geo, t10.geo, t8.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t9.geo,t9.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t9.geo,t9.geo
}
@verbatiminclude ../../tutorial/t9.geo
@verbatiminclude ../../tutorial/t9.geo
...
@@ -4703,7 +4700,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4703,7 +4700,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t10.geo, t11.geo, t9.geo, Tutorial
@node t10.geo, t11.geo, t9.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t10.geo,t10.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t10.geo,t10.geo
}
@verbatiminclude ../../tutorial/t10.geo
@verbatiminclude ../../tutorial/t10.geo
...
@@ -4712,7 +4709,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4712,7 +4709,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t11.geo, t12.geo, t10.geo, Tutorial
@node t11.geo, t12.geo, t10.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t11.geo,t11.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t11.geo,t11.geo
}
@verbatiminclude ../../tutorial/t11.geo
@verbatiminclude ../../tutorial/t11.geo
...
@@ -4721,7 +4718,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4721,7 +4718,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t12.geo, t13.geo, t11.geo, Tutorial
@node t12.geo, t13.geo, t11.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t12.geo,t12.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t12.geo,t12.geo
}
@verbatiminclude ../../tutorial/t12.geo
@verbatiminclude ../../tutorial/t12.geo
...
@@ -4730,7 +4727,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4730,7 +4727,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t13.geo, t14.geo, t12.geo, Tutorial
@node t13.geo, t14.geo, t12.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t13.geo,t13.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t13.geo,t13.geo
}
@verbatiminclude ../../tutorial/t13.geo
@verbatiminclude ../../tutorial/t13.geo
...
@@ -4739,7 +4736,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4739,7 +4736,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t14.geo, t15.geo, t13.geo, Tutorial
@node t14.geo, t15.geo, t13.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t14.geo,t14.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t14.geo,t14.geo
}
@verbatiminclude ../../tutorial/t14.geo
@verbatiminclude ../../tutorial/t14.geo
...
@@ -4748,7 +4745,7 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4748,7 +4745,7 @@ system}. Screencasts that show how to use the GUI are available on
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node t15.geo, , t14.geo, Tutorial
@node t15.geo, , t14.geo, Tutorial
@section @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/tutorial/t15.geo,t15.geo
}
@section @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/tutorial/t15.geo,t15.geo
}
@verbatiminclude ../../tutorial/t15.geo
@verbatiminclude ../../tutorial/t15.geo
...
@@ -4849,7 +4846,7 @@ by hand.
...
@@ -4849,7 +4846,7 @@ by hand.
@appendix Compiling the source code
@appendix Compiling the source code
Stable releases and nightly source snapshots are available from
Stable releases and nightly source snapshots are available from
@url
{
http://gmsh.info/src/
}
. You can also access the
subversion
@url
{
http://gmsh.info/src/
}
. You can also access the
Git
repository directly:
repository directly:
@enumerate
@enumerate
...
@@ -4857,52 +4854,24 @@ repository directly:
...
@@ -4857,52 +4854,24 @@ repository directly:
The first time you want to download the latest full source, type:
The first time you want to download the latest full source, type:
@example
@example
svn co
@url
{
http
s
://onelab.info/
svn/
gmsh/
trunk
}
gmsh
git clone
@url
{
http://
gitlab.
onelab.info/gmsh/
gmsh.git
}
@end example
@end example
You will be asked to accept the security certificate and to provide your
username and password. (Use gmsh/gmsh for read-only access.)
@item
@item
To update your local version to the latest and greatest, go in the gmsh
To update your local version to the latest and greatest, go in the gmsh
directory and type:
directory and type:
@example
@example
svn update
git pull
@end example
@item
If you have write access, to commit your changes to the central
repository, go in the gmsh directory and type:
@example
svn commit
@end example
@item
If you want to remove part of the tree from being downloaded, you can
change its ``ambiant'' depth to ``empty''. For example, if you don't
want to upate the ``projects'' subdirectory (as well as its
subdirectories), type:
@example
cd projects
svn update --set-depth empty
@end example
To later restore the projects for recursive updating, type:
@example
cd projects
svn update --set-depth infinity
@end example
@end example
@end enumerate
@end enumerate
Once you have the source code, you need to run CMake to configure your
Once you have the source code, you need to run CMake to configure your
build (see the
build (see the
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/README.txt,README.txt
}
@footnote
{
Login
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/README.txt,README.txt
}
and password: @code
{
gmsh
}
.
}
file in the top-level source directory for
file in the top-level source directory for
detailed information on how
detailed information on how
to run CMake).
to run CMake).
Each build can be configured using a series of options, to selectively
Each build can be configured using a series of options, to selectively
enable optional modules or features. Here is the list of CMake options:
enable optional modules or features. Here is the list of CMake options:
...
@@ -4946,34 +4915,33 @@ source code is provided in @ref{Compiling the source code} (see also
...
@@ -4946,34 +4915,33 @@ source code is provided in @ref{Compiling the source code} (see also
Gmsh's code is structured in several subdirectories, roughly separated
Gmsh's code is structured in several subdirectories, roughly separated
between the four core modules
between the four core modules
(@url
{
https://onelab.info/svn/gmsh/trunk/Geo,Geo
}
@footnote
{
Login and
(@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/Geo,Geo
}
,
password: @code
{
gmsh
}
.
}
,
@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/Mesh,Mesh
}
,
@url
{
https://onelab.info/svn/gmsh/trunk/Mesh,Mesh
}
,
@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/Solver,Solver
}
,
@url
{
https://onelab.info/svn/gmsh/trunk/Solver,Solver
}
,
@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/Post,Post
}
) and associated
@url
{
https://onelab.info/svn/gmsh/trunk/Post,Post
}
) and associated
utilities (@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/Common,Common
}
,
utilities (@url
{
https://onelab.info/svn/gmsh/trunk/Common,Common
}
,
@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/Numeric,Numeric
}
) on one hand, and
@url
{
https://onelab.info/svn/gmsh/trunk/Numeric,Numeric
}
) on one hand, and
the graphics (@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/Graphics,Graphics
}
)
the graphics (@url
{
https://onelab.info/svn/gmsh/trunk/Graphics,Graphics
}
)
and interface (@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/Fltk,Fltk
}
,
and interface (@url
{
https://onelab.info/svn/gmsh/trunk/Fltk,Fltk
}
,
@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/Parser,Parser
}
) code on the other.
@url
{
https://onelab.info/svn/gmsh/trunk/Parser,Parser
}
) code on the other.
The geometry and mesh modules are based on an object-oriented model
The geometry and mesh modules are based on an object-oriented model
class (@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Geo/GModel.h,Geo/GModel.h
}
),
class (@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Geo/GModel.h,Geo/GModel.h
}
),
built upon abstract geometrical entity classes
built upon abstract geometrical entity classes
(@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Geo/GVertex.h,Geo/GVertex.h
}
,
(@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Geo/GVertex.h,Geo/GVertex.h
}
,
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Geo/GEdge.h,Geo/GEdge.h
}
,
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Geo/GEdge.h,Geo/GEdge.h
}
,
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Geo/GFace.h,Geo/GFace.h
}
and
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Geo/GFace.h,Geo/GFace.h
}
and
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Geo/GRegion.h,Geo/GRegion.h
}
). Concrete
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Geo/GRegion.h,Geo/GRegion.h
}
). Concrete
implementations of the geometrical entity classes are provided for each
implementations of the geometrical entity classes are provided for each
supported CAD kernel
supported CAD kernel
(e.g. @url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Geo/gmshVertex.h,Geo/gmshVertex.h
}
(e.g. @url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Geo/gmshVertex.h,Geo/gmshVertex.h
}
for geometry points in Gmsh's native CAD format, or
for geometry points in Gmsh's native CAD format, or
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Geo/OCCVertex.h,Geo/OCCVertex.h
}
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Geo/OCCVertex.h,Geo/OCCVertex.h
}
for geometry points from OpenCASCADE). The post-processing module is
for geometry points from OpenCASCADE). The post-processing module is
based on the concept of views
based on the concept of views
(@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Post/PView.h,Post/PView.h
}
) and
(@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Post/PView.h,Post/PView.h
}
) and
abstract data containers (derived from
abstract data containers (derived from
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Post/PViewData.h,Post/PViewData.h
}
).
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Post/PViewData.h,Post/PViewData.h
}
).
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@c Coding style
@c Coding style
...
@@ -5038,25 +5006,24 @@ To add a new option in Gmsh:
...
@@ -5038,25 +5006,24 @@ To add a new option in Gmsh:
@enumerate
@enumerate
@item
@item
create the option in the @code
{
CTX
}
class
create the option in the @code
{
CTX
}
class
(@url
{
https://onelab.info/svn/gmsh/trunk/Common/Context.h,Common/Context.h
}
@footnote
{
Login
(@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/Common/Context.h,Common/Context.h
}
and password: @code
{
gmsh
}
.
}
) if it's a classical option, or in the
if it's a classical option, or in the @code
{
PViewOptions
}
class
@code
{
PViewOptions
}
class
(@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/Post/PViewOptions.h,Post/PViewOptions.h
}
)
(@url
{
https://onelab.info/svn/gmsh/trunk/Post/PViewOptions.h,Post/PViewOptions.h
}
)
if it's a post-processing view-dependent option;
if it's a post-processing view-dependent option;
@item
@item
in
in
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Common/DefaultOptions.h,Common/DefaultOptions.h
}
,
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Common/DefaultOptions.h,Common/DefaultOptions.h
}
,
give a name (for the parser to be able to access it), a reference to a
give a name (for the parser to be able to access it), a reference to a
handling routine (i.e. @code
{
opt
_
XXX
}
) and a default value for this
handling routine (i.e. @code
{
opt
_
XXX
}
) and a default value for this
option;
option;
@item
@item
create the handling routine @code
{
opt
_
XXX
}
in
create the handling routine @code
{
opt
_
XXX
}
in
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Common/Options.cpp,Common/Options.cpp
}
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Common/Options.cpp,Common/Options.cpp
}
(and add the prototype in
(and add the prototype in
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Common/Options.h,Common/Options.h
}
);
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Common/Options.h,Common/Options.h
}
);
@item
@item
optional: create the associated widget in
optional: create the associated widget in
@url
{
http
s
://onelab.info/
svn
/gmsh/tr
unk
/Fltk/optionWindow.cpp,Fltk/optionWindow.h
}
;
@url
{
http://
gitlab.
onelab.info/
gmsh
/gmsh/tr
ee/master
/Fltk/optionWindow.cpp,Fltk/optionWindow.h
}
;
@end enumerate
@end enumerate
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -5225,8 +5192,9 @@ In English people tend to pronounce `Gmsh' as ``gee-mesh''.
...
@@ -5225,8 +5192,9 @@ In English people tend to pronounce `Gmsh' as ``gee-mesh''.
@url
{
http://gmsh.info
}
is the primary location to obtain information
@url
{
http://gmsh.info
}
is the primary location to obtain information
about Gmsh. There you will for example find the complete reference
about Gmsh. There you will for example find the complete reference
manual, a bug tracking database and a searchable archive of the Gmsh
manual, a @url
{
http://gitlab.onelab.info/gmsh/gmsh/issues,bug tracking
mailing list (@email
{
gmsh@@geuz.org
}
).
database
}
and a searchable archive of the Gmsh mailing list
(@email
{
gmsh@@onelab.info
}
).
@end enumerate
@end enumerate
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -5251,9 +5219,8 @@ found at @url{http://www.mesa3d.org}.
...
@@ -5251,9 +5219,8 @@ found at @url{http://www.mesa3d.org}.
You need cmake (@url
{
http://www.cmake.org
}
) and a C++ compiler. See
You need cmake (@url
{
http://www.cmake.org
}
) and a C++ compiler. See
@ref
{
Compiling the source code
}
and the
@ref
{
Compiling the source code
}
and the
@url
{
https://onelab.info/svn/gmsh/trunk/README.txt,README.txt
}
@footnote
{
Login
@url
{
http://gitlab.onelab.info/gmsh/gmsh/tree/master/README.txt,README.txt
}
and password: @code
{
gmsh
}
.
}
file in the top-level source directory for
file in the top-level source directory for more information.
more information.
@item Where does Gmsh save its configuration files?
@item Where does Gmsh save its configuration files?
...
@@ -5318,8 +5285,8 @@ post-processing data sets, or to change parameters according to
...
@@ -5318,8 +5285,8 @@ post-processing data sets, or to change parameters according to
@code
{
Print.Parameter
}
. To create fully customized animations or to use
@code
{
Print.Parameter
}
. To create fully customized animations or to use
different output formats
(
AVI, MP
4
, etc.
)
you should write a
different output formats
(
AVI, MP
4
, etc.
)
you should write a
script. Have a look at @ref
{
t
8
.geo
}
or
script. Have a look at @ref
{
t
8
.geo
}
or
@url
{
http
s
:
//
onelab.info
/
svn
/
gmsh
/
tr
unk
/
demos
/
anim.script,demos
/
anim.script
}
@footnote
{
Login
@url
{
http:
//
gitlab.
onelab.info
/
gmsh
/
gmsh
/
tr
ee
/
master
/
demos
/
anim.script,demos
/
anim.script
}
and password: @code
{
gmsh
}
.
}
for some examples.
for some examples.
@item Can I change values in input fields with the mouse in the GUI?
@item Can I change values in input fields with the mouse in the GUI?
...
@@ -5467,8 +5434,7 @@ panel. From the command line, you can also use @code{-order 2}.
...
@@ -5467,8 +5434,7 @@ panel. From the command line, you can also use @code{-order 2}.
Yes, you can import a surface mesh in any one of the supported mesh file
Yes, you can import a surface mesh in any one of the supported mesh file
formats, define a volume, and mesh it. For an example see
formats, define a volume, and mesh it. For an example see
@url
{
https:
//
onelab.info
/
svn
/
gmsh
/
trunk
/
demos
/
sphere
-
discrete.geo,demos
/
sphere
-
discrete.geo
}
@footnote
{
Login
@url
{
http:
//
gitlab.onelab.info
/
gmsh
/
gmsh
/
tree
/
master
/
demos
/
sphere
-
discrete.geo,demos
/
sphere
-
discrete.geo
}
.
and password: @code
{
gmsh
}
.
}
.
@item How do I define boundary conditions or material properties in Gmsh?
@item How do I define boundary conditions or material properties in Gmsh?
...
@@ -5536,7 +5502,7 @@ solver (@url{http://getdp.info}) to see how this is done.
...
@@ -5536,7 +5502,7 @@ solver (@url{http://getdp.info}) to see how this is done.
Sure. The simplest
(
but rather crude
)
approach if to re
-
launch Gmsh
Sure. The simplest
(
but rather crude
)
approach if to re
-
launch Gmsh
everytime you want to visualize something
(
a simple C program showing
everytime you want to visualize something
(
a simple C program showing
how to do this is given in
how to do this is given in
@url
{
http
s
:
//
onelab.info
/
svn
/
gmsh
/
tr
unk
/
utils
/
misc
/
callgmsh.c,utils
/
misc
/
callgmsh.c
}
)
. A
@url
{
http:
//
gitlab.
onelab.info
/
gmsh
/
gmsh
/
tr
ee
/
master
/
utils
/
misc
/
callgmsh.c,utils
/
misc
/
callgmsh.c
}
)
. A
better approach is to modify your program so that it can communicate
better approach is to modify your program so that it can communicate
with Gmsh over a socket
(
see ``How do I integrate my own solver with
with Gmsh over a socket
(
see ``How do I integrate my own solver with
Gmsh?'' above; you can skip the option file creation
)
. Then select
Gmsh?'' above; you can skip the option file creation
)
. Then select
...
@@ -5627,7 +5593,7 @@ Evaluate plugin.
...
@@ -5627,7 +5593,7 @@ Evaluate plugin.
You can save simple MPEG animations directly from the `File
-
>Save As'
You can save simple MPEG animations directly from the `File
-
>Save As'
menu. For other formats you should write a script. Have a look at
menu. For other formats you should write a script. Have a look at
@ref
{
t
8
.geo
}
or
@ref
{
t
8
.geo
}
or
@url
{
http
s
:
//
onelab.info
/
svn
/
gmsh
/
tr
unk
/
demos
/
anim.script,demos
/
anim.script
}
@url
{
http:
//
gitlab.
onelab.info
/
gmsh
/
gmsh
/
tr
ee
/
master
/
demos
/
anim.script,demos
/
anim.script
}
for some examples.
for some examples.
@item Is there a way to visualize only certain components of vector
/
tensor fields?
@item Is there a way to visualize only certain components of vector
/
tensor fields?
...
...
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