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

Steve Jackson sjackson at cae.wisc.edu
Fri Sep 16 17:14:42 CDT 2011


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.

The major downside about doing this is that it's complex to look up the value of a global tag without writing code.  This is the only way I know to do it with our existing command-line tools:

> mbsize -ll {meshfile} | grep {TAG_NAME}

But this is an annoying solution for large meshes, since `mbsize -ll` can take a long time to run.  

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?  
~S



More information about the moab-dev mailing list