Skip to content

Commit a0e5ba4

Browse files
committed
Add 0.13.2 release notes
1 parent 3347aea commit a0e5ba4

File tree

6 files changed

+120
-2
lines changed

6 files changed

+120
-2
lines changed

docs/source/io_formats/statepoint.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ The current version of the statepoint file format is 17.0.
109109
- **y** (*double[]*) -- Interpolant values for energyfunction
110110
interpolation. Only used for 'energyfunction' filters.
111111

112-
:Attributes: - **interpolation** (*int*) -- Interpolation type. Only used for
112+
:Attributes:
113+
- **interpolation** (*int*) -- Interpolation type. Only used for
113114
'energyfunction' filters.
114115

115116
**/tallies/derivatives/derivative <id>/**

docs/source/pythonapi/stats.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ Univariate Probability Distributions
2222
openmc.stats.Legendre
2323
openmc.stats.Mixture
2424
openmc.stats.Normal
25+
26+
.. autosummary::
27+
:toctree: generated
28+
:nosignatures:
29+
:template: myfunction.rst
30+
2531
openmc.stats.muir
2632

2733
Angular Distributions
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
====================
2+
What's New in 0.14.0
3+
====================
4+
5+
.. currentmodule:: openmc
6+
7+
-------
8+
Summary
9+
-------
10+
11+
This release of OpenMC includes several bug fixes, performance improvements for
12+
complex geometries and depletion simulations, and other general enhancements.
13+
Notably, a capability has been added to compute the photon spectra from decay of
14+
unstable nuclides. Alongside that, a new :data:`openmc.config` configuration
15+
variable has been introduced that allows easier configuration of data sources.
16+
Additionally, users can now perform cell or material rejection when sampling
17+
external source distributions. Finally,
18+
19+
------------------------------------
20+
Compatibility Notes and Deprecations
21+
------------------------------------
22+
23+
- If you are building against libMesh for unstructured mesh tally support,
24+
version 1.6 or higher is now required.
25+
- The ``openmc.stats.Muir`` class has been replaced by a
26+
:func:`openmc.stats.muir` function that returns an instance of
27+
:class:`openmc.stats.Normal`.
28+
29+
------------
30+
New Features
31+
------------
32+
33+
- The :meth:`openmc.Material.get_nuclide_atom_densities` method now takes an
34+
optional ``nuclide`` argument.
35+
- Functions/methods in the :mod:`openmc.deplete` module now accept times in
36+
Julian years (``'a'``).
37+
- The :meth:`openmc.Universe.plot` method now allows a pre-existing axes object
38+
to be passed in.
39+
- Performance optimization for geometries with many complex regions.
40+
- Performance optimization for depletion by avoiding deepcopies and caching
41+
reaction rates.
42+
- The :class:`openmc.RegularMesh` class now has a
43+
:meth:`~openmc.RegularMesh.from_domain` classmethod.
44+
- The :class:`openmc.CylindricalMesh` class now has a
45+
:meth:`~openmc.CylindricalMesh.from_domain` classmethod.
46+
- Improved method to condense diffusion coefficients from the :mod:`openmc.mgxs`
47+
module.
48+
- A new :data:`openmc.config` configuration variable has been introduced that
49+
allows data sources to be specified at runtime or via environment variables.
50+
- The :class:`openmc.EnergyFunctionFilter` class now supports multiple
51+
interpolation schemes, not just linear-linear interpolation.
52+
- The :class:`openmc.DAGMCUniverse` class now has ``material_names``,
53+
``n_cells``, and ``n_surfaces`` attributes.
54+
- A new :func:`openmc.data.decay_photon_energy` function has been added that
55+
returns the energy spectrum of photons emitted from the decay of an unstable
56+
nuclide.
57+
- The :class:`openmc.Material` class also has a new
58+
:attr:`~openmc.Material.decay_photon_energy` attribute that gives the decay
59+
photon energy spectrum from the material based on its constituent nuclides.
60+
- The :class:`openmc.deplete.StepResult` now has a
61+
:meth:`~openmc.deplete.StepResult.get_material` method.
62+
- The :class:`openmc.Source` class now takes a ``domains`` argument that
63+
specifies a list of cells, materials, or universes that is used to reject
64+
source sites (i.e., if the sampled sites are not within the specified domain,
65+
they are rejected).
66+
67+
---------
68+
Bug Fixes
69+
---------
70+
71+
- `Delay call to Tally::set_strides <https://github.com/openmc-dev/openmc/pull/2183>`
72+
- `Fix reading reference direction from XML for angular distributions <https://github.com/openmc-dev/openmc/pull/2204>`_
73+
- `Fix erroneous behavior in Material.add_components <https://github.com/openmc-dev/openmc/pull/2205>`_
74+
- `Fix reading thermal elastic data from ACE <https://github.com/openmc-dev/openmc/pull/2226>`_
75+
- `Fix reading source file with time attribute <https://github.com/openmc-dev/openmc/pull/2228>`_
76+
- `Fix conversion of multiple thermal scattering data files from ACE <https://github.com/openmc-dev/openmc/pull/2232>`_
77+
- `Fix reading values from wwinp file <https://github.com/openmc-dev/openmc/pull/2242>`_
78+
- `Handle possibility of .ppm file in Universe.plot <https://github.com/openmc-dev/openmc/pull/2251>`_
79+
- `Update volume calc types to mitigate overflow issues <https://github.com/openmc-dev/openmc/pull/2270>`_
80+
81+
------------
82+
Contributors
83+
------------
84+
85+
- `Lewis Gross <https://github.com/lewisgross1296>`_
86+
- `Andrew Johnson <https://github.com/drewejohnson>`_
87+
- `Miriam Kreher <https://github.com/mkreher13>`_
88+
- `James Logan <https://github.com/jlogan03>`_
89+
- `Jose Ignacio Marquez Damien <https://github.com/marquezj>`_
90+
- `Josh May <https://github.com/joshmay1>`_
91+
- `Patrick Myers <https://github.com/myerspat>`_
92+
- `Adam Nelson <https://github.com/nelsonag>`_
93+
- `April Novak <https://github.com/aprilnovak>`_
94+
- `Ethan Peterson <https://github.com/eepeterson>`_
95+
- `Gavin Ridley <https://github.com/gridley>`_
96+
- `Paul Romano <https://github.com/paulromano>`_
97+
- `Patrick Shriwise <https://github.com/pshriwise>`_
98+
- `Jonathan Shimwell <https://github.com/Shimwell>`_
99+
- `Olek Yardas <https://github.com/yardasol>`_

docs/source/releasenotes/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Release Notes
77
.. toctree::
88
:maxdepth: 1
99

10+
0.14.0
1011
0.13.1
1112
0.13.0
1213
0.12.2

openmc/material.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,8 @@ def get_nuclides(self, element: Optional[str] = None):
825825
element : str
826826
Specifies the element to match when searching through the nuclides
827827
828+
.. versionadded:: 0.14.0
829+
828830
Returns
829831
-------
830832
nuclides : list of str
@@ -877,6 +879,8 @@ def get_nuclide_atom_densities(self, nuclide: Optional[str] = None):
877879
Nuclide for which atom density is desired. If not specified, the
878880
atom density for each nuclide in the material is given.
879881
882+
.. versionadded:: 0.14.0
883+
880884
Returns
881885
-------
882886
nuclides : dict

openmc/universe.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,19 +650,26 @@ class DAGMCUniverse(UniverseBase):
650650
bounding_box : 2-tuple of numpy.array
651651
Lower-left and upper-right coordinates of an axis-aligned bounding box
652652
of the universe.
653+
654+
.. versionadded:: 0.13.1
653655
material_names : list of str
654656
Return a sorted list of materials names that are contained within the
655657
DAGMC h5m file. This is useful when naming openmc.Material() objects
656658
as each material name present in the DAGMC h5m file must have a
657659
matching openmc.Material() with the same name.
660+
661+
.. versionadded:: 0.14.0
658662
n_cells : int
659663
The number of cells in the DAGMC model. This is the number of cells at
660664
runtime and accounts for the implicit complement whether or not is it
661665
present in the DAGMC file.
666+
667+
.. versionadded:: 0.14.0
662668
n_surfaces : int
663669
The number of surfaces in the model.
664670
665-
.. versionadded:: 0.13.1
671+
.. versionadded:: 0.14.0
672+
666673
"""
667674

668675
def __init__(self,

0 commit comments

Comments
 (0)