[MOAB-dev] "Global" tags on root set

James Porter jvporter at wisc.edu
Mon Sep 19 15:47:47 CDT 2011


On Fri, 2011-09-16 at 17:14 -0500, Steve Jackson wrote:
> Moabsters,
> 
> We sometimes store a single global value in a mesh file-- e.g. a value that was computed over the whole mesh during a calculation.  The way we've been doing this is to create a sparse tag and store the value on the root set using that tag.
...
> Does anyone have a suggestion for a better way to look up the value of global tags?  Is there a way to list tag values without verbosely printing the entire mesh?  Also, do we have a visualization solution that can query tags on the root set?  

This is probably pretty easy with Python. In the latest revision, I
added support for iMesh_getEntSetsByTagsRec, so it should be easy to
write a script that accepts as input a tag name and prints out the tag
values. If you have a list of what exactly you need as output, I could
write up a script that gets installed along with the Python bindigns.

- Jim




More information about the moab-dev mailing list