[Dune] Not able to declare a Mapper

S. Swayamjyoti swayam.151 at gmail.com
Wed Feb 16 17:54:14 CET 2011


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20110216/ab71d45f/attachment.htm>


More information about the Dune mailing list