Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
6a293c5f
Commit
6a293c5f
authored
Nov 02, 2021
by
Dennis Gläser
Committed by
Timo Koch
Nov 02, 2021
Browse files
[geom][bugfix][2d-2d-in-3d] correct epsilon scaling
parent
ab328b05
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/geometry/geometryintersection.hh
View file @
6a293c5f
...
...
@@ -882,9 +882,10 @@ public:
const
auto
a1Norm2
=
a1
.
two_norm2
();
const
auto
b1Norm2
=
b1
.
two_norm2
();
const
auto
maxNorm2
=
max
(
a1Norm2
,
b1Norm2
);
const
auto
maxNorm
=
sqrt
(
maxNorm2
);
const
auto
eps2
=
maxNorm2
*
eps_
;
const
auto
eps
=
sqrt
(
maxNorm
2
)
*
eps_
;
const
auto
eps3
=
eps
*
eps2
;
const
auto
eps
=
maxNorm
*
eps_
;
const
auto
eps3
=
maxNorm
*
eps2
;
// early exit if polygons are not parallel
using
std
::
abs
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment