Skip to content
GitLab
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
83337960
Commit
83337960
authored
May 31, 2019
by
Dennis Gläser
Committed by
Kilian Weishaupt
Aug 29, 2019
Browse files
[veloutput] use new neumann interface
parent
561ed6e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/porousmediumflow/velocityoutput.hh
View file @
83337960
...
...
@@ -29,6 +29,7 @@
#include
<dune/geometry/referenceelements.hh>
#include
<dumux/common/parameters.hh>
#include
<dumux/common/deprecated.hh>
#include
<dumux/io/velocityoutput.hh>
#include
<dumux/discretization/method.hh>
#include
<dumux/discretization/elementsolution.hh>
...
...
@@ -310,7 +311,7 @@ public:
if
(
bcTypes
.
hasNeumann
())
{
// check if we have Neumann no flow, we can just use 0
const
auto
neumannFlux
=
problem_
.
neumann
(
element
,
fvGeometry
,
elemVolVars
,
scvf
);
const
auto
neumannFlux
=
Deprecated
::
neumann
(
problem_
,
element
,
fvGeometry
,
elemVolVars
,
elemFluxVarsCache
,
scvf
);
using
NumEqVector
=
std
::
decay_t
<
decltype
(
neumannFlux
)
>
;
if
(
Dune
::
FloatCmp
::
eq
<
NumEqVector
,
Dune
::
FloatCmp
::
CmpStyle
::
absolute
>
(
neumannFlux
,
NumEqVector
(
0.0
),
1e-30
))
scvfFluxes
[
scvfIndexInInside
[
localScvfIdx
]]
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment