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
b2f9236d
Commit
b2f9236d
authored
12 years ago
by
Thomas Toulorge
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned up inappropriate comments about metric intersection
parent
b031c345
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Geo/STensor3.cpp
+1
-1
1 addition, 1 deletion
Geo/STensor3.cpp
Mesh/BackgroundMesh.cpp
+2
-3
2 additions, 3 deletions
Mesh/BackgroundMesh.cpp
with
3 additions
and
4 deletions
Geo/STensor3.cpp
+
1
−
1
View file @
b2f9236d
...
...
@@ -37,7 +37,7 @@ SMetric3 intersection (const SMetric3 &m1, const SMetric3 &m2)
double
l2
=
std
::
max
(
dot
(
v2
,
m1
,
v2
),
dot
(
v2
,
m2
,
v2
));
// Correction from the PhD thesis of Frederic Alauzet p.16
// If m2 = alpha*m1, then take the largest metric
(incoherent with definition intersection)
// If m2 = alpha*m1, then take the largest metric
static
const
double
eps
=
1.e-2
;
// Tolerance to detect triple eigenvalue (i.e. proportional metrics)
const
double
max_eig
=
std
::
max
(
S
(
0
),
std
::
max
(
S
(
1
),
S
(
2
)));
const
double
min_eig
=
std
::
min
(
S
(
0
),
std
::
min
(
S
(
1
),
S
(
2
)));
...
...
This diff is collapsed.
Click to expand it.
Mesh/BackgroundMesh.cpp
+
2
−
3
View file @
b2f9236d
...
...
@@ -400,8 +400,7 @@ double BGM_MeshSize(GEntity *ge, double U, double V,
}
// anisotropic version of the background field - for now, only works
// with bamg in 2D, work in progress
// anisotropic version of the background field
SMetric3
BGM_MeshMetric
(
GEntity
*
ge
,
double
U
,
double
V
,
double
X
,
double
Y
,
double
Z
)
...
...
@@ -445,7 +444,7 @@ SMetric3 BGM_MeshMetric(GEntity *ge,
}
bool
Extend1dMeshIn2dSurfaces
()
{
{
rm
return
CTX
::
instance
()
->
mesh
.
lcExtendFromBoundary
?
true
:
false
;
}
...
...
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