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
5c742ae5
Commit
5c742ae5
authored
18 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
- re-add names in visibility broswer (will change in the future) - shorten tutorials
parent
59e084d0
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
Common/Visibility.cpp
+2
-4
2 additions, 4 deletions
Common/Visibility.cpp
Makefile
+2
-2
2 additions, 2 deletions
Makefile
tutorial/t3.geo
+8
-20
8 additions, 20 deletions
tutorial/t3.geo
tutorial/t6.geo
+6
-6
6 additions, 6 deletions
tutorial/t6.geo
with
18 additions
and
32 deletions
Common/Visibility.cpp
+
2
−
4
View file @
5c742ae5
// $Id: Visibility.cpp,v 1.2
0
2006-11-2
7
2
2:22:08
geuzaine Exp $
// $Id: Visibility.cpp,v 1.2
1
2006-11-2
8
2
0:17:44
geuzaine Exp $
//
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -61,9 +61,7 @@ void VisibilityManager::update(int type)
{
_labels
.
clear
();
// FIXME: this sometimes leads to crashes -- investigate
//Tree_Action(Symbol_T, setLabels);
//printf("updating vis man\n");
if
(
Tree_Nbr
(
Symbol_T
))
Tree_Action
(
Symbol_T
,
setLabels
);
for
(
unsigned
int
i
=
0
;
i
<
_entities
.
size
();
i
++
)
delete
_entities
[
i
];
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
2
−
2
View file @
5c742ae5
# $Id: Makefile,v 1.42
2
2006-11-2
7
2
2:22:06
geuzaine Exp $
# $Id: Makefile,v 1.42
3
2006-11-2
8
2
0:17:44
geuzaine Exp $
#
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
#
...
...
@@ -256,7 +256,7 @@ package-mac:
cp
Fltk/MacIconsGeo.icns gmsh-
${
GMSH_VERSION
}
/Gmsh.app/Contents/Resources/GmshGeo.icns
cp
Fltk/MacIconsMsh.icns gmsh-
${
GMSH_VERSION
}
/Gmsh.app/Contents/Resources/GmshMsh.icns
cp
Fltk/MacIconsPos.icns gmsh-
${
GMSH_VERSION
}
/Gmsh.app/Contents/Resources/GmshPos.icns
cp
-R
doc/gmsh.1
tutorial demos gmsh-
${
GMSH_VERSION
}
cp
-R
tutorial demos gmsh-
${
GMSH_VERSION
}
cp
doc/VERSIONS gmsh-
${
GMSH_VERSION
}
/VERSIONS.txt
cp
doc/FAQ gmsh-
${
GMSH_VERSION
}
/FAQ.txt
cp
doc/CREDITS gmsh-
${
GMSH_VERSION
}
/CREDITS.txt
...
...
This diff is collapsed.
Click to expand it.
tutorial/t3.geo
+
8
−
20
View file @
5c742ae5
...
...
@@ -53,32 +53,20 @@ Physical Volume(101) = {1, 2, out[1]};
// Let us now change some options... Since all interactive options are
// accessible in Gmsh's scripting language, we can for example define
// a global characteristic length factor, redefine some background
// colors, disable the display of the axes, and select an initial
// viewpoint in XYZ mode (disabling the interactive trackball-like
// rotation mode) directly in the input file:
// a global characteristic length factor or redefine some colors
// directly in the input file:
Mesh
.
CharacteristicLengthFactor
=
4
;
General
.
Color
.
Background
=
{
120
,
120
,
120
};
General
.
Color
.
Foreground
=
{
255
,
255
,
255
};
General
.
Color
.
Text
=
White
;
Geometry
.
Color
.
Points
=
Orange
;
General
.
Axes
=
0
;
General
.
Trackball
=
0
;
General
.
RotationCenterGravity
=
0
;
General
.
RotationCenterX
=
0
;
General
.
RotationCenterY
=
0
;
General
.
RotationCenterZ
=
0
;
General
.
RotationX
=
10
;
General
.
RotationY
=
70
;
General
.
TranslationX
=
-
0.2
;
Mesh
.
Color
.
Points
=
{
255
,
0
,
0
};
// Note that all colors can be defined literally or numerically, i.e.
// `
General.Color.Background
= Red' is equivalent to
//
`General.Color.Background =
{255,0,0}'; and also note that, as with
//
user-defined variables, the
options can be used either as right or
//
left hand sides, so that the
following command will set the surface
//
color to the same color as
the points:
// `
Mesh.Color.Points
= Red' is equivalent to
`Mesh.Color.Points =
// {255,0,0}'; and also note that, as with
user-defined variables, the
// options can be used either as right or
left hand sides, so that the
// following command will set the surface
color to the same color as
// the points:
Geometry
.
Color
.
Surfaces
=
Geometry
.
Color
.
Points
;
...
...
This diff is collapsed.
Click to expand it.
tutorial/t6.geo
+
6
−
6
View file @
5c742ae5
...
...
@@ -6,8 +6,8 @@
*
*********************************************************************/
//
We
use the geometry from the first tutorial as a basis for this
//
tutorial:
//
Let's
use the geometry from the first tutorial as a basis for this
//
one
Include
"t1.geo"
;
// Put 20 equidistant points on curve 4
...
...
@@ -24,11 +24,11 @@ Transfinite Line{-1,3} = 30 Using Progression 1.2;
// of the transfinite interpolation
Transfinite
Surface
{
6
}
=
{
1
,
2
,
3
,
4
};
//
Please n
ote that the list on the right hand side refers to points,
//
not
curves. The way triangles are generated can be controlled by
// appending "Left", "Right" or "Alternate" after the list.
//
(N
ote that the list on the right hand side refers to points,
not
// curves. The way triangles are generated can be controlled by
// appending "Left", "Right" or "Alternate" after the list.
)
// Recombine the tran
sfinite m
es
h
into quads
// Recombine the tr
i
an
gl
es into quads
Recombine
Surface
{
6
};
// Apply an elliptic smoother to the grid
...
...
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