Commit 561ed6e6 authored by Dennis Gläser's avatar Dennis Gläser Committed by Kilian Weishaupt
Browse files

[md][facet][boxlocalres] use new neumann interface

parent 3a773bfd
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <dune/geometry/type.hh> #include <dune/geometry/type.hh>
#include <dumux/common/deprecated.hh>
#include <dumux/common/properties.hh> #include <dumux/common/properties.hh>
#include <dumux/assembly/fvlocalresidual.hh> #include <dumux/assembly/fvlocalresidual.hh>
...@@ -109,7 +110,7 @@ public: ...@@ -109,7 +110,7 @@ public:
// Neumann and Robin ("solution dependent Neumann") boundary conditions // Neumann and Robin ("solution dependent Neumann") boundary conditions
if (bcTypes.hasNeumann() && !bcTypes.hasDirichlet()) if (bcTypes.hasNeumann() && !bcTypes.hasDirichlet())
{ {
auto neumannFluxes = problem.neumann(element, fvGeometry, elemVolVars, scvf); auto neumannFluxes = Deprecated::neumann(problem, element, fvGeometry, elemVolVars, elemFluxVarsCache, scvf);
// multiply neumann fluxes with the area and the extrusion factor // multiply neumann fluxes with the area and the extrusion factor
neumannFluxes *= scvf.area()*elemVolVars[scv].extrusionFactor(); neumannFluxes *= scvf.area()*elemVolVars[scv].extrusionFactor();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment