Skip to content

Commit aad2d49

Browse files
committed
Change version to 0.12.2, add release notes
1 parent f69149b commit aad2d49

File tree

8 files changed

+69
-6
lines changed

8 files changed

+69
-6
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 13)
7-
set(OPENMC_VERSION_RELEASE 0)
6+
set(OPENMC_VERSION_MINOR 12)
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
@@ -70,9 +70,9 @@
7070
# built documents.
7171
#
7272
# The short X.Y version.
73-
version = "0.13"
73+
version = "0.12"
7474
# The full version, including alpha/beta/rc tags.
75-
release = "0.13.0-dev"
75+
release = "0.12.2"
7676

7777
# The language for content autogenerated by Sphinx. Refer to documentation
7878
# for a list of supported languages.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
====================
2+
What's New in 0.12.2
3+
====================
4+
5+
.. currentmodule:: openmc
6+
7+
-------
8+
Summary
9+
-------
10+
11+
This release of OpenMC is primarily a hotfix release with numerous important bug
12+
fixes. Several tally-related enhancements have also been added.
13+
14+
------------
15+
New Features
16+
------------
17+
18+
Three tally-related enhancements were added to the code in this release:
19+
20+
- A new :class:`~openmc.CollisionFilter` class that allows tallies to be filtered
21+
by the number of collisions a particle has undergone.
22+
- A `translation` attribute has been added to :class:`~openmc.MeshFilter` that
23+
allows a mesh to be translated from its original position before location
24+
checks are performed.
25+
- The :class:`~openmc.UnstructuredMesh` class now supports libMesh unstructured
26+
meshes to enable better ingration with MOOSE-based applications.
27+
28+
---------
29+
Bug Fixes
30+
---------
31+
32+
- `Reset particle coordinates during find cell operation <https://github.com/openmc-dev/openmc/pull/1809>`_
33+
- `Cover quadric edge case <https://github.com/openmc-dev/openmc/pull/1812>`_
34+
- `Prevent divide-by-zero in bins_crossed methods for meshes <https://github.com/openmc-dev/openmc/pull/1816>`_
35+
- `Fix for translational periodic boundary conditions <https://github.com/openmc-dev/openmc/pull/1820>`_
36+
- `Fix angle sampling in CorrelatedAngleEnergy <https://github.com/openmc-dev/openmc/pull/1821>`_
37+
- `Fix typo in fmt string for a lattice error <https://github.com/openmc-dev/openmc/pull/1824>`_
38+
- `Nu-fission tally and stochastic volume bug fixes <https://github.com/openmc-dev/openmc/pull/1828>`_
39+
- `Make sure failed neighbor list triggers exhaustic search <https://github.com/openmc-dev/openmc/pull/1830>`_
40+
- `Change element to element.title to catch lowercase entries <https://github.com/openmc-dev/openmc/pull/1839>`_
41+
- `Disallow non-current scores with a surface filter <https://github.com/openmc-dev/openmc/pull/1844>`_
42+
- `Depletion operator obeys Materials.cross_sections <https://github.com/openmc-dev/openmc/pull/1846>`_
43+
- `Fix for surface_bins_crossed override <https://github.com/openmc-dev/openmc/pull/1847>`_
44+
45+
------------
46+
Contributors
47+
------------
48+
49+
This release contains new contributions from the following people:
50+
51+
- `Hunter Belanger <https://github.com/HunterBelanger>`_
52+
- `Isaac Griswold-Steiner <https://github.com/isaac-gs>`_
53+
- `Andrew Johnson <https://github.com/drewejohnson>`_
54+
- `Gavin Ridley <https://github.com/gridley>`_
55+
- `Paul Romano <https://github.com/paulromano>`_
56+
- `Patrick Shriwise <https://github.com/pshriwise>`_
57+
- `Jonathan Shimwell <https://github.com/Shimwell>`_

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.12.2
1011
0.12.1
1112
0.12.0
1213
0.11.0

include/openmc/version.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace openmc {
66
constexpr int VERSION_MAJOR {@OPENMC_VERSION_MAJOR@};
77
constexpr int VERSION_MINOR {@OPENMC_VERSION_MINOR@};
88
constexpr int VERSION_RELEASE {@OPENMC_VERSION_RELEASE@};
9-
constexpr bool VERSION_DEV {true};
9+
constexpr bool VERSION_DEV {false};
1010
constexpr std::array<int, 3> VERSION {VERSION_MAJOR, VERSION_MINOR, VERSION_RELEASE};
1111

1212
}

openmc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@
3434
# Import a few convencience functions that used to be here
3535
from openmc.model import rectangular_prism, hexagonal_prism
3636

37-
__version__ = '0.13.0-dev'
37+
__version__ = '0.12.2'

openmc/filter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,8 @@ def get_pandas_dataframe(self, data_size, stride, **kwargs):
993993
class CollisionFilter(Filter):
994994
"""Bins tally events based on the number of collisions.
995995
996+
.. versionadded:: 0.12.2
997+
996998
Parameters
997999
----------
9981000
bins : Iterable of int

openmc/mesh.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,9 @@ class UnstructuredMesh(MeshBase):
605605
606606
.. versionadded:: 0.12
607607
608+
.. versionchanged:: 0.12.2
609+
Support for libMesh unstructured meshes was added.
610+
608611
Parameters
609612
----------
610613
filename : str

0 commit comments

Comments
 (0)