DAGMC_h5m_file_inspector modernization effort

After 4 good years the dagmc_h5m_file_inspector has been refactored and modernized.

It is now fully capable using a h5py backend. While the pymoab backend remains an option and useful for testing the h5py backend is now default. This has a number of advantages:

  • fully distributed via pypi and installable with pip
  • faster than before
  • able to write modern file formats like vtkhdf
  • minimal dependencies
    • quicker easier install with less change of package conflicts
    • no additional dependencies to OpenMC

The package has slightly extended its remi

  • find volume ids in a dagmc h5m file
  • find material tags in a dagmc h5m file
  • find both volume and material ids (linked) in a dagmc h5m file
  • get the bounding box of the dagmc geometry
  • get the volumes (in cm3) of the material tags within the dagmc file
  • set openmc material volumes according to their names
  • get triangle connectivity and coordinates for each volume
  • convert the dagmc h5m file to a vtkhdf (with cell and material coloring), open in Paraview