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
2c926ca3
Commit
2c926ca3
authored
Feb 09, 2017
by
Dennis Gläser
Committed by
Timo Koch
Feb 17, 2017
Browse files
[mpfa-o][iavol] pass element to interiorNeumannTerm() method
parent
04cb6487
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/cellcentered/mpfa/omethod/interactionvolume.hh
View file @
2c926ca3
...
...
@@ -286,6 +286,7 @@ public:
// Overload this function to realize interior membranes etc...
template
<
typename
GetTensorFunction
>
Scalar
interiorNeumannTerm
(
const
GetTensorFunction
&
getTensor
,
const
Element
&
element
,
const
LocalScvfType
&
localScvf
,
const
InteriorBoundaryData
&
data
)
const
{
return
0.0
;
}
...
...
@@ -528,7 +529,7 @@ private:
if
(
curIdxInFluxFaces
==
idxInFluxFaces
)
{
const
auto
&
data
=
interiorBoundaryData_
[
this
->
findIndexInVector
(
interiorBoundaryScvfIndexSet_
(),
curLocalScvfIdx
)];
A
[
idxInFluxFaces
][
curIdxInFluxFaces
]
+=
asImp_
().
interiorNeumannTerm
(
getTensor
,
curLocalScvf
,
data
);
A
[
idxInFluxFaces
][
curIdxInFluxFaces
]
+=
asImp_
().
interiorNeumannTerm
(
getTensor
,
element
,
curLocalScvf
,
data
);
}
}
// this means we are on an interior face
...
...
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