Skip to content

Release 1.0.0a1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 05 Mar 14:58
· 29 commits to develop since this release

Features Added

  • Redesigned how Materials hold Material_Components. See the migration plan (#507).
  • Made it easier to create an Isotope (now Nuclide): montepy.Nuclide("H-1.80c") (#505).
  • When a typo in an object attribute is made an Error is raised rather than silently having no effect (#508).
  • Improved material printing to avoid very long lists of components (#144).
  • Allow querying for materials by components (#95).
  • Added support for getting and setting default libraries, e.g., nlib, from a material (#369).
  • Added most objects to the top level so they can be accessed like: montepy.Cell.
  • Made Material.is_atom_fraction settable (#511).
  • Made NumberedObjectCollections act like a set (#138).
  • Automatically added children objects, e.g., the surfaces in a cell, to the problem when the cell is added to the problem (#63).
  • Added ability to parse all MCNP objects from a string (#88).
  • Added function: montepy.mcnp_problem.MCNP_Problem.parse to parse arbitrary MCNP object (#88).
  • An error is now raised when typos in object attributes are used, e.g., cell.nubmer (#508).

Bugs Fixed

  • Made it so that a material created from scratch can be written to file (#512).
  • Added support for parsing materials with parameters mixed throughout the definition (#182).

Breaking Changes

  • Removed montepy.data_inputs.material.Material.material_components. See the migration plan (#507).
  • Removed montepy.data_inputs.isotope.Isotope and changed them to montepy.data_inputs.nuclide.Nuclide.
  • Removed montepy.mcnp_problem.MCNP_Problem.add_cell_children_to_problem as it is no longer needed.