<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
Since you are getting the boundarysegment block in your dgf file,
you seem to be using<br>
the DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS so that
intersection.boundaryId() is <br>
available. The problem is that adding boundary ids was decided to
be unnecessary. <br>
I don't know that much about the gmsh format or the reader to know
if boundary id information<br>
from the gmsh file is in some way passed on to the user. If so it
will not be made available ithriough<br>
the intersection.boundaryId method but stored somehow externally
and you will have to modify the<br>
code in io/file/dgfparser/dgfwriter.hh accordingly<br>
(search for iit->boundaryId(); and replace that call).<br>
<br>
Perhaps experts on gmsh to provide the way to get the boundary ids
out of the gmsh file.<br>
<br>
Best<br>
Andreas<br>
<br>
<br>
On 26/06/14 07:19, Jelena Grižić wrote:<br>
</div>
<blockquote
cite="mid:CABBkLKhBQKVBxS1e2Hw_szZzGc+Hfir1DHpQk85qXxGo+JiACA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">
<div>
<div>
<div>
<div>Dear all,<br>
<br>
</div>
I have a problem using gmsh2dgf (also applies to
gmshreader.hh): it doesn't seem to pick boundary
segment ids from.msh file rather using some default
value (1) for all boundary elements.<br>
<br>
</div>
Example of .msh and .dgf file obtained using gmsh2dgf
are in attachment.<br>
<br>
</div>
Thank you in advance,<br>
<br>
</div>
Jelena Grizic</div>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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>