Skip to content

Instantly share code, notes, and snippets.

View shimwell's full-sized avatar

Jonathan Shimwell shimwell

View GitHub Profile
@shimwell
shimwell / openmc-statepoint-3d.py
Last active September 18, 2019 11:26 — forked from pshriwise/openmc-statepoint-3d.py
Convert OpenMC Meshtally to MOAB/VTK mesh
#!/usr/env/python3
"""
Script for converting OpenMC mesh in an OpenMC
statepoint file to other mesh formats for visualization
"""
import argparse
import sys
import math