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
0987a7a6
Commit
0987a7a6
authored
Apr 06, 2020
by
Dennis Gläser
Browse files
[mpfa-o][localassembler] fix zero transmissibility check
parent
06b46b6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/cellcentered/mpfa/omethod/localassembler.hh
View file @
0987a7a6
...
...
@@ -258,7 +258,7 @@ private:
if
(
otherLocalDofIdx
==
curLocalDofIdx
)
{
if
(
abs
(
wijk
[
faceIdx
][
0
][
localDir
])
<
wijZeroThresh
)
if
(
abs
(
wijk
[
faceIdx
][
0
][
localDir
])
<
=
wijZeroThresh
)
{
if
(
!
curIsDirichlet
)
{
...
...
@@ -322,7 +322,7 @@ private:
// check for zero transmissibilities (skip if inside has been zero already)
if
(
otherLocalDofIdx
==
curLocalDofIdx
&&
!
insideZeroWij
)
if
(
abs
(
wijk
[
faceIdx
][
idxOnScvf
][
localDir
])
<
wijZeroThresh
)
if
(
abs
(
wijk
[
faceIdx
][
idxOnScvf
][
localDir
])
<
=
wijZeroThresh
)
faceMarkers
.
emplace_back
(
std
::
make_pair
(
curLocalDofIdx
,
faceIdx
)
);
if
(
!
otherLocalScvf
.
isDirichlet
())
...
...
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