<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">which grid implementation which version of dune....<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF86510"><font color="#000000" face="Tahoma" size="2"><b>From:</b> dune-bounces+a.s.dedner=warwick.ac.uk@dune-project.org [dune-bounces+a.s.dedner=warwick.ac.uk@dune-project.org] on behalf of DHIRENDRA VAIDYA [dhirendra22121987@gmail.com]<br>
<b>Sent:</b> Saturday, May 12, 2012 8:15 PM<br>
<b>To:</b> dune@dune-project.org<br>
<b>Subject:</b> [Dune] bool Dune::Grid< dim, dimworld, ct, GridFamily >::mark() bug<br>
</font><br>
</div>
<div></div>
<div>Hi,
<div><br>
</div>
<div>in  </div>
<span class="Apple-style-span" style="color: rgb(37, 53, 85); font-family: sans-serif; font-weight: bold; background-color: rgb(226, 232, 242); font-size: medium;">
<table class="memname" style="line-height: inherit; font-family: 'Lucida Grande',Verdana,Geneva,Arial,sans-serif; font-size: 12px; white-space: nowrap; font-weight: bold; margin-left: 6px; padding-left: 10px;">
<tbody>
<tr>
</tr>
<tr>
<td class="memname" style="white-space: nowrap; font-weight: bold; margin-left: 6px;">
bool <a class="el" href="http://www.dune-project.org/doc-2.1.0/doxygen/html/classDune_1_1Grid.html" style="color: rgb(89, 116, 181); font-weight: bold; text-decoration: none;" target="_blank">Dune::Grid</a>< dim, dimworld, ct, GridFamily >::mark</td>
<td>(</td>
<td class="paramtype" style="white-space: nowrap;">int </td>
<td class="paramname" style="color: rgb(247, 116, 0); white-space: nowrap;"><em style="font-style: normal;">refCount</em>,</td>
</tr>
<tr>
<td class="paramkey" style="text-align: right;"></td>
<td></td>
<td class="paramtype" style="white-space: nowrap;">const typename <a class="el" href="http://www.dune-project.org/doc-2.1.0/doxygen/html/structDune_1_1Grid_1_1Codim.html" style="color: rgb(89, 116, 181); font-weight: bold; text-decoration: none;" target="_blank">Codim</a><
 0 >::<a class="el" href="http://www.dune-project.org/doc-2.1.0/doxygen/html/classDune_1_1Entity.html" style="color: rgb(89, 116, 181); font-weight: bold; text-decoration: none;" target="_blank">Entity</a> & </td>
<td class="paramname" style="color: rgb(247, 116, 0); white-space: nowrap;"><em style="font-style: normal;">e</em></td>
<td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
</tr>
</tbody>
</table>
</span>
<div> even if I mark an entity with refCount>1, then also '</div>
<span class="Apple-style-span" style="color: rgb(37, 53, 85); font-family: sans-serif; font-weight: bold; background-color: rgb(226, 232, 242); font-size: medium;">
<table class="memname" style="line-height: inherit; font-family: 'Lucida Grande',Verdana,Geneva,Arial,sans-serif; font-size: 12px; white-space: nowrap; font-weight: bold; margin-left: 6px; padding-left: 10px;">
<tbody>
<tr>
<td class="memname" style="white-space: nowrap; font-weight: bold; margin-left: 6px;">
int <a class="el" href="http://www.dune-project.org/doc-2.1.0/doxygen/html/classDune_1_1Grid.html" style="color: rgb(89, 116, 181); font-weight: bold; text-decoration: none;" target="_blank">Dune::Grid</a>< dim, dimworld, ct, GridFamily >::getMark</td>
<td>(</td>
<td class="paramtype" style="white-space: nowrap;">const typename <a class="el" href="http://www.dune-project.org/doc-2.1.0/doxygen/html/structDune_1_1Grid_1_1Codim.html" style="color: rgb(89, 116, 181); font-weight: bold; text-decoration: none;" target="_blank">Codim</a><
 0 >::<a class="el" href="http://www.dune-project.org/doc-2.1.0/doxygen/html/classDune_1_1Entity.html" style="color: rgb(89, 116, 181); font-weight: bold; text-decoration: none;" target="_blank">Entity</a> & </td>
<td class="paramname" style="color: rgb(247, 116, 0); white-space: nowrap;"><em style="font-style: normal;">e</em></td>
<td> ) </td>
</tr>
</tbody>
</table>
</span>
<div>
<div> </div>
<div>returns 1 irrespective of refCount.</div>
<div><br>
</div>
-- <br>
Warm Regards,<br>
Dhirendra Vaidya<br>
VNIT Nagpur<br>
<br>
</div>
</div>
</div>
</div>
</body>
</html>