[Dune] adapting grid and geometrygrid
Dedner, Andreas
A.S.Dedner at warwick.ac.uk
Wed Aug 29 11:50:18 CEST 2012
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
More information about the Dune
mailing list