Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
dune-vtk
Commits
c86f10e3
Commit
c86f10e3
authored
Sep 06, 2020
by
Praetorius, Simon
Browse files
remove unused variable warning
parent
5bc33750
Changes
1
Hide whitespace changes
Inline
Side-by-side
dune/vtk/gridcreators/continuousgridcreator.hh
View file @
c86f10e3
...
...
@@ -47,7 +47,7 @@ namespace Dune
for
(
std
::
size_t
i
=
0
;
i
<
types
.
size
();
++
i
)
{
auto
type
=
Vtk
::
to_geometry
(
types
[
i
]);
Vtk
::
CellType
cellType
{
type
};
auto
refElem
=
referenceElement
<
double
,
Grid
::
dimension
>
(
type
);
[[
maybe_unused
]]
auto
refElem
=
referenceElement
<
double
,
Grid
::
dimension
>
(
type
);
int
nNodes
=
offsets
[
i
]
-
(
i
==
0
?
0
:
offsets
[
i
-
1
]);
assert
(
nNodes
==
refElem
.
size
(
Grid
::
dimension
));
...
...
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