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
39af220a
Commit
39af220a
authored
Oct 13, 2016
by
Dennis Gläser
Committed by
Timo Koch
Nov 23, 2016
Browse files
[mpfa][iavol] use typedef for local index pair
parent
560cbc0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/cellcentered/mpfa/omethod/interactionvolume.hh
View file @
39af220a
...
...
@@ -277,7 +277,7 @@ public:
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Could not find the local scv face in the interaction volume for the given scvf with index: "
<<
scvf
.
index
());
}
DynamicVector
getTransmissibilities
(
const
std
::
pair
<
LocalIndexType
,
bool
>
&
localIndexPair
)
const
DynamicVector
getTransmissibilities
(
const
LocalIndexPair
&
localIndexPair
)
const
{
auto
tij
=
T_
[
localIndexPair
.
first
];
...
...
@@ -286,7 +286,7 @@ public:
return
tij
;
}
Scalar
getNeumannFlux
(
const
std
::
pair
<
LocalIndexType
,
bool
>
&
localIndexPair
)
const
Scalar
getNeumannFlux
(
const
LocalIndexPair
&
localIndexPair
)
const
{
if
(
fluxScvfIndexSet_
().
size
()
==
0
)
return
0.0
;
...
...
dumux/discretization/cellcentered/mpfa/omethodfps/interactionvolume.hh
View file @
39af220a
...
...
@@ -102,6 +102,7 @@ class CCMpfaInteractionVolumeImplementation<TypeTag, MpfaMethods::oMethodFps> :
public:
using
typename
ParentType
::
LocalIndexType
;
using
typename
ParentType
::
LocalIndexPair
;
using
typename
ParentType
::
Seed
;
CCMpfaInteractionVolumeImplementation
(
const
Seed
&
seed
,
...
...
@@ -142,7 +143,7 @@ public:
this
->
T_
+=
mc
.
BF
;
}
Scalar
getNeumannFlux
(
const
std
::
pair
<
LocalIndexType
,
bool
>
&
localIndexPair
)
const
Scalar
getNeumannFlux
(
const
LocalIndexPair
&
localIndexPair
)
const
{
return
0.0
;
}
private:
...
...
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