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
0a8e782b
Commit
0a8e782b
authored
17 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
*** empty log message ***
parent
4c9c6aa2
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Mesh/BackgroundMesh.cpp
+1
-7
1 addition, 7 deletions
Mesh/BackgroundMesh.cpp
doc/TODO
+1
-6
1 addition, 6 deletions
doc/TODO
with
2 additions
and
13 deletions
Mesh/BackgroundMesh.cpp
+
1
−
7
View file @
0a8e782b
// $Id: BackgroundMesh.cpp,v 1.3
4
2008-02-
0
5
14:40:30 remacl
e Exp $
// $Id: BackgroundMesh.cpp,v 1.3
5
2008-02-
1
5
20:02:14 geuzain
e Exp $
//
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -79,7 +79,6 @@ static double max_surf_curvature(const GEdge *ge, double u)
SPoint2
par
=
ge
->
reparamOnFace
((
*
it
),
u
,
1
);
double
cc
=
(
*
it
)
->
curvature
(
par
);
max_curvature
=
std
::
max
(
cc
,
max_curvature
);
// if (ge->tag() == 66)printf("%12.5E %12.5E %d %12.5E %12.5E\n",par.x(),par.y(),(*it)->tag(),cc,max_curvature);
++
it
;
}
return
max_curvature
;
...
...
@@ -197,14 +196,9 @@ double BGM_MeshSize(GEntity *ge, double U, double V, double X, double Y, double
if
(
CTX
.
mesh
.
lc_from_curvature
&&
ge
->
dim
()
<=
2
)
lc
=
std
::
min
(
lc
,
LC_MVertex_CURV
(
ge
,
U
,
V
));
lc
=
std
::
max
(
lc
,
CTX
.
mesh
.
lc_min
*
CTX
.
mesh
.
lc_factor
);
lc
=
std
::
min
(
lc
,
CTX
.
mesh
.
lc_max
*
CTX
.
mesh
.
lc_factor
);
// if (ge->tag() == 200 || ge->tag() == 202|| ge->tag() == 162|| ge->tag() == 163|| ge->tag() == 161|| ge->tag() == 141){
// printf("%d %d %12.5E %12.5E %12.5E\n",ge->dim(),ge->tag(),LC_MVertex_CURV(ge, U, V),LC_MVertex_PNTS(ge, U, V),lc);
// }
if
(
lc
<=
0.
){
Msg
(
GERROR
,
"Incorrect char. length lc = %g: using default instead"
,
lc
);
return
l3
*
CTX
.
mesh
.
lc_factor
;
...
...
This diff is collapsed.
Click to expand it.
doc/TODO
+
1
−
6
View file @
0a8e782b
$Id: TODO,v 1.6
6
200
7-11-12 10:48:17 colignon
Exp $
$Id: TODO,v 1.6
7
200
8-02-15 20:02:24 geuzaine
Exp $
********************************************************************
...
...
@@ -62,11 +62,6 @@ add support for Patran mesh files
********************************************************************
reinterface Triangle for plane surfaces and/or for the generation of
the initial mesh
********************************************************************
Bug: need to better understand how Netgen deals with characteristic
lengths: a larger geometry (with appropriately scaled lcs) leads to a
larger mesh
...
...
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