[Dune] two LeafView deprecation warnings in dune-grid 2.3

Matteo Semplice matteo.semplice at unito.it
Tue May 20 14:23:01 CEST 2014


Dear Dune,
I have upgraded to 2.3 and I am recompiling my modules...

I get a deprecation warning originating from

/home/matteo/src/dune/dune-grid/dune/grid/common/scsgmapper.hh: In 
constructor ‘Dune::LeafSingleCodimSingleGeomTypeMapper<G, 
c>::LeafSingleCodimSingleGeomTypeMapper(const G&) [with G = 
Dune::OneDGrid, int c = 0]’:
../dune/fv/util/indirectmapper.hh:112: instantiated from 
‘IndirectMapper<G>::IndirectMapper(G&) [with G = Dune::OneDGrid]’
dune_fv.cc:209: instantiated from here
/home/matteo/src/dune/dune-grid/dune/grid/common/scsgmapper.hh:187: 
warning: ‘typename 
GridFamily::Traits::Partition<(Dune::PartitionIteratorType)4u>::LeafGridView 
Dune::GridDefaultImplementation<<anonymous>, <anonymous>, 
<template-parameter-1-3>, <template-parameter-1-4> >::leafView() const 
[with int dim = 1, int dimworld = 1, ct = double, GridFamily = 
Dune::OneDGridFamily<1, 1>]’ is deprecated (declared at 
/home/matteo/src/dune/dune-grid/dune/grid/common/grid.hh:1055)

It should be a simple fix: LeafView ==> LeafGridView

And a similar one arises from

/home/matteo/src/dune/dune-grid/dune/grid/common/sizecache.hh:242: 
warning: ‘typename 
GridFamily::Traits::Partition<(Dune::PartitionIteratorType)4u>::LeafGridView 
Dune::GridDefaultImplementation<<anonymous>, <anonymous>, 
<template-parameter-1-3>, <template-parameter-1-4> >::leafView() const 
[with int dim = 3, int dimworld = 3, ct = double, GridFamily = 
Dune::ALU3dGridFamily<(Dune::ALU3dGridElementType)4u, Dune::No_Comm>]’ 
is deprecated (declared at 
/home/matteo/src/dune/dune-grid/dune/grid/common/grid.hh:1055)

Best,
Matteo




More information about the Dune mailing list