idaholab / MontePy

MontePy is the most user friendly Python library (API) to read, edit, and write MCNP input files.
https://www.montepy.org/
MIT License
32 stars 7 forks source link

Implement Macrobodies #354

Open MicahGale opened 9 months ago

MicahGale commented 9 months ago

This comes from #350. Macrobodies allows their surfaces to be identified using a decimal notation. At the minimum an implementation is needed to allow accessing the sub-facets. This opens a whole can of worms for having fixed-point identifiers.

SterlingButters commented 9 months ago

Potential suggestion: allow MontePy to create brand new elementary surfaces from macrobody facets. Although the groundwork for that might be enough for accessing facets themselves.

MicahGale commented 9 months ago

I like it. Should be easy for ones that can quickly decompose into cz pz etc.