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

Agnese, Marco m.agnese13 at imperial.ac.uk
Fri Mar 13 13:51:58 CET 2015


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.



More information about the dune-fem mailing list