Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The package for reading mcnp input in a pythonic way

License

NotificationsYou must be signed in to change notification settings

ENEA-Fusion-Neutronics/MCNP-Input-Reader

Repository files navigation

The package for reading mcnp input in a pythonic way

PyPI - Python VersionLicense

MCNP Input Reader is a python package developed in ENEA to help the modifications and the check integrityof large mcnp input files.

Install

pip install mcnp-input-reader

Usage

importmcnp_input_readerasmirmcnp_input=mir.read_file('input.i')mcnp_input.cells# return the table of cellsmcnp_input.cells.filter(lambdacell:cell.material_id==2)# return the cells using material M2

TODO

A lot of things...

Example

Example taken fromhere

About

The package for reading mcnp input in a pythonic way

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp