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
b87172ae
Commit
b87172ae
authored
9 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
doc new periodic commands
parent
78bdfe9e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
benchmarks/3d/CubePeriodic.geo
+3
-2
3 additions, 2 deletions
benchmarks/3d/CubePeriodic.geo
doc/texinfo/gmsh.texi
+175
-170
175 additions, 170 deletions
doc/texinfo/gmsh.texi
with
178 additions
and
172 deletions
benchmarks/3d/CubePeriodic.geo
+
3
−
2
View file @
b87172ae
...
@@ -42,7 +42,7 @@ Volume (26) = {1000026};
...
@@ -42,7 +42,7 @@ Volume (26) = {1000026};
Physical
Volume
(
1
)
=
{
26
};
Physical
Volume
(
1
)
=
{
26
};
Physical
Surface
(
10
)
=
{
14
:
24
:
2
};
Physical
Surface
(
10
)
=
{
14
:
24
:
2
};
/*
Periodic
Line
{
4
}
=
{
2
}
;
Periodic
Line
{
4
}
=
{
2
}
;
Periodic
Line
{
4
}
=
{
6
}
;
Periodic
Line
{
4
}
=
{
6
}
;
Periodic
Line
{
4
}
=
{
8
}
;
Periodic
Line
{
4
}
=
{
8
}
;
...
@@ -54,9 +54,10 @@ Periodic Line {1} = {3} ;
...
@@ -54,9 +54,10 @@ Periodic Line {1} = {3} ;
Periodic
Line
{
9
}
=
{
10
}
;
Periodic
Line
{
9
}
=
{
10
}
;
Periodic
Line
{
9
}
=
{
11
}
;
Periodic
Line
{
9
}
=
{
11
}
;
Periodic
Line
{
9
}
=
{
12
}
;
Periodic
Line
{
9
}
=
{
12
}
;
*/
Periodic
Surface
24
{
1
,
2
,
3
,
4
}
=
16
{
5
,
6
,
7
,
8
};
Periodic
Surface
24
{
1
,
2
,
3
,
4
}
=
16
{
5
,
6
,
7
,
8
};
Periodic
Surface
14
{
10
,
5
,
9
,
1
}
=
22
{
11
,
-
7
,
12
,
-
3
};
Periodic
Surface
14
{
10
,
5
,
9
,
1
}
=
22
{
11
,
-
7
,
12
,
-
3
};
Periodic
Surface
18
{
9
,
8
,
12
,
4
}
=
20
{
10
,
-
6
,
11
,
-
2
};
Periodic
Surface
18
{
9
,
8
,
12
,
4
}
=
20
{
10
,
-
6
,
11
,
-
2
};
// TODO
//Periodic Surface {14} = {22};
//Periodic Surface {14} = {22};
//Periodic Surface {18} = {20};
//Periodic Surface {18} = {20};
This diff is collapsed.
Click to expand it.
doc/texinfo/gmsh.texi
+
175
−
170
View file @
b87172ae
...
@@ -134,135 +134,135 @@ for Gmsh @value{GMSH-VERSION} (@today{}).
...
@@ -134,135 +134,135 @@ for Gmsh @value{GMSH-VERSION} (@today{}).
Overview
Overview
* Geometry::
* Geometry::
* Mesh::
* Mesh::
* Solver::
* Solver::
* Post-processing::
* Post-processing::
* What Gmsh is pretty good at::
* What Gmsh is pretty good at::
* and what Gmsh is not so good at::
* and what Gmsh is not so good at::
* Bug reports::
* Bug reports::
How to read this reference manual?
How to read this reference manual?
* Syntactic rules::
* Syntactic rules::
Running Gmsh on your system
Running Gmsh on your system
* Interactive mode::
* Interactive mode::
* Non-interactive mode::
* Non-interactive mode::
* Command-line options::
* Command-line options::
* Mouse actions::
* Mouse actions::
* Keyboard shortcuts::
* Keyboard shortcuts::
General tools
General tools
* Comments::
* Comments::
* Expressions::
* Expressions::
* Operators::
* Operators::
* Built-in functions::
* Built-in functions::
* User-defined macros::
* User-defined macros::
* Loops and conditionals::
* Loops and conditionals::
* General commands::
* General commands::
* General options::
* General options::
Expressions
Expressions
* Floating point expressions::
* Floating point expressions::
* Character expressions::
* Character expressions::
* Color expressions::
* Color expressions::
Geometry module
Geometry module
* Geometry commands::
* Geometry commands::
* Geometry options::
* Geometry options::
Geometry commands
Geometry commands
* Points::
* Points::
* Lines::
* Lines::
* Surfaces::
* Surfaces::
* Volumes::
* Volumes::
* Extrusions::
* Extrusions::
* Transformations::
* Transformations::
* Miscellaneous geometry commands::
* Miscellaneous geometry commands::
Mesh module
Mesh module
* Choosing the right unstructured algorithm::
* Choosing the right unstructured algorithm::
* Elementary vs physical entities::
* Elementary vs physical entities::
* Mesh commands::
* Mesh commands::
* Mesh options::
* Mesh options::
Mesh commands
Mesh commands
* Specifying mesh element sizes::
* Specifying mesh element sizes::
* Structured grids::
* Structured grids::
* Miscellaneous mesh commands::
* Miscellaneous mesh commands::
Solver module
Solver module
* Solver options::
* Solver options::
Post-processing module
Post-processing module
* Post-processing commands::
* Post-processing commands::
* Post-processing plugins::
* Post-processing plugins::
* Post-processing options::
* Post-processing options::
File formats
File formats
* MSH ASCII file format::
* MSH ASCII file format::
* MSH binary file format::
* MSH binary file format::
* Node ordering::
* Node ordering::
* Legacy formats::
* Legacy formats::
Legacy formats
Legacy formats
* MSH file format version 1.0::
* MSH file format version 1.0::
* POS ASCII file format::
* POS ASCII file format::
* POS binary file format::
* POS binary file format::
Tutorial
Tutorial
* t1.geo::
* t1.geo::
* t2.geo::
* t2.geo::
* t3.geo::
* t3.geo::
* t4.geo::
* t4.geo::
* t5.geo::
* t5.geo::
* t6.geo::
* t6.geo::
* t7.geo::
* t7.geo::
* t8.geo::
* t8.geo::
* t9.geo::
* t9.geo::
* t10.geo::
* t10.geo::
* t11.geo::
* t11.geo::
* t12.geo::
* t12.geo::
* t13.geo::
* t13.geo::
* t14.geo::
* t14.geo::
* t15.geo::
* t15.geo::
Options
Options
* General options list::
* General options list::
* Geometry options list::
* Geometry options list::
* Mesh options list::
* Mesh options list::
* Solver options list::
* Solver options list::
* Post-processing options list::
* Post-processing options list::
Information for developers
Information for developers
* Source code structure::
* Source code structure::
* Coding style::
* Coding style::
* Adding a new option::
* Adding a new option::
Frequently asked questions
Frequently asked questions
* The basics::
* The basics::
* Installation problems::
* Installation problems::
* General questions::
* General questions::
* Geometry module questions::
* Geometry module questions::
* Mesh module questions::
* Mesh module questions::
* Solver module questions::
* Solver module questions::
* Post-processing module questions::
* Post-processing module questions::
@end detailmenu
@end detailmenu
@end menu
@end menu
...
@@ -362,13 +362,13 @@ treatments, using loops, conditionals and external system calls. A brief
...
@@ -362,13 +362,13 @@ treatments, using loops, conditionals and external system calls. A brief
description of the four modules is given hereafter.
description of the four modules is given hereafter.
@menu
@menu
* Geometry::
* Geometry::
* Mesh::
* Mesh::
* Solver::
* Solver::
* Post-processing::
* Post-processing::
* What Gmsh is pretty good at::
* What Gmsh is pretty good at::
* and what Gmsh is not so good at::
* and what Gmsh is not so good at::
* Bug reports::
* Bug reports::
@end menu
@end menu
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -669,7 +669,7 @@ source distribution.
...
@@ -669,7 +669,7 @@ source distribution.
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@menu
@menu
* Syntactic rules::
* Syntactic rules::
@end menu
@end menu
@node Syntactic rules, , How to read this manual?, How to read this manual?
@node Syntactic rules, , How to read this manual?, How to read this manual?
...
@@ -713,11 +713,11 @@ preceding rule.
...
@@ -713,11 +713,11 @@ preceding rule.
@cindex Running Gmsh
@cindex Running Gmsh
@menu
@menu
* Interactive mode::
* Interactive mode::
* Non-interactive mode::
* Non-interactive mode::
* Command-line options::
* Command-line options::
* Mouse actions::
* Mouse actions::
* Keyboard shortcuts::
* Keyboard shortcuts::
@end menu
@end menu
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -904,14 +904,14 @@ modules''. Commands peculiar to these modules will be introduced in
...
@@ -904,14 +904,14 @@ modules''. Commands peculiar to these modules will be introduced in
@ref
{
Post-processing module
}
, respectively.
@ref
{
Post-processing module
}
, respectively.
@menu
@menu
* Comments::
* Comments::
* Expressions::
* Expressions::
* Operators::
* Operators::
* Built-in functions::
* Built-in functions::
* User-defined macros::
* User-defined macros::
* Loops and conditionals::
* Loops and conditionals::
* General commands::
* General commands::
* General options::
* General options::
@end menu
@end menu
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -955,9 +955,9 @@ The two constant types used in Gmsh scripts are @var{real} and
...
@@ -955,9 +955,9 @@ The two constant types used in Gmsh scripts are @var{real} and
meaning and syntax as in the C or C++ programming languages.
meaning and syntax as in the C or C++ programming languages.
@menu
@menu
* Floating point expressions::
* Floating point expressions::
* Character expressions::
* Character expressions::
* Color expressions::
* Color expressions::
@end menu
@end menu
@c .........................................................................
@c .........................................................................
...
@@ -1328,7 +1328,7 @@ evaluation:
...
@@ -1328,7 +1328,7 @@ evaluation:
@c Built-in functions
@c Built-in functions
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node Built-in functions, User-defined
function
s, Operators, General tools
@node Built-in functions, User-defined
macro
s, Operators, General tools
@section Built-in functions
@section Built-in functions
@cindex Functions, built-in
@cindex Functions, built-in
...
@@ -1423,7 +1423,7 @@ Hyperbolic tangent of @var{expression}.
...
@@ -1423,7 +1423,7 @@ Hyperbolic tangent of @var{expression}.
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
@node User-defined macros, Loops and conditionals, Built-in functions, General tools
@node User-defined macros, Loops and conditionals, Built-in functions, General tools
@section User-defined
function
s
@section User-defined
macro
s
@cindex Macros, user-defined
@cindex Macros, user-defined
...
@@ -1889,8 +1889,8 @@ physical volume must be assigned a unique identification number. See
...
@@ -1889,8 +1889,8 @@ physical volume must be assigned a unique identification number. See
the way meshes are saved.
the way meshes are saved.
@menu
@menu
* Geometry commands::
* Geometry commands::
* Geometry options::
* Geometry options::
@end menu
@end menu
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -1911,13 +1911,13 @@ is enclosed between parentheses. If an @var{expression} refers to a
...
@@ -1911,13 +1911,13 @@ is enclosed between parentheses. If an @var{expression} refers to a
previously defined entity, it is enclosed between braces.''
previously defined entity, it is enclosed between braces.''
@menu
@menu
* Points::
* Points::
* Lines::
* Lines::
* Surfaces::
* Surfaces::
* Volumes::
* Volumes::
* Extrusions::
* Extrusions::
* Transformations::
* Transformations::
* Miscellaneous geometry commands::
* Miscellaneous geometry commands::
@end menu
@end menu
@c .........................................................................
@c .........................................................................
...
@@ -2426,10 +2426,10 @@ algorithm can be quite poor.
...
@@ -2426,10 +2426,10 @@ algorithm can be quite poor.
@c primitives, etc.)
@c primitives, etc.)
@menu
@menu
* Choosing the right unstructured algorithm::
* Choosing the right unstructured algorithm::
* Elementary vs physical entities::
* Elementary vs physical entities::
* Mesh commands::
* Mesh commands::
* Mesh options::
* Mesh options::
@end menu
@end menu
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -2591,9 +2591,9 @@ given either in the GUI or on the command line (see @ref{Running Gmsh on
...
@@ -2591,9 +2591,9 @@ given either in the GUI or on the command line (see @ref{Running Gmsh on
your system
}
, and @ref
{
Command-line options
}
).
your system
}
, and @ref
{
Command-line options
}
).
@menu
@menu
* Specifying mesh element sizes::
* Specifying mesh element sizes::
* Structured grids::
* Structured grids::
* Miscellaneous mesh commands::
* Miscellaneous mesh commands::
@end menu
@end menu
@c .........................................................................
@c .........................................................................
...
@@ -2899,16 +2899,21 @@ will conform to the mesh of the point(s) or lines(s).
...
@@ -2899,16 +2899,21 @@ will conform to the mesh of the point(s) or lines(s).
Embed the surface in the given volume. The volume mesh will conform to
Embed the surface in the given volume. The volume mesh will conform to
the mesh of the surface.
the mesh of the surface.
@item Periodic Line @
{
@var
{
expression-list
}
@
}
= @
{
@var
{
expression-list
}
@
}
;
@item Periodic Line @
{
@var
{
expression-list
}
@
}
= @
{
@var
{
expression-list
}
@
}
;
Force mesh of lines on the left-hand side (slaves) to match the mesh of
Force mesh of lines on the left-hand side (slaves) to match the mesh of
the lines on the right-hand side (masters).
the lines on the right-hand side (masters).
@item Periodic Surface @var
{
expression
}
@
{
@var
{
expression-list
}
@
}
= @var
{
expression
}
@
{
@var
{
expression-list
}
@
}
< Affine @
{
@var
{
expression-list
}
@
}
>
;
@item Periodic Surface @var
{
expression
}
@
{
@var
{
expression-list
}
@
}
= @var
{
expression
}
@
{
@var
{
expression-list
}
@
}
;
Force mesh of the surface on the left-hand side (slave, with boundary
Force mesh of the surface on the left-hand side (slave, with boundary
edges specified between braces) to match the mesh of the surface on the
edges specified between braces) to match the mesh of the surface on the
right-hand side (master, with boundary edges specified between braces). The
right-hand side (master, with boundary edges specified between braces).
optional @code
{
Affine
}
list specifies an explicit affine transform (as a 4 x 4
matrix given by row).
@item Periodic Line | Surface @
{
@var
{
expression-list
}
@
}
= @
{
@var
{
expression-list
}
@
}
Affine | Rotate | Translate @
{
@var
{
expression-list
}
@
}
;
Force mesh of lines or surfaces on the left-hand side (slaves) to match
the mesh of the lines on the right-hand side (masters), using prescribed
geometrical transformations. @code
{
Affine
}
takes a 4 x 4 affine
transform matrix given by row; @code
{
Rotate
}
and @code
{
Translate
}
are
specified as in @ref
{
Transformations
}
.
@item Coherence Mesh;
@item Coherence Mesh;
Removes all duplicate mesh vertices.
Removes all duplicate mesh vertices.
...
@@ -3020,7 +3025,7 @@ the sources of GetDP (@url{http://geuz.org/getdp} for a more
...
@@ -3020,7 +3025,7 @@ the sources of GetDP (@url{http://geuz.org/getdp} for a more
comprehensive example.
comprehensive example.
@menu
@menu
* Solver options::
* Solver options::
@end menu
@end menu
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -3113,9 +3118,9 @@ the next section (cf. the @code{View} command); the MSH format is
...
@@ -3113,9 +3118,9 @@ the next section (cf. the @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::
* Post-processing plugins::
* Post-processing plugins::
* Post-processing options::
* Post-processing options::
@end menu
@end menu
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -3451,10 +3456,10 @@ underlying mesh, and can therefore be easier to use in some
...
@@ -3451,10 +3456,10 @@ underlying mesh, and can therefore be easier to use in some
cases.)
cases.)
@menu
@menu
* MSH ASCII file format::
* MSH ASCII file format::
* MSH binary file format::
* MSH binary file format::
* Node ordering::
* Node ordering::
* Legacy formats::
* Legacy formats::
@end menu
@end menu
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -4123,9 +4128,9 @@ you do not use them in new applications.
...
@@ -4123,9 +4128,9 @@ you do not use them in new applications.
@c .........................................................................
@c .........................................................................
@menu
@menu
* MSH file format version 1.0::
* MSH file format version 1.0::
* POS ASCII file format::
* POS ASCII file format::
* POS binary file format::
* POS binary file format::
@end menu
@end menu
@node MSH file format version 1.0, POS ASCII file format, Legacy formats, Legacy formats
@node MSH file format version 1.0, POS ASCII file format, Legacy formats, Legacy formats
...
@@ -4502,21 +4507,21 @@ system}. Screencasts that show how to use the GUI are available on
...
@@ -4502,21 +4507,21 @@ system}. Screencasts that show how to use the GUI are available on
@uref
{
http://geuz.org/gmsh/screencasts/
}
.
@uref
{
http://geuz.org/gmsh/screencasts/
}
.
@menu
@menu
* t1.geo::
* t1.geo::
* t2.geo::
* t2.geo::
* t3.geo::
* t3.geo::
* t4.geo::
* t4.geo::
* t5.geo::
* t5.geo::
* t6.geo::
* t6.geo::
* t7.geo::
* t7.geo::
* t8.geo::
* t8.geo::
* t9.geo::
* t9.geo::
* t10.geo::
* t10.geo::
* t11.geo::
* t11.geo::
* t12.geo::
* t12.geo::
* t13.geo::
* t13.geo::
* t14.geo::
* t14.geo::
* t15.geo::
* t15.geo::
@end menu
@end menu
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -4683,11 +4688,11 @@ by hand.
...
@@ -4683,11 +4688,11 @@ by hand.
@c All the included files are generated automatically with `gmsh -doc'
@c All the included files are generated automatically with `gmsh -doc'
@menu
@menu
* General options list::
* General options list::
* Geometry options list::
* Geometry options list::
* Mesh options list::
* Mesh options list::
* Solver options list::
* Solver options list::
* Post-processing options list::
* Post-processing options list::
@end menu
@end menu
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -4834,9 +4839,9 @@ source code is provided in @ref{Compiling the source code} (see also
...
@@ -4834,9 +4839,9 @@ source code is provided in @ref{Compiling the source code} (see also
@ref
{
Frequently asked questions
}
).
@ref
{
Frequently asked questions
}
).
@menu
@menu
* Source code structure::
* Source code structure::
* Coding style::
* Coding style::
* Adding a new option::
* Adding a new option::
@end menu
@end menu
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
@@ -5082,13 +5087,13 @@ optional: create the associated widget in
...
@@ -5082,13 +5087,13 @@ optional: create the associated widget in
@cindex FAQ
@cindex FAQ
@menu
@menu
* The basics::
* The basics::
* Installation problems::
* Installation problems::
* General questions::
* General questions::
* Geometry module questions::
* Geometry module questions::
* Mesh module questions::
* Mesh module questions::
* Solver module questions::
* Solver module questions::
* Post-processing module questions::
* Post-processing module questions::
@end menu
@end menu
@c -------------------------------------------------------------------------
@c -------------------------------------------------------------------------
...
...
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