<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Patrick,<br>
That’s right, in ALUGrid each border face has his "own" ghosts.
Therefore you have several ghosts with the same global id (and so
the same coordinates) but different local ids.<br>
<br>
We had this topic last year, you can find it here:<br>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/pipermail/dune/2010-October/007407.html">http://lists.dune-project.org/pipermail/dune/2010-October/007407.html</a><br>
<br>
Best,<br>
Rebecca<br>
<br>
On 13.10.2011 20:49, Patrick Leidenberger wrote:
<blockquote cite="mid:4E9732AA.3050403@ifh.ee.ethz.ch" type="cite">Hi
all Dune-Developers,
<br>
<br>
I am a little bit confused by the behavior of
<br>
<br>
typedef typename GridType::template Codim<3>::
<br>
template Partition<Dune::Ghost_Partition>::LeafIterator
<br>
IteratorGhost;
<br>
<br>
iterator. It comes to the same node multiple times! This is not
the behavior I expected.
<br>
So my question is: Is this a bug or a feature?
<br>
<br>
My system:
<br>
Current dune from SVN, last co 1h ago.
<br>
ALUgrid 1.23, with simplices in 3d
<br>
Standart Ubuntu 11.04, 10.10 with standart gcc, openmpi & co.
<br>
<br>
That you can reproduce my results, I modified the test-alugrid.cc
from dune-grid/dune/grid/test and attached the file. Run it e.g.
with
<br>
mpirun -np 3 ./test-alugrid 3dsimp
<br>
It iterates over InteriorBoarder_Partition and GhostPartition. For
both cases it collects all coordinates of the nodes, put them in a
list (separate ones) and sort the lists. You get e.g.
<br>
...
<br>
rank=1, Ghost, -0.848528, -1.84853, 6.875
<br>
rank=1, Ghost, -0.494975, -1.49497, 6.875
<br>
rank=1, Ghost, -0.494975, -1.49497, 6.875
<br>
rank=1, Ghost, -0.494975, -1.49497, 6.875
<br>
rank=1, Ghost, -0.494975, -1.49497, 6.875
<br>
rank=1, Ghost, -5.14352e-16, 0.2, 9.25
<br>
rank=1, Ghost, -3.00038e-16, -0.3, 9.25
<br>
rank=1, Ghost, -3.00038e-16, -0.3, 9.25
<br>
rank=1, Ghost, -3.00038e-16, -0.3, 9.25
<br>
rank=1, Ghost, -3.00038e-16, -0.3, 9.25
<br>
rank=1, Ghost, -3.00038e-16, -0.3, 9.25
<br>
rank=1, Ghost, -8.57253e-17, -0.8, 8.75
<br>
rank=1, Ghost, -8.57253e-17, -0.8, 8.75
<br>
...
<br>
<br>
Thanks a lot for some tips, best regards
<br>
<br>
Patrick
<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>
</body>
</html>