[MOAB-dev] Writing a tag

Gerd Heber gheber at hdfgroup.org
Tue Aug 19 14:51:12 CDT 2014


Let's say I do some kind of explicit dynamics or time-dependent
analysis and I would like to periodically create/add a few new tags to
a "history file". I don't need them in memory and can't keep them all
in memory anyway. I can buffer maybe 10 or 100, but then I need to flush
those tags to disk. Since the mesh doesn't change, it'd be odd to read
or write it over and over again.

G.
 
-----Original Message-----
From: Grindeanu, Iulian R. [mailto:iulian at mcs.anl.gov] 
Sent: Tuesday, August 19, 2014 2:38 PM
To: Gerd Heber; MOAB dev
Subject: RE: Writing a tag

Hello,

I don't think you can append using moab interface.

You would need to load the h5m file (in memory), create the new tag, set values, and save the file again (with the same name if you want)

maybe there is an easier way, but I don't know it.
Iulian
________________________________________
From: moab-dev-bounces at mcs.anl.gov [moab-dev-bounces at mcs.anl.gov] on behalf of Gerd Heber [gheber at hdfgroup.org]
Sent: Tuesday, August 19, 2014 2:08 PM
To: MOAB dev
Subject: [MOAB-dev] Writing a tag

How can I append a tag to an existing MOAB file (which has a few other tags already)?
Maybe this is so obvious that the documentation doesn't talk about it, but it's unclear to me. I don't see, for example, how to sell this to write_file. Maybe that's not the right call anyway...

Thanks for your help.
G.




More information about the moab-dev mailing list