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
1dfcc56a
Commit
1dfcc56a
authored
17 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
oops
parent
5fa6ad93
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Mesh/qualityMeasures.cpp
+4
-2
4 additions, 2 deletions
Mesh/qualityMeasures.cpp
with
4 additions
and
2 deletions
Mesh/qualityMeasures.cpp
+
4
−
2
View file @
1dfcc56a
// $Id: qualityMeasures.cpp,v 1.1
0
2008-02-21 1
3:44:56
geuzaine Exp $
// $Id: qualityMeasures.cpp,v 1.1
1
2008-02-21 1
4:15:10
geuzaine Exp $
//
//
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
//
//
...
@@ -66,7 +66,9 @@ double qmTriangle(const double &xa, const double &ya, const double &za,
...
@@ -66,7 +66,9 @@ double qmTriangle(const double &xa, const double &ya, const double &za,
double
a
[
3
]
=
{
xc
-
xb
,
yc
-
yb
,
zc
-
zb
};
double
a
[
3
]
=
{
xc
-
xb
,
yc
-
yb
,
zc
-
zb
};
double
b
[
3
]
=
{
xa
-
xc
,
ya
-
yc
,
za
-
zc
};
double
b
[
3
]
=
{
xa
-
xc
,
ya
-
yc
,
za
-
zc
};
double
c
[
3
]
=
{
xb
-
xa
,
yb
-
ya
,
zb
-
za
};
double
c
[
3
]
=
{
xb
-
xa
,
yb
-
ya
,
zb
-
za
};
norme
(
a
);
norme
(
b
);
norme
(
c
);
double
pva
[
3
];
prodve
(
b
,
c
,
pva
);
const
double
sina
=
norm3
(
pva
);
double
pva
[
3
];
prodve
(
b
,
c
,
pva
);
const
double
sina
=
norm3
(
pva
);
double
pvb
[
3
];
prodve
(
c
,
a
,
pvb
);
const
double
sinb
=
norm3
(
pvb
);
double
pvb
[
3
];
prodve
(
c
,
a
,
pvb
);
const
double
sinb
=
norm3
(
pvb
);
double
pvc
[
3
];
prodve
(
a
,
b
,
pvc
);
const
double
sinc
=
norm3
(
pvc
);
double
pvc
[
3
];
prodve
(
a
,
b
,
pvc
);
const
double
sinc
=
norm3
(
pvc
);
...
...
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