<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear S. Swayamjyoti!<br>
This sounds like a regular C++ problem unrelated to Dune.<br>
Please consult your local C++ expert on this.<br>
Best,<br>
Oliver<br>
<br>
Am 16.02.2011 17:54, schrieb S. Swayamjyoti:
<blockquote
cite="mid:AANLkTimSbtk8q90FrTbaJpVpAAObzKf+tfnZ_9kXuCOv@mail.gmail.com"
type="cite">Hi,<br>
<br>
I tried to create a mapper for attaching data to the vertices of the
grid. But, when I declare the mapper as,<br>
<b><br>
Dune::LeafMultipleCodimMultipleGeomTypeMapper<G,GridLayout>
// Line 50<br>
mapper(grid);</b><br>
<br>
I get errors saying, <br>
<br>
<b>finiteelements.cc:50: error: declaration does not declare anything<br>
finiteelements.cc:57: error: ‘mapper’ was not declared in this scope</b><br>
<br>
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.<br>
<br>
Thanks.<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@dune-project.org">Dune@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a>
</pre>
</blockquote>
<br>
</body>
</html>