MCNP I/O
Parse MCNP material cards, xsdir, meshtal, and WWINP files in the browser.
The mcnp-io crate reads and writes several MCNP-family file formats. In the
browser we can only work from text strings, which is still enough to inspect
decks and convert small files.
Supported formats
- Material cards —
m1 92235 -0.04 92238 -0.96style definitions, including comment metadata. - xsdir — cross-section directory with AWR table and continuous-energy entries.
- meshtal —
fmeshtally output with structured mesh results and relative errors. - WWINP — Cartesian weight-window lower bounds.
Try it
Select a parser and paste a file snippet. The WASM binding returns a JSON summary that you can inspect without leaving the page. For meshtal files, load the sample and view the tally as a z-slice heatmap; parsed xsdir tables are summarised as a histogram by element.
Loading Nucleide WASM…
See also
- Tutorial: Parse MCNP output
- Crate docs:
crates/mcnp-io/src/lib.rs