[Dune] adapting grid and geometrygrid

Marco Cisternino marco.cisternino at optimad.it
Wed Aug 29 12:14:39 CEST 2012


Hi Andreas,
thank you for the quick reply.
Here the code and the error log are.

The dune version is 2.1.1 and the compiler is g++.
Ask me anything you need to know.
Thanks again.

Marco


Il 29/08/2012 11:50, Dedner, Andreas ha scritto:
> Please attach more information especially when calling adapt on the geometry grid
> instance (which compiler, which dune version, error message).
> Looking into dune/grid/geometrygrid/grid.hh it seems to me that the adapt method is public.
> Andreas
> ________________________________________
> From: dune-bounces+a.s.dedner=warwick.ac.uk at dune-project.org [dune-bounces+a.s.dedner=warwick.ac.uk at dune-project.org] on behalf of Marco Cisternino [marco.cisternino at optimad.it]
> Sent: 29 August 2012 10:44
> To: dune at dune-project.org
> Subject: [Dune] adapting grid and geometrygrid
>
> Good morning,
> I'd need your help to understand how to adapt a grid with an associated
> geometry grid.
> I tried to call the adapt() method for the geometrygrid, but the
> compiler tells me the method is protected.
> I tried to call the adapt() method for the host grid and then call the
> update() method for the geometry grid but the update() calls adapt() for
> the geometrygrid which is protected, then same compiling error.
> I read from the documentation that if I call adapt() for the host grid,
> the update() method is automatically called for the geometrygrid.
> By this way the compiler doesn't complain, but I'm not sure if
> Am I well understood? Is this the right way to get the adaptation of
> both the grids (geometry and host)?
> If not, could anyone explain me how to adapt a geometrygrid and its host
> grid, please??
> Thanks.
>
> Marco
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
>

-- 
Marco Cisternino
Optimad Engineering s.r.l.
www.optimad.it
marco.cisternino at optimad.it
+3901119719782

-------------- next part --------------
A non-text attachment was scrubbed...
Name: code.tar
Type: application/x-tar
Size: 112640 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20120829/a9c00a19/attachment.tar>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.log
Type: text/x-log
Size: 10273 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20120829/a9c00a19/attachment.bin>


More information about the Dune mailing list