[Dune] Creating a Grid
Andreas Dedner
dedner at mathematik.uni-freiburg.de
Mon Dec 27 11:32:39 CET 2010
Perhaps if you encounter an error like the one below you should have a
look what
the standard C++ shared_ptr is all about because your problem is in this
case not
understanding dune but understanding standard c++.
Best
Andreas
On 12/27/2010 07:49 AM, Alex Evanovic wrote:
> 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
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20101227/bf30260c/attachment.htm>
More information about the Dune
mailing list