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

syntax corrections

parent 889e496e
No related branches found
No related tags found
No related merge requests found
...@@ -54,25 +54,6 @@ Physical Line(2222) = {3}; ...@@ -54,25 +54,6 @@ Physical Line(2222) = {3};
Physical Line(3333) = {2,4}; Physical Line(3333) = {2,4};
Physical Surface(9999) = {6}; Physical Surface(9999) = {6};
/* README: You can also specify options in the file. For example, this
redefines the color of geometry points. See ex03.geo for a more
complete example. */
Options{
General{
Rotation0 = 10;
Color{
Background = Red;
}
}
Geometry{
Color{
Points = Orange;
Lines = Blue;
}
}
}
/* README: You can merge files with File->Merge. This is most useful /* README: You can merge files with File->Merge. This is most useful
for post-processing purposes. Try for example to merge view1.pos for post-processing purposes. Try for example to merge view1.pos
together with this file. Post-processing options are available by together with this file. Post-processing options are available by
......
...@@ -36,3 +36,23 @@ Volume(10023) = {10022}; ...@@ -36,3 +36,23 @@ Volume(10023) = {10022};
Physical Volume (1) = {41} ; Physical Volume (1) = {41} ;
/* README: You can also specify options in the file. For example, this
redefines the color of geometry points. Click on the '?' button in the
main window, print the file in 'geo' format, or add '-0' on the command
line to get the full list of available options. */
Options{
General{
Rotation0 = 10;
Color{
Background = Red;
}
}
Geometry{
Color{
Points = Orange;
Lines = Blue;
}
}
}
...@@ -160,39 +160,44 @@ Physical Surface (711) = {66} ; ...@@ -160,39 +160,44 @@ Physical Surface (711) = {66} ;
widget). GUI colors and fonts can be changed in a standard X widget). GUI colors and fonts can be changed in a standard X
resource file (.gmshrc in your home directory). */ resource file (.gmshrc in your home directory). */
Color{ Options{
General{ General{
Background = {39, 64, 139} ; Color{
Axes = OrangeRed1; // Color names are the classical X11 names Background = {39, 64, 139} ;
SmallAxes = LightGray; Axes = OrangeRed1; // Color names are the classical X11 names
Text = Gray88 ; SmallAxes = LightGray;
Text = Gray88 ;
}
} }
Geometry{ Geometry{
Points = Yellow; Color{
Lines = {255, 255, 255, 128} ; // semi-transparent white Points = Yellow;
Surfaces = {Orange, 60} ; // almost transparent orange Lines = {255, 255, 255, 128} ; // semi-transparent white
Volumes = Green ; Surfaces = {Orange, 60} ; // almost transparent orange
PointsSelect = White ; Volumes = Green ;
LinesSelect = White ; PointsSelect = White ;
SurfacesSelect = White ; LinesSelect = White ;
SurfacesSelect = White ;
}
} }
Mesh{ Mesh{
Points = Black; Color{
PointsSupp = Orchid; Points = Black;
Lines = Black; PointsSupp = Orchid;
// Color cycle for volume mesh Lines = Black;
One = Gray10 ; // Color cycle for volume mesh
Two = Gray20 ; One = Gray10 ;
Three = Gray30 ; Two = Gray20 ;
Four = Gray40 ; Three = Gray30 ;
Five = Gray50 ; Four = Gray40 ;
Six = Gray60 ; Five = Gray50 ;
Seven = Gray70 ; Six = Gray60 ;
Eight = Gray80 ; Seven = Gray70 ;
Nine = Gray90 ; Eight = Gray80 ;
Ten = Black ; Nine = Gray90 ;
Ten = Black ;
}
} }
} }
/* README: X resources can be specified in a '.gmshrc' in your home /* README: X resources can be specified in a '.gmshrc' in your home
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment