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
cb7d16a9
Commit
cb7d16a9
authored
17 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
make clear in docs that node/elemement tags should be > 0 (and not == 0)
parent
b6a7c189
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Geo/OCCEdge.cpp
+6
-6
6 additions, 6 deletions
Geo/OCCEdge.cpp
Geo/gmshEdge.cpp
+2
-2
2 additions, 2 deletions
Geo/gmshEdge.cpp
doc/texinfo/gmsh.texi
+29
-20
29 additions, 20 deletions
doc/texinfo/gmsh.texi
with
37 additions
and
28 deletions
Geo/OCCEdge.cpp
+
6
−
6
View file @
cb7d16a9
// $Id: OCCEdge.cpp,v 1.2
2
2007-0
9
-0
4
13:
47:01 remacl
e Exp $
// $Id: OCCEdge.cpp,v 1.2
3
2007-
1
0-0
8
13:
13:23 geuzain
e Exp $
//
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -210,22 +210,22 @@ double OCCEdge::curvature(double par) const
Standard_Real
Crv
;
if
(
curve
.
IsNull
()){
Geom2dLProp_CLProps2d
aCLProps
(
curve2d
,
2
,
eps
);
aCLProps
.
SetParameter
(
par
);
aCLProps
.
SetParameter
(
par
);
if
(
!
aCLProps
.
IsTangentDefined
())
Crv
=
eps
;
Crv
=
eps
;
else
Crv
=
aCLProps
.
Curvature
();
}
else
{
BRepAdaptor_Curve
brepc
(
c
);
BRepLProp_CLProps
prop
(
brepc
,
2
,
eps
);
prop
.
SetParameter
(
par
);
if
(
!
prop
.
IsTangentDefined
())
prop
.
SetParameter
(
par
);
if
(
!
prop
.
IsTangentDefined
())
Crv
=
eps
;
else
Crv
=
prop
.
Curvature
();
}
if
(
Crv
<=
eps
)
Crv
=
eps
;
if
(
Crv
<=
eps
)
Crv
=
eps
;
// std::list<GFace*> ff = faces();
// std::list<GFace *>::iterator it = ff.begin();
...
...
This diff is collapsed.
Click to expand it.
Geo/gmshEdge.cpp
+
2
−
2
View file @
cb7d16a9
// $Id: gmshEdge.cpp,v 1.3
8
2007-
09-26 20:51:58
geuzaine Exp $
// $Id: gmshEdge.cpp,v 1.3
9
2007-
10-08 13:13:23
geuzaine Exp $
//
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -124,7 +124,7 @@ int gmshEdge::minimumMeshSegments () const
return
(
int
)(
fabs
(
c
->
Circle
.
t1
-
c
->
Circle
.
t2
)
*
(
double
)
CTX
.
mesh
.
min_circ_points
/
Pi
)
-
1
;
else
return
GEdge
::
minimumMeshSegments
()
;
return
GEdge
::
minimumMeshSegments
();
}
int
gmshEdge
::
minimumDrawSegments
()
const
...
...
This diff is collapsed.
Click to expand it.
doc/texinfo/gmsh.texi
+
29
−
20
View file @
cb7d16a9
\input
texinfo.tex @c -*-texinfo-*-
@c
$
Id: gmsh.texi,v
1
.
23
5
2007
-
09
-
10
04
:
47
:
10
geuzaine Exp
$
@c
$
Id: gmsh.texi,v
1
.
23
6
2007
-
10
-
08
13
:
13
:
23
geuzaine Exp
$
@c
@c Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
@c
...
...
@@ -2876,9 +2876,10 @@ where
is the number of nodes in the mesh.
@item @var
{
node-number
}
is the number (index) of the @var
{
n
}
-th node in the mesh. Note that the
@w
{
@var
{
node-number
}
s
}
do not have to be given in a consecutive (or even an
ordered) way.
is the number (index) of the @var
{
n
}
-th node in the mesh;
@var
{
node-number
}
must be a postive (non-zero) integer. Note that the
@w
{
@var
{
node-number
}
s
}
do not necessarily have to form a dense nor an
ordered sequence.
@item @var
{
x-coord
}
@var
{
y-coord
}
@var
{
z-coord
}
are the floating point values giving the X, Y and Z coordinates of the
...
...
@@ -2888,9 +2889,10 @@ are the floating point values giving the X, Y and Z coordinates of the
is the number of elements in the mesh.
@item @var
{
elm-number
}
is the number (index) of the @var
{
n
}
-th element in the mesh. Note that the
@w
{
@var
{
elm-number
}
s
}
do not have to be given in a consecutive (or even an
ordered) way.
is the number (index) of the @var
{
n
}
-th element in the mesh;
@var
{
elm-number
}
must be a postive (non-zero) integer. Note that the
@w
{
@var
{
elm-number
}
s
}
do not necessarily have to form a dense nor an
ordered sequence.
@item @var
{
elm-type
}
defines the geometrical type of the @var
{
n
}
-th element:
...
...
@@ -2948,10 +2950,14 @@ with the edges).
See below for the ordering of the nodes.
@item @var
{
reg-phys
}
is the number of the physical entity to which the element belongs.
is the number of the physical entity to which the element belongs;
@var
{
reg-phys
}
must be a postive integer, or zero. If @var
{
reg-phys
}
is
equal to zero, the element is considered not to belong to any physical
entity.
@item @var
{
reg-elem
}
is the number of the elementary entity to which the element belongs.
is the number of the elementary entity to which the element belongs;
@var
{
reg-elem
}
must be a postive (non-zero) integer.
@item @var
{
number-of-nodes
}
is the number of nodes for the @var
{
n
}
-th element. This is redundant, but
...
...
@@ -3016,9 +3022,10 @@ file (currently only @var{data-size} = sizeof(double) is supported).
is the number of nodes in the mesh.
@item @var
{
node-number
}
is the number (index) of the @var
{
n
}
-th node in the mesh. Note that the
@w
{
@var
{
node-number
}
s
}
do not have to be given in a consecutive (or even an
ordered) way.
is the number (index) of the @var
{
n
}
-th node in the mesh;
@var
{
node-number
}
must be a postive (non-zero) integer. Note that the
@w
{
@var
{
node-number
}
s
}
do not necessarily have to form a dense nor an
ordered sequence.
@item @var
{
x-coord
}
@var
{
y-coord
}
@var
{
z-coord
}
are the floating point values giving the X, Y and Z coordinates of the
...
...
@@ -3028,9 +3035,10 @@ are the floating point values giving the X, Y and Z coordinates of the
is the number of elements in the mesh.
@item @var
{
elm-number
}
is the number (index) of the @var
{
n
}
-th element in the mesh. Note that the
@w
{
@var
{
elm-number
}
s
}
do not have to be given in a consecutive (or even an
ordered) way.
is the number (index) of the @var
{
n
}
-th element in the mesh;
@var
{
elm-number
}
must be a postive (non-zero) integer. Note that the
@w
{
@var
{
elm-number
}
s
}
do not necessarily have to form a dense nor an
ordered sequence.
@item @var
{
elm-type
}
defines the geometrical type of the @var
{
n
}
-th element:
...
...
@@ -3093,11 +3101,12 @@ generates meshes with two tags and reads files with an arbitrary number of
tags: see below.
@item @var
{
tag
}
is an integer tag associated with the @var
{
n
}
-th element. By default, the
first tag is the number of the physical entity to which the element belongs;
the second is the number of the elementary geometrical entity to which the
element belongs; the third is the number of a mesh partition to which the
element belongs.
is an integer tag associated with the @var
{
n
}
-th element. By default,
the first tag is the number of the physical entity to which the element
belongs; the second is the number of the elementary geometrical entity
to which the element belongs; the third is the number of a mesh
partition to which the element belongs. All tags must be postive
integers, or zero. A zero tag is equivalent to no tag.
@item @var
{
node-number-list
}
is the list of the node numbers of the @var
{
n
}
-th element. The ordering of
...
...
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