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
d41f29b5
Commit
d41f29b5
authored
Oct 21, 2021
by
Kilian Weishaupt
Browse files
[staggered][fvGeometry] Remove unused function and data
parent
af2c99f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/facecentered/staggered/fvgridgeometry.hh
View file @
d41f29b5
...
...
@@ -245,9 +245,6 @@ public:
const
IntersectionMapper
&
intersectionMapper
()
const
{
return
intersectionMapper_
;
}
SmallLocalIndexType
firstLocalScvfIdxOfScv
(
const
GridIndexType
eIdx
,
const
SmallLocalIndexType
localScvIdx
)
const
{
return
scvfOfScvInfo_
[
eIdx
][
localScvIdx
];
}
//! If a d.o.f. is on a periodic boundary
bool
dofOnPeriodicBoundary
(
GridIndexType
dofIdx
)
const
{
return
periodicFaceMap_
.
count
(
dofIdx
);
}
...
...
@@ -284,7 +281,6 @@ private:
scvIndicesOfElement_
.
resize
(
numElements
);
scvfIndicesOfElement_
.
resize
(
numElements
);
hasBoundaryScvf_
.
resize
(
numElements
,
false
);
scvfOfScvInfo_
.
resize
(
numElements
);
// on frontal + maybe boundary per face and 2*(dim-1) laterals per frontal
lateralOrthogonalScvf_
.
resize
(
numElements
*
(
2
*
dim
*
(
2
+
2
*
(
dim
-
1
))));
...
...
@@ -385,7 +381,6 @@ private:
const
auto
eIdx
=
this
->
elementMapper
().
index
(
element
);
const
auto
&
globalScvIndices
=
scvIndicesOfElement_
[
eIdx
];
const
auto
&
globalScvfIndices
=
scvfIndicesOfElement_
[
eIdx
];
scvfOfScvInfo_
[
eIdx
].
reserve
(
maxNumScvfsPerScv
);
SmallLocalIndexType
localScvIdx
=
0
;
// also corresponds to local element face index (one scv per face)
SmallLocalIndexType
localScvfIdx
=
0
;
...
...
@@ -396,9 +391,6 @@ private:
const
auto
&
intersectionGeometry
=
intersection
.
geometry
();
const
auto
&
elementGeometry
=
element
.
geometry
();
// store the local index of the first scvf corresponding to the scv on the current intersection
scvfOfScvInfo_
[
eIdx
].
push_back
(
localScvfIdx
);
// store neighbor Element Index for higher order dofs
auto
neighborElementIndex
=
-
1
;
if
(
intersection
.
neighbor
())
...
...
@@ -566,7 +558,6 @@ private:
GridIndexType
numBoundaryScvf_
;
GridIndexType
outSideBoundaryVolVarIdx_
;
std
::
vector
<
bool
>
hasBoundaryScvf_
;
std
::
vector
<
std
::
vector
<
SmallLocalIndexType
>>
scvfOfScvInfo_
;
std
::
vector
<
GridIndexType
>
lateralOrthogonalScvf_
;
std
::
vector
<
std
::
array
<
GridIndexType
,
numScvsPerElement
>>
scvIndicesOfElement_
;
...
...
Write
Preview
Markdown
is supported
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