New vscode extension for openmc

Hello,

I have made an extension for VSCode that can inspect Statepoint files from OpenMC simulations to give an overview of general stats, tallies, meshes, and such.

I have mainly been using the simulation tool Geant4 throughout my professional life. Geant4 mainly deals with ROOT files, and ROOT files have a very nice VSCode extension that makes it quick to inspect data and automatically plot histograms and other simple 2D plots. I wanted something similar for OpenMC, and have therefore started this project.

If you use VSCode and would like to use it, you can find it here:

Feel free to work on it or contribute if you have ideas for how this can be expanded upon. Currently, it’s very simple, very barebone, but I think it can evolve into something even more useful.

I know there exist extensions to inspect .h5 files. But I wasn’t happy with them (maybe I just didn’t find the right one), and I feel it would be nicer to have something dedicated to OpenMC data.

PS: I hope this is the right place to post; if not, then I apologize.

(I have uploaded screenshots from the tool so you can see what it can currently do)

4 Likes

FYI there’s a cool repo made by Paul Romano for inspecting h5 files in terminal.

1 Like