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
0273ac12
Commit
0273ac12
authored
Jul 26, 2016
by
Timo Koch
Browse files
[box] Add outsideScvIdx==insideScvIdx to scvfs
parent
c709af2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/box/fvelementgeometry.hh
View file @
0273ac12
...
...
@@ -325,9 +325,8 @@ private:
for
(
unsigned
int
isScvfLocalIdx
=
0
;
isScvfLocalIdx
<
isGeometry
.
corners
();
++
isScvfLocalIdx
)
{
// find the scv this scvf is connected to
std
::
vector
<
IndexType
>
localScvIndices
=
{
static_cast
<
IndexType
>
(
referenceElement
.
subEntity
(
intersection
.
indexInInside
(),
1
,
isScvfLocalIdx
,
dim
))};
IndexType
insideScvIdx
=
static_cast
<
IndexType
>
(
referenceElement
.
subEntity
(
intersection
.
indexInInside
(),
1
,
isScvfLocalIdx
,
dim
));
std
::
vector
<
IndexType
>
localScvIndices
=
{
insideScvIdx
,
insideScvIdx
};
scvfs_
.
emplace_back
(
geometryHelper
,
intersection
,
...
...
dumux/discretization/box/globalfvgeometry.hh
View file @
0273ac12
...
...
@@ -169,9 +169,8 @@ public:
for
(
unsigned
int
isScvfLocalIdx
=
0
;
isScvfLocalIdx
<
isGeometry
.
corners
();
++
isScvfLocalIdx
)
{
// find the scvs this scvf is belonging to
std
::
vector
<
IndexType
>
localScvIndices
=
{
static_cast
<
IndexType
>
(
referenceElement
.
subEntity
(
intersection
.
indexInInside
(),
1
,
isScvfLocalIdx
,
dim
))};
IndexType
insideScvIdx
=
static_cast
<
IndexType
>
(
referenceElement
.
subEntity
(
intersection
.
indexInInside
(),
1
,
isScvfLocalIdx
,
dim
));
std
::
vector
<
IndexType
>
localScvIndices
=
{
insideScvIdx
,
insideScvIdx
};
scvfs_
[
eIdx
].
emplace_back
(
geometryHelper
,
intersection
,
...
...
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