[Dune] Subgrid Object Creation

Carsten Gräser graeser at math.fu-berlin.de
Wed Feb 9 16:02:46 CET 2011


Hello Swayam,
before I try to answer your question:

Dune-subgrid is not an official module - so please
only consult the dune-subgrid maintainers Oliver Sander
and myself and not the official list dune at dune-project.org.

Am 09.02.2011 15:38, schrieb S. Swayamjyoti:
> Dear Dune,
> 
> I tried creating a subgrid object by calling the constructor:
> 
> *SubGrid<dim, GridType, MapIndexStorage> subgrid(grid);*
> 
> where grid is a Dune SGrid Object.
> 
> I get errors saying that '*Subgrid was not declared in the scope*".
> 
> Is it because, the subgrid module is somehow not built properly? Or could it
> be because I have not included a particular header file?
In order to use SubGrid you have to include its header:

#include <dune/subgrid/subgrid.hh>


> I have build the subgrid module with the dunecontrol script. Could someone
> help me figure out?

Best,
Carsten

PS: Please remember to reply in private.

-- 
----------------------------------------------------------------------
Carsten Gräser           | phone: +49-30 / 838-75349
Freie Universität Berlin | fax  : +49-30 / 838-54977
Institut für Mathematik  | email: graeser at math.fu-berlin.de
Arnimallee 6             |
14195 Berlin, Germany    | URL  : http://page.mi.fu-berlin.de/graeser
----------------------------------------------------------------------




More information about the Dune mailing list