[Dune] Not able to declare a Mapper

Oliver Sander sander at mi.fu-berlin.de
Wed Feb 16 18:11:51 CET 2011


Dear S. Swayamjyoti!
This sounds like a regular C++ problem unrelated to Dune.
Please consult your local C++ expert on this.
Best,
Oliver

Am 16.02.2011 17:54, schrieb S. Swayamjyoti:
> Hi,
>
> I tried to create a mapper for attaching data to the vertices of the 
> grid. But, when I declare the mapper as,
> *
>  Dune::LeafMultipleCodimMultipleGeomTypeMapper<G,GridLayout>                  
> // Line 50
>  mapper(grid);*
>
> I get errors saying,
>
> *finiteelements.cc:50: error: declaration does not declare anything
> finiteelements.cc:57: error: ‘mapper’ was not declared in this scope*
>
> I have defined the grid in the main function and the P1Layout in 
> another template class correctly. Could someone please tell me the 
> reasons behind the errors.
>
> Thanks.
>
>
> _______________________________________________
> 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/20110216/dca6eaec/attachment.htm>


More information about the Dune mailing list