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
16160c0c
Commit
16160c0c
authored
Jul 29, 2016
by
Timo Koch
Browse files
[problem] Pass more paramters to neumann method that it is possibly soldependent
parent
b1dfd660
Changes
3
Hide whitespace changes
Inline
Side-by-side
dumux/implicit/box/localresidual.hh
View file @
16160c0c
...
...
@@ -188,7 +188,7 @@ protected:
// temporary vector to store the neumann boundary fluxes
PrimaryVariables
flux
(
0
);
auto
neumannFluxes
=
this
->
problem
().
neumann
(
element
,
scvf
);
auto
neumannFluxes
=
this
->
problem
().
neumann
(
element
,
fvGeometry
,
elemVolVars
,
scvf
);
// multiply neumann fluxes with the area and the extrusion factor
neumannFluxes
*=
scvf
.
area
()
*
elemVolVars
[
insideScv
].
extrusionFactor
();
...
...
dumux/implicit/cellcentered/localresidual.hh
View file @
16160c0c
...
...
@@ -176,7 +176,7 @@ protected:
// temporary vector to store the neumann boundary fluxes
PrimaryVariables
flux
(
0
);
auto
neumannFluxes
=
this
->
problem
().
neumann
(
element
,
scvf
);
auto
neumannFluxes
=
this
->
problem
().
neumann
(
element
,
fvGeometry
,
elemVolVars
,
scvf
);
// multiply neumann fluxes with the area and the extrusion factor
auto
&&
scv
=
fvGeometry
.
scv
(
scvf
.
insideScvIdx
());
...
...
dumux/implicit/problem.hh
View file @
16160c0c
...
...
@@ -273,7 +273,10 @@ public:
* in normal direction of each phase. Negative values mean influx.
* E.g. for the mass balance that would the mass flux in \f$ [ kg / (m^2 \cdot s)] \f$.
*/
PrimaryVariables
neumann
(
const
Element
&
element
,
const
SubControlVolumeFace
&
scvFace
)
const
PrimaryVariables
neumann
(
const
Element
&
element
,
const
FVElementGeometry
&
fvGeometry
,
const
ElementVolumeVariables
&
elemVolvars
,
const
SubControlVolumeFace
&
scvFace
)
const
{
// forward it to the interface with only the global position
return
asImp_
().
neumannAtPos
(
scvFace
.
center
());
...
...
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