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
d08d30fc
Commit
d08d30fc
authored
Mar 07, 2019
by
Dennis Gläser
Committed by
Timo Koch
Mar 19, 2019
Browse files
[geometryisection] fix node order for tetrahedra
parent
c1b4a68e
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/common/geometry/geometryintersection.hh
View file @
d08d30fc
...
...
@@ -115,7 +115,7 @@ public:
{
3
,
2
,
7
,
6
},
{
1
,
0
,
3
,
2
},
{
4
,
5
,
6
,
7
}};
break
;
case
4
:
// tetrahedron
facets
=
{{
1
,
2
,
0
},
{
0
,
1
,
3
},
{
0
,
3
,
2
},
{
1
,
2
,
3
}};
facets
=
{{
1
,
0
,
2
},
{
0
,
1
,
3
},
{
0
,
3
,
2
},
{
1
,
2
,
3
}};
break
;
default:
DUNE_THROW
(
Dune
::
NotImplemented
,
"Collision of segment and geometry of type "
...
...
@@ -166,7 +166,6 @@ public:
// use unscaled epsilon since t is in local coordinates
if
(
tfirst
>
tlast
-
eps_
)
return
false
;
}
}
// If we made it until here an intersection exists. We also export
...
...
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