[Dune] Creating a Grid

Alex Evanovic alex.evanovic at googlemail.com
Mon Dec 27 08:49:36 CET 2010


Also, when I try to create a structured UGGrid, I am able to create it, but
when I try to visualize it with the lines,

VTKWriter<GridType::LeafGridView> vtkWriter(grid.leafView());
vtkWriter.write("my_filename");

I get the following error.

*error: ‘class std::shared_ptr<Dune::UGGrid<3> >’ has no member named
‘leafView’*

How can I resolve the above error? Also, I need help to create an *
unstructured* UGGrid, that is, without the StructuredGridFactory class. Can
someone please help me out with this?

Regards,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20101227/2767310c/attachment.htm>


More information about the Dune mailing list