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
5265a4de
Commit
5265a4de
authored
Jul 22, 2021
by
Hanchuan Wu
Browse files
[cleanup] Remove decpreated warnings from dumux-customised mapper.update
parent
65300260
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/staggered/fvgridgeometry.hh
View file @
5265a4de
...
...
@@ -24,6 +24,7 @@
#ifndef DUMUX_DISCRETIZATION_STAGGERED_FV_GRID_GEOMETRY
#define DUMUX_DISCRETIZATION_STAGGERED_FV_GRID_GEOMETRY
#include <dumux/common/deprecated.hh>
#include <dumux/common/indextraits.hh>
#include <dumux/discretization/basegridgeometry.hh>
#include <dumux/discretization/checkoverlapsize.hh>
...
...
@@ -282,8 +283,10 @@ public:
scvs_
.
clear
();
scvfs_
.
clear
();
scvfIndicesOfScv_
.
clear
();
intersectionMapper_
.
update
();
if
constexpr
(
Deprecated
::
hasUpdateGridView
<
IntersectionMapper
,
GridView
>
())
intersectionMapper_
.
update
(
this
->
gridView
());
else
Deprecated
::
update
(
intersectionMapper_
);
// determine size of containers
std
::
size_t
numScvs
=
this
->
gridView
().
size
(
0
);
std
::
size_t
numScvf
=
0
;
...
...
@@ -510,7 +513,10 @@ public:
{
// clear containers (necessary after grid refinement)
scvfIndicesOfScv_
.
clear
();
intersectionMapper_
.
update
();
if
constexpr
(
Deprecated
::
hasUpdateGridView
<
IntersectionMapper
,
GridView
>
())
intersectionMapper_
.
update
(
this
->
gridView
());
else
Deprecated
::
update
(
intersectionMapper_
);
neighborVolVarIndices_
.
clear
();
numScvs_
=
numCellCenterDofs
();
...
...
Hanchuan Wu
@hanchuan
mentioned in commit
12faa767
·
Jul 23, 2021
mentioned in commit
12faa767
mentioned in commit 12faa767f2a311e10fccd1bf02083eec8b0ee62f
Toggle commit list
Hanchuan Wu
@hanchuan
mentioned in merge request
!2727 (merged)
·
Jul 23, 2021
mentioned in merge request
!2727 (merged)
mentioned in merge request !2727
Toggle commit list
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