<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Nico, <br>
<br>
I see. I may have misunderstood your problem. It seems you're trying
to apply data to the mesh. Is that right?<br>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">Patrick C. Shriwise
Research Fellow
University of Wisconsin - Madison
Engineering Research Building - Rm. 428
1500 Engineering Drive
Madison, WI 53706
(608) 446-8173
</pre>
<div class="moz-cite-prefix">On 11/08/15 20:03, Nico Schlömer wrote:<br>
</div>
<blockquote
cite="mid:CAK6Z60fWMxb_TT47fTmfa8zySXCK1wQFgwhbOR4vewv=BFs-Yw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">Thanks Patrick for your reply.
<div><br>
</div>
<div>I'm still having problems where data should be stores. In a
h5m file, I see tags, I see sets with tags in them, and it
seems they are somehow related, but I don't know where and how
to put the actual data. I would help to see a file with some
mesh and a custom data element in it, e.g., an array of values
associated with the vertices.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Nico</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sun, Nov 8, 2015 at 9:20 PM Patrick Shriwise
<<a moz-do-not-send="true"
href="mailto:shriwise@wisc.edu">shriwise@wisc.edu</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi Nico, <br>
<br>
The vertex data should be stored in MOAB tags. You can
access these tags via their name. There is a set of
conventions for the tag names in an Exodus file (<a
moz-do-not-send="true"
href="http://ftp.mcs.anl.gov/pub/fathom/moab-docs/MBTagConventions_8hpp.html"
target="_blank">here</a> I think). However, if the tag
has a custom name and isn't recognized by the Exodus
reader, then the data might not be read in from the Exodus
file and as a result won't be saved into the .h5m. Do you
have an idea of what the tag name might be for your data?<br>
<br>
There's also a good example <a moz-do-not-send="true"
href="http://ftp.mcs.anl.gov/pub/fathom/moab-docs/SetsNTags_8cpp-example.html"
target="_blank">here</a> of how to access the tag data
on an entity. The example I linked you to accesses
EntitySets rather than Entities, but they work the same
way. <br>
<br>
If you think the data might be in the .h5m, you can use <a
moz-do-not-send="true"
href="http://ftp.mcs.anl.gov/pub/fathom/moab-docs/classmoab_1_1Interface.html#a6c737e7900d9c1b29b53d994076d204f"
target="_blank">tag_get_tags_on_entity</a> to get all of
the tags on a vertex and then check for the tag data
you're looking for. An easier way of doing this in the cmd
line is by using mbsize -t <your_file>.h5m to print
out the count by tag. <br>
<br>
Hope this helps! <br>
<br>
Cheers, <br>
<br>
<pre cols="72">Patrick C. Shriwise
Research Fellow
University of Wisconsin - Madison
Engineering Research Building - Rm. 428
1500 Engineering Drive
Madison, WI 53706
(608) 446-8173
</pre>
</div>
<div bgcolor="#FFFFFF" text="#000000">
<div>On 11/08/15 13:43, Nico Schlömer wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi everyone,
<div><br>
</div>
<div>I have an Exodus file with vertex data in it
(i.e., "a function" defined on the vertices). When
converting this file to h5m, where does the vertex
data go? And how to I retrieve the data after having
it read with `load_file()`?</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Nico</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>