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
37530a96
Commit
37530a96
authored
May 28, 2019
by
Timo Koch
Browse files
[tracer] Fix analytic derivative on Dirichlet boundaries
parent
10a77e9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/porousmediumflow/tracer/localresidual.hh
View file @
37530a96
...
...
@@ -289,7 +289,8 @@ public:
DUNE_THROW
(
Dune
::
NotImplemented
,
"other reference systems than mass and molar averaged are not implemented"
);
derivativeMatrices
[
scvf
.
insideScvIdx
()][
compIdx
][
compIdx
]
+=
(
advDerivII
+
diffDeriv
);
derivativeMatrices
[
scvf
.
outsideScvIdx
()][
compIdx
][
compIdx
]
+=
(
advDerivIJ
-
diffDeriv
);
if
(
!
scvf
.
boundary
())
derivativeMatrices
[
scvf
.
outsideScvIdx
()][
compIdx
][
compIdx
]
+=
(
advDerivIJ
-
diffDeriv
);
}
}
...
...
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