<div dir="ltr"><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">But perhaps you can answer some of them:<br>
* Which information can be added as a tag. Is this restricted to int,<br>
or can it be arbitrary data, e.g. double values?<br></blockquote><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div><div><br></div>As I understand the spec, and element can have an arbitrary positive number of<br>
integer tags. <br></div></blockquote><div><br>@Christian, @Oliver : I do not know how Gmsh would write a double value in the tags but it could be useful to be able to do it. However not an immediate concern.<br><br><br>@Oliver :<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Yes, that is possible. The boundarySegmentToPhysicalEntity field actually<br>
returns the first tag of each codim-1 entity.<br></blockquote><div><br></div><div>I do not know how useful this is for me. For example, two boundary edges with the same physical or boundary tags can have different partition tags. For this reason, it is essential for me to extract all the tags for boundary edges as well. <br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">We have implemented a parallel gumsh reader that reads all the tags. Why not try this?<br></blockquote><div><br></div><div>@Benedikt: This sounds promising. I could not locate dune-curvilineargrid on Dune project page though.<br><br></div><div>Thank you!<br></div><div>Ganesh</div></div></div><div><br></div><br><div><br><br><br></div><div><br> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 19, 2015 at 8:48 AM, Benedikt Oswald <span dir="ltr"><<a href="mailto:benedikt.oswald@lspr.ch" target="_blank">benedikt.oswald@lspr.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Oliver, yes. Just ask Aleksejs, I am currently on the move. Greetings, Benedikt<br>
<span class="im HOEnZb"><br>
dr. benedikt oswald - Suisse<br>
<br>
</span><div class="HOEnZb"><div class="h5">Am 19.06.2015 um 09:04 schrieb Oliver Sander <<a href="mailto:sander@igpm.rwth-aachen.de">sander@igpm.rwth-aachen.de</a>>:<br>
<br>
> Gruezi Benedikt,<br>
> I was going to ask you about your GmshReader anyway, because I am currently interested<br>
> in higher-order support. Is the code somewhere I can look at?<br>
> Thanks,<br>
> Oliver<br>
><br>
> Am 19.06.2015 um 08:39 schrieb Benedikt Oswald:<br>
>> Dear Ganesh,<br>
>><br>
>> We have implemented a parallel gumsh reader that reads all the tags. Why not try this? Ask Aleksejs, you'll find his coordinates on the mailing list. Also, why not use our dune-curvilineargrid? It is parallel, reads gmsh files including higher order elements.<br>
>> Over and out, Benedikt<br>
>><br>
>><br>
>> dr. benedikt oswald - Suisse<br>
>><br>
>> Am 19.06.2015 um 07:40 schrieb Oliver Sander <<a href="mailto:sander@igpm.rwth-aachen.de">sander@igpm.rwth-aachen.de</a>>:<br>
>><br>
>>> Am 18.06.2015 um 20:56 schrieb Christian Engwer:<br>
>>>> Dear Ganesh,<br>
>>>><br>
>>>> sadly in the current state none of this works. Oli recently removed<br>
>>>> the half-implement reader for more than one tag, as it was never<br>
>>>> finished. Reading other things than elements or boundary elements is<br>
>>>> currently not possible.<br>
>>>><br>
>>>> In the issue you reference, nobody ever offered a patch and further<br>
>>>> more the author never replied to my questions.<br>
>>>><br>
>>>> But perhaps you can answer some of them:<br>
>>>> * Which information can be added as a tag. Is this restricted to int,<br>
>>>> or can it be arbitrary data, e.g. double values?<br>
>>><br>
>>> As I understand the spec, and element can have an arbitrary positive number of<br>
>>> integer tags.<br>
>>><br>
>>>> * Is it only possible to use additional tags for cells, or also for<br>
>>>> boundary entries? Reading your comment below I guess there is also<br>
>>>> some way to add tags to other entities!?<br>
>>><br>
>>> Yes, that is possible. The boundarySegmentToPhysicalEntity field actually<br>
>>> returns the first tag of each codim-1 entity.<br>
>>><br>
>>>><br>
>>>> and which program can I use to generate such files? My Gmsh<br>
>>>> installation only uses the physical entity tag.<br>
>>>><br>
>>>> If you are interested in providing patches, I'll happily guide you<br>
>>>> through the code to implement the missing features. Reagrding the<br>
>>>> cells should be fairly simple once we know what type of data can be<br>
>>>> attached. We basically have to revert Olis recent patch and add an<br>
>>>> additional constructor which takes more than one vector.<br>
>>><br>
>>> Maybe we can think a little before adding a new constructor. Just adding<br>
>>> another vector argument still does not cover all the generality of the<br>
>>> file format.<br>
>>><br>
>>>>> partition info tags as well. Additionally, is there a way to extract the<br>
>>>>> tags (physical, geometry and partition) for the edge-element (denoted by a<br>
>>>>> type 1 element in Gmsh, eg. a 2-noded edge of a 4-noded quadrilateral) as<br>
>>>>> well?<br>
>>><br>
>>> The 'physical' for edge elements are returned in the boundarySegmentToPhysicalEntity<br>
>>> field.<br>
>>><br>
>>> --<br>
>>> Oliver<br>
>>><br>
>>>>><br>
>>>>> I see that this issue was considered before (FS#935) but I do not know if<br>
>>>>> it was resolved and a patch was applied.<br>
>>>>><br>
>>>>><br>
>>>>> Ganesh<br>
>>>><br>
>>>>> _______________________________________________<br>
>>>>> Dune mailing list<br>
>>>>> <a href="mailto:Dune@dune-project.org">Dune@dune-project.org</a><br>
>>>>> <a href="http://lists.dune-project.org/mailman/listinfo/dune" rel="noreferrer" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune</a><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> Dune mailing list<br>
>>> <a href="mailto:Dune@dune-project.org">Dune@dune-project.org</a><br>
>>> <a href="http://lists.dune-project.org/mailman/listinfo/dune" rel="noreferrer" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Dune mailing list<br>
<a href="mailto:Dune@dune-project.org">Dune@dune-project.org</a><br>
<a href="http://lists.dune-project.org/mailman/listinfo/dune" rel="noreferrer" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune</a><br>
</div></div></blockquote></div><br></div>