├── .github └── workflows │ └── tests.yml ├── .gitignore ├── LICENSE ├── README.md ├── pyproject.toml ├── src └── openmc_mcnp_adapter │ ├── __init__.py │ ├── openmc_conversion.py │ └── parse.py └── tests ├── __init__.py ├── conftest.py ├── inputs ├── testRead.imcnp ├── testReadRecursive.imcnp ├── testReadReference.imcnp └── testReadTarget.imcnp ├── models └── tinkertoy.mcnp ├── test_boundary.py ├── test_geometry.py ├── test_material.py ├── test_models.py ├── test_multiparticle_importance.py ├── test_read_file.py ├── test_rotation_matrix.py ├── test_surfaces.py └── test_syntax.py /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | __pycache__ 3 | *.egg-info 4 | .coverage 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/README.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/openmc_mcnp_adapter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/src/openmc_mcnp_adapter/__init__.py -------------------------------------------------------------------------------- /src/openmc_mcnp_adapter/openmc_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/src/openmc_mcnp_adapter/openmc_conversion.py -------------------------------------------------------------------------------- /src/openmc_mcnp_adapter/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/src/openmc_mcnp_adapter/parse.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/inputs/testRead.imcnp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/inputs/testRead.imcnp -------------------------------------------------------------------------------- /tests/inputs/testReadRecursive.imcnp: -------------------------------------------------------------------------------- 1 | 2 0 +1 $ lowest level -------------------------------------------------------------------------------- /tests/inputs/testReadReference.imcnp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/inputs/testReadReference.imcnp -------------------------------------------------------------------------------- /tests/inputs/testReadTarget.imcnp: -------------------------------------------------------------------------------- 1 | 1 0 -1 2 | read file=testReadRecursive.imcnp 3 | c -------------------------------------------------------------------------------- /tests/models/tinkertoy.mcnp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/models/tinkertoy.mcnp -------------------------------------------------------------------------------- /tests/test_boundary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/test_boundary.py -------------------------------------------------------------------------------- /tests/test_geometry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/test_geometry.py -------------------------------------------------------------------------------- /tests/test_material.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/test_material.py -------------------------------------------------------------------------------- /tests/test_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/test_models.py -------------------------------------------------------------------------------- /tests/test_multiparticle_importance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/test_multiparticle_importance.py -------------------------------------------------------------------------------- /tests/test_read_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/test_read_file.py -------------------------------------------------------------------------------- /tests/test_rotation_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/test_rotation_matrix.py -------------------------------------------------------------------------------- /tests/test_surfaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/test_surfaces.py -------------------------------------------------------------------------------- /tests/test_syntax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openmc-dev/openmc_mcnp_adapter/HEAD/tests/test_syntax.py --------------------------------------------------------------------------------