Skip to content

Commit 030f73a

Browse files
authored
Merge pull request #2269 from paulromano/release-0.13.2
Release of version 0.13.2
2 parents 9bf069e + 4fd665c commit 030f73a

File tree

17 files changed

+141
-27
lines changed

17 files changed

+141
-27
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ project(openmc C CXX)
33

44
# Set version numbers
55
set(OPENMC_VERSION_MAJOR 0)
6-
set(OPENMC_VERSION_MINOR 14)
7-
set(OPENMC_VERSION_RELEASE 0)
6+
set(OPENMC_VERSION_MINOR 13)
7+
set(OPENMC_VERSION_RELEASE 2)
88
set(OPENMC_VERSION ${OPENMC_VERSION_MAJOR}.${OPENMC_VERSION_MINOR}.${OPENMC_VERSION_RELEASE})
99
configure_file(include/openmc/version.h.in "${CMAKE_BINARY_DIR}/include/openmc/version.h" @ONLY)
1010

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@
6969
# built documents.
7070
#
7171
# The short X.Y version.
72-
version = "0.14"
72+
version = "0.13"
7373
# The full version, including alpha/beta/rc tags.
74-
release = "0.14.0"
74+
release = "0.13.2"
7575

7676
# The language for content autogenerated by Sphinx. Refer to documentation
7777
# for a list of supported languages.

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.13.2
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.13.2
1011
0.13.1
1112
0.13.0
1213
0.12.2

include/openmc/constants.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,6 @@ enum class RunMode {
340340

341341
enum class GeometryType { CSG, DAG };
342342

343-
//==============================================================================
344-
// Volume Calculation Constants
345-
346-
constexpr uint64_t UINT64_T_MAX {std::numeric_limits<uint64_t>::max()};
347-
348343
} // namespace openmc
349344

350345
#endif // OPENMC_CONSTANTS_H

include/openmc/version.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace openmc {
1010
constexpr int VERSION_MAJOR {@OPENMC_VERSION_MAJOR@};
1111
constexpr int VERSION_MINOR {@OPENMC_VERSION_MINOR@};
1212
constexpr int VERSION_RELEASE {@OPENMC_VERSION_RELEASE@};
13-
constexpr bool VERSION_DEV {true};
13+
constexpr bool VERSION_DEV {false};
1414
constexpr std::array<int, 3> VERSION {VERSION_MAJOR, VERSION_MINOR, VERSION_RELEASE};
1515
// clang-format on
1616

openmc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@
3838
from openmc.model import rectangular_prism, hexagonal_prism, Model
3939

4040

41-
__version__ = '0.14.0-dev'
41+
__version__ = '0.13.2'

openmc/data/decay.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ def decay_photon_energy(nuclide: str) -> Optional[Univariate]:
587587
for the first time, you need to ensure that a depletion chain has been
588588
specified in openmc.config['chain_file'].
589589
590-
.. versionadded:: 0.14.0
590+
.. versionadded:: 0.13.2
591591
592592
Parameters
593593
----------

0 commit comments

Comments
 (0)