MCNP Input reader
Project description
MCNP Input Reader
The package for reading mcnp input in a pythonic way
MCNP Input Reader is a python package developed in ENEA to help the modifications and the check integrity of large mcnp input files.
Install
pip install mcnp-input-reader
Usage
import mcnp_input_reader as mir
mcnp_input = mir.read_file('input.i')
mcnp_input.cells # return the table of cells
mcnp_input.cells.filter(lambda cell: cell.material_id == 2) # return the cells using material M2
TODO
A lot of things...
Example
Example taken from here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mcnp_input_reader-0.2.1.tar.gz
(14.7 kB
view hashes)
Built Distribution
Close
Hashes for mcnp_input_reader-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44e6a14398411fe37d0d55a3de50471ba9f46031e680aa7f54f1870a560e6dc3 |
|
MD5 | 0f9d680e06c8c04d149117c09e3efc73 |
|
BLAKE2b-256 | 37ee506f418bf6324314cef60b1a052c5ad36a9174ec068cccc572272b71ab37 |