<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Oliver and Bernd,<div><br></div><div>thanks for the clarification. Activating the boundaryId via the switch will help me immediately.</div><div><br><div>In the meantime, I will consider switching to the boundarySegmentIndex() and to implement</div><div>infrastructure to distribute boundary data over parallel processes.</div><div><br></div><div>One solution would be to read boundary data from the DGF file on the root process</div><div>and then to distribute them to the respective processes. The identification of the boundary</div><div>triangles or quadrangles would then be based on the global id which is guaranteed</div><div>to be persistent over all the processes.</div><div><br></div><div>What would you think of this approach ? Could this be compatible with the Dune</div><div>approach of keeping user data separate from the Grid API ?</div><div><br></div><div>Thanks again and greetings, Benedikt</div><div><br></div><div><br></div><div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="font-size: large; "><font class="Apple-style-span" size="4"><div><br></div></font></div></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Oct 19, 2013, at 11:09 AM, Oliver Sander wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Benedikt,<br>the boundaryId method was an experimental grid extension, added to suit the<br>needs of the DGF reader, but it was never clearly stated what it does.<br>In particular, you will notice that it only works with ALUGrid (and possibly<br>with Alberta), but definitely not with the other grid managers.  To clearly<br>mark it as 'experimental' it is now hidden behind the DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS<br>macro.  If you want to continue using boundaryId you'll have to set that flag.<br><br>On the other hand, boundarySegmentIndex implements an index in the Dune sense<br>(i.e., a consecutive, zero-starting set of integers) for the boundary segments<br>of the macro grid.  Following the Dune philosophy, if you want to attach data<br>to these segments (like, e.g., an integer giving the type of boundary conditions),<br>than that is external data and needs to be done outside of the grid interface.<br><br>Note that there are problems with boundarySegmentIndex when working on parallel<br>grids.  A discussion about this was scheduled at the last dev meeting, but<br>unfortunately we ran out of time before getting to this point.<br><br>Best,<br>Oliver<br><br>Am 19.10.2013 10:52, schrieb Bernd Flemisch:<br><blockquote type="cite">Hi Benedikt, <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">please have a look here:<br></blockquote><blockquote type="cite"><a href="http://lists.dune-project.org/pipermail/dune/2013-October/012490.html">http://lists.dune-project.org/pipermail/dune/2013-October/012490.html</a><br></blockquote><blockquote type="cite">especially at the second answer.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">To my understanding, boundarySegmentIndex is a different concept:<br></blockquote><blockquote type="cite"><a href="http://www.dune-project.org/doc/doxygen/dune-grid-html/class_dune_1_1_intersection.html#a576b6611af20e6676706a68f33fef09e">http://www.dune-project.org/doc/doxygen/dune-grid-html/class_dune_1_1_intersection.html#a576b6611af20e6676706a68f33fef09e</a><br></blockquote><blockquote type="cite">In particular, I think that you can't set a particular index in the DGF file. <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Kind regards<br></blockquote><blockquote type="cite">Bernd <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Fri, 18 Oct 2013 23:24:34 +0200<br></blockquote><blockquote type="cite"> Benedikt Oswald <<a href="mailto:benedikt.oswald@lspr.ch">benedikt.oswald@lspr.ch</a>> wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Dear Dune,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I have come to realize that the boundaryId method in the IntersectionIterator has obviously disappeared<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">by default. Still, I need to access the id's of a boundary as they are stored in the DGF file.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">My question: is the new method boundarySegmentIndex() in the grid api equivalent ?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Second, is this also available for AluSimplexGrid ?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">There is no documentation for AluGridSimplex on the dune-project site ?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks for some hints and greetings, Benedikt<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">----------------------------------------------------------------------------------------------------------------------------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone - +41 76 380 91 33<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Technoparkstrasse 1, CH-8005 Zürich, <a href="mailto:benedikt.oswald@lspr.ch">benedikt.oswald@lspr.ch</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">"Passion is required for any great work, and for the Revolution passion and audacity are required in big doses." <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Ernesto 'Che' Guevara, Letter to his parents.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">----------------------------------------------------------------------------------------------------------------------------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________________________<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">    !!!! CMWR 2014: 10th - 13th June 2014 in Stuttgart !!!!<br></blockquote><blockquote type="cite">                  Please visit <a href="http://www.cmwr14.de">www.cmwr14.de</a><br></blockquote><blockquote type="cite">_______________________________________________________________<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Bernd Flemisch                         phone: +49 711 685 69162<br></blockquote><blockquote type="cite">IWS, Universitaet Stuttgart              fax: +49 711 685 67020<br></blockquote><blockquote type="cite">Pfaffenwaldring 61            email: <a href="mailto:bernd@iws.uni-stuttgart.de">bernd@iws.uni-stuttgart.de</a><br></blockquote><blockquote type="cite">D-70569 Stuttgart            url: <a href="http://www.hydrosys.uni-stuttgart.de">www.hydrosys.uni-stuttgart.de</a><br></blockquote><blockquote type="cite">_______________________________________________________________<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Dune mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Dune@dune-project.org">Dune@dune-project.org</a><br></blockquote><blockquote type="cite"><a href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a><br></blockquote><blockquote type="cite"><br></blockquote><br><br>_______________________________________________<br>Dune mailing list<br><a href="mailto:Dune@dune-project.org">Dune@dune-project.org</a><br>http://lists.dune-project.org/mailman/listinfo/dune<br></div></blockquote></div><br></div></div></body></html>