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
6bc52cb3
Commit
6bc52cb3
authored
Apr 02, 2021
by
Praetorius, Simon
Browse files
Remove unused variable warnings and integer conversion warnings
parent
89c6ad62
Changes
3
Hide whitespace changes
Inline
Side-by-side
dune/vtk/utility/lagrangepoints.impl.hh
View file @
6bc52cb3
...
...
@@ -76,10 +76,10 @@ void LagrangePointSetBuilder<K,1>::operator() (GeometryType gt, int order, Point
if
(
order
>
1
)
{
// Inner nodes
Vec
p
{
0.0
};
for
(
unsigned
int
i
=
0
;
i
<
order
-
1
;
i
++
)
for
(
int
i
=
0
;
i
<
order
-
1
;
i
++
)
{
p
[
0
]
+=
1.0
/
order
;
points
.
push_back
(
LP
{
p
,
Key
{
0
,
dim
-
1
,
i
}});
points
.
push_back
(
LP
{
p
,
Key
{
0
,
dim
-
1
,
(
unsigned
int
)(
i
)
}});
}
}
}
...
...
dune/vtk/vtktimeserieswriter.impl.hh
View file @
6bc52cb3
...
...
@@ -26,7 +26,7 @@ template <class W>
VtkTimeseriesWriter
<
W
>::~
VtkTimeseriesWriter
()
{
if
(
initialized_
)
{
int
ec
=
std
::
remove
(
filenameMesh_
.
c_str
());
[[
maybe_unused
]]
int
ec
=
std
::
remove
(
filenameMesh_
.
c_str
());
assert
(
ec
==
0
);
for
(
auto
const
&
timestep
:
timesteps_
)
{
ec
=
std
::
remove
(
timestep
.
second
.
c_str
());
...
...
src/lagrangepoints.cc
View file @
6bc52cb3
...
...
@@ -39,9 +39,9 @@ void write (std::string prefix, index_constant<dim>)
using
InterpolationF
=
LagrangeInterpolationFactory
<
Vtk
::
LagrangePointSet
,
dim
,
double
>
;
GenericLocalFiniteElement
<
BasisF
,
CoefficientF
,
InterpolationF
>
localFE
(
GeometryTypes
::
cube
(
dim
),
order
);
auto
const
&
localBasis
=
localFE
.
localBasis
();
auto
const
&
localCoefficints
=
localFE
.
localCoefficients
();
auto
const
&
localInterpolation
=
localFE
.
localInterpolation
();
[[
maybe_unused
]]
auto
const
&
localBasis
=
localFE
.
localBasis
();
[[
maybe_unused
]]
auto
const
&
localCoefficints
=
localFE
.
localCoefficients
();
[[
maybe_unused
]]
auto
const
&
localInterpolation
=
localFE
.
localInterpolation
();
}
{
...
...
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