svalinn/DAGMC-viz

Eliminating need for two moab instances

Closed this issue · 1 comments

Right now, TagExpansion.py expands vector tags by using two moab instances of the same mesh file. One is reference mesh, from which all vector tags are deleted so scalar tags can be written. The other is a mesh that the vector tags are extracted from. With the recent update to Moab 5.1.0, this is no longer necessary.

Instead, using the output_tags argument in the write_file method, it can be specified exactly which tags are to be written at a time, and therefore the need for a reference mesh is eliminated.

Addressed in #39