Skip to content
Snippets Groups Projects
Commit 66452951 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Merge branch 'issue/unused-warnings' into 'master'

Remove unsued XYZ warnings

See merge request !3
parents a82844f2 57246d77
No related branches found
No related tags found
1 merge request!3Remove unsued XYZ warnings
Pipeline #73510 passed
......@@ -35,7 +35,7 @@ void check(Geometry const& /*geo*/)
int main(int argc, char** argv)
{
using namespace Dune;
MPIHelper& helper = MPIHelper::instance(argc, argv);
MPIHelper::instance(argc, argv);
using Grid = YaspGrid<2,EquidistantCoordinates<ctype,2>>;
Grid grid({ctype(8.0),ctype(8.0)}, {32,32});
......
......@@ -34,7 +34,7 @@ void check(Geometry const& /*geo*/)
int main(int argc, char** argv)
{
MPIHelper& helper = MPIHelper::instance(argc, argv);
MPIHelper::instance(argc, argv);
YaspGrid<2> grid({8.0,8.0}, {32,32});
auto gridView = grid.leafGridView();
......
......@@ -16,8 +16,6 @@
#include <dune/geometry/quadraturerules.hh>
#include <dune/grid/yaspgrid.hh>
const int order = 3;
#if USE_FLOAT128
#include <dune/common/quadmath.hh>
using ctype = Dune::Float128;
......@@ -148,7 +146,7 @@ void check(Geometry const& geo)
int main(int argc, char** argv)
{
using namespace Dune;
MPIHelper& helper = MPIHelper::instance(argc, argv);
MPIHelper::instance(argc, argv);
using Grid = YaspGrid<2,EquidistantCoordinates<ctype,2>>;
Grid grid({ctype(8.0),ctype(8.0)}, {32,32});
......@@ -156,7 +154,6 @@ int main(int argc, char** argv)
using Element = typename Grid::template Codim<0>::Entity;
using LocalFunction = LocalAnalyticGridFunction<Element,Projection>;
using LocalGeometry = DefaultLocalGeometry<ctype,2,2>;
using Geometry = LocalFunctionGeometry<LocalFunction,LocalGeometry>;
FieldMatrix<ctype,2,2> I{{1,0},{0,1}};
......
......@@ -37,7 +37,7 @@ void check(Geometry const& /*geo*/)
int main(int argc, char** argv)
{
using namespace Dune;
MPIHelper& helper = MPIHelper::instance(argc, argv);
MPIHelper::instance(argc, argv);
using Grid = YaspGrid<2,EquidistantCoordinates<ctype,2>>;
Grid grid({ctype(8.0),ctype(8.0)}, {32,32});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment