Warning with Dune2.9 and Dune master
When building dumux tests that call YaspGrid, I have the warnings below. Does anyone know if they are related to dumux or completely within dune ?
In file included
from /dumux/dune-grid/dune/grid/yaspgrid/torus.hh:23
from /dumux/dune-grid/dune/grid/yaspgrid.hh:69
from /dumux/dumux/test/porousmediumflow/1p/isothermal/properties.hh:29
from /dumux/dumux/test/porousmediumflow/1p/isothermal/main.cc:35:
/dumux/dune-grid/dune/grid/yaspgrid/partitioning.hh: In instantiation of ‘Dune::YLoadBalance<d>::~YLoadBalance() [with int d = 2]’:
/dumux/dune-grid/dune/grid/yaspgrid/partitioning.hh:195:37: required from ‘Dune::YLoadBalanceForward<d>::~YLoadBalanceForward() [with int d = 2]’
/dumux/dune-grid/dune/grid/yaspgrid/partitioning.hh:232:9: required from ‘void Dumux::GridManager<Dune::YaspGrid<dim, Coordinates> >::init(const GlobalPosition&, const std::array<int, dim>&, const string&, int, std::bitset<dim>) [with Coordinates = Dune::EquidistantCoordinates<double, 2>; int dim = 2; Dumux::GridManager<Dune::YaspGrid<dim, Coordinates> >::GlobalPosition = Dune::FieldVector<double, 2>; std::string = std::__cxx11::basic_string<char>]’
/dumux/dumux/dumux/io/grid/gridmanager_yasp.hh:100:21: required from ‘void Dumux::GridManager<Dune::YaspGrid<dim, Coordinates> >::init(const string&) [with Coordinates = Dune::EquidistantCoordinates<double, 2>; int dim = 2; std::string = std::__cxx11::basic_string<char>]’
/dumux/dumux/test/porousmediumflow/1p/isothermal/main.cc:74:21: required from here
/dumux/dune-grid/dune/grid/yaspgrid/partitioning.hh:180:30: warning: ‘Dune::YLoadBalance<d>::~YLoadBalance() [with int d = 2]’ is deprecated: use the new interface of Yasp::Partitioning [-Wdeprecated-declarations]
180 | virtual ~YLoadBalance() {}
| ^
/dumux/dune-grid/dune/grid/yaspgrid/partitioning.hh:180:13: note: declared here
180 | virtual ~YLoadBalance() {}
| ^