You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fixed a bug that caused to write an extra termination line between the data block and the cell data section in the MCNP input. (:pull:`819`) (:issue:`703`).
27
29
28
-
**Documentation**
29
-
30
-
* Improved documentation for NumberedObjectCollections on Slicing behavior. (:issue:`798`)
31
-
32
30
**Deprecations**
33
31
34
32
* Dropped support for python 3.9 through 3.11, and numpy 1.26 in order to comply with `SPEC 0 <https://scientific-python.org/specs/spec-0000/>`_ (:issue:`780`).
@@ -42,9 +40,7 @@ MontePy Changelog
42
40
43
41
1.1.3
44
42
--------------
45
-
**Features Added**
46
43
47
-
* Added Boundary condition type to the representation of a ``montepy.Surface`` (e.g., ``repr(surf)``) (:issue:`682`).
There's also a lot of convenient ways to do bulk modifications.
618
618
There is the :func:`~montepy.data_inputs.importance.Importance.all` property that lets you set the importance for all particles in the problem at once.
@@ -629,7 +629,10 @@ For example:
629
629
neutron 2.0
630
630
photon 2.0
631
631
632
-
This will set the importances for the neutron and photon.
632
+
This will set the importances for the neutron and photon.
633
+
634
+
You can also delete an importance to reset it to the default value (1.0).
635
+
For example: ``del cell.importance.neutron``.
633
636
634
637
There is also the method: :func:`~montepy.cells.Cells.set_equal_importance`.
635
638
This method sets all of the cells for all particles in the problem to the same importance.
0 commit comments