[dune-fem] Dune::Fem::DataOutput broken

Tobias Malkmus tomalk at mathematik.uni-freiburg.de
Fri Mar 13 16:39:32 CET 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Marco

This is ones more a temporary reference problem.
In file dune-grid/dune/grid/io/file/vtk/subsamplingvtlwriter.hh line
145 we have

f.bind(*begin);

where begin is an entity iterator and bind takes a const reference to
an entity.......

This is a dune core module bug. Would you be so kind and write a bug
report in the official fly spray.

Let's see how many temporary referencens we will find in the future....

Best Tobias

On 03/13/2015 01:51 PM, Agnese, Marco wrote:
> Hi everybody, after the last update of the dune trunk modules the
> DataOutput is broken and returns a segmentation fault.
> 
> I am using a GeometryGrid over an Alberta grid or over an Alugrid.
>  I think that the last commit (or the last 2) regarding VTK in
> dune-grid is the cause.
> 
> Maybe it is related to this warning:
> 
> /usr/local_machine/dune-trunk/dune-fem/dune/fem/io/file/vtkio.hh:289:11:
> warning: ‘void
> Dune::VTKWriter<GridView>::addVertexData(Dune::VTKWriter<GridView>::VTKFunction*)
> [with GridView =
> Dune::GridView<Dune::GeoGrid::GridViewTraits<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
> Dune::ALUGrid<2, 2, (Dune::ALUGridElementType)0u,
> (Dune::ALUGridRefinementType)1u>, (Dune::PartitionIteratorType)4u>
> >, Dune::Fem::VertexFunction<Dune::ALUGrid<2, 2,
> (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u> >,
> std::allocator<void>, (Dune::PartitionIteratorType)4u> >;
> Dune::VTKWriter<GridView>::VTKFunction =
> Dune::VTKFunction<Dune::GridView<Dune::GeoGrid::GridViewTraits<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
> Dune::ALUGrid<2, 2, (Dune::ALUGridElementType)0u,
> (Dune::ALUGridRefinementType)1u>, (Dune::PartitionIteratorType)4u>
> >, Dune::Fem::VertexFunction<Dune::ALUGrid<2, 2,
> (Dune::ALUGridElementType)0u, (Dune::ALUGridRefinementType)1u> >,
> std::allocator<void>, (Dune::PartitionIteratorType)4u> > >]’ is
> deprecated (declared at
> /usr/local_machine/dune-trunk/dune-grid/dune/grid/io/file/vtk/vtkwriter.hh:590):
> "Don't pass raw pointers, use the version with shared_ptr"
> [-Wdeprecated-declarations] vtkWriter_->addVertexData( new
> VTKFunctionWrapper< DF >( df, dataName, i, false ) );
> 
> May somebody take a look please?
> 
> Thank you very much, regards, Marco. 
> _______________________________________________ dune-fem mailing
> list dune-fem at dune-project.org 
> http://lists.dune-project.org/mailman/listinfo/dune-fem
> 
> 


- -- 
Tobias Malkmus                 <tomalk at mathematik.uni-freiburg.de>

Mathematisches Institut               Tel: +49 761 203 5627
Abt. für Angewandte Mathematik        Universität Freiburg
Hermann-Herder-Str. 10
79104 Freiburg

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJVAwS0AAoJEBMY7DHvcWNg7P8H/2+tJsBDiFQ+HSxew4ontKSi
NNjjiPcdbkGFaWbDyDpQEhAaqWuY1rjQv/X5ZYuSO40+QkNDwgnxyCBGYaVDsWux
7hLXhKrUXkl+bQMPyldU2bGA7mHRUexmLr4oyMo9BPagJTAR6aREQvQjF9zq7s1a
BgKdouYAKgrXpl5G3qUa3XHQYVBxNMQOsP8JBLKlGaAxQtfGYU12aov5kvhpnrEm
nfSIo3q8gZOQ34E6+4ypCTHT4026RMHVwH6T8tZkRjdx5cWOzQmAAWu6Ofh/aJH2
mG1YzsD3B8RdtuncInMJVGJBYG8gu9Rg0/bK1ZnRXcrsJchZmLhlTFOh3wJ4ARY=
=+Wsv
-----END PGP SIGNATURE-----




More information about the dune-fem mailing list