Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ project(openmc C CXX)

# Set version numbers
set(OPENMC_VERSION_MAJOR 0)
set(OPENMC_VERSION_MINOR 13)
set(OPENMC_VERSION_RELEASE 0)
set(OPENMC_VERSION_MINOR 12)
set(OPENMC_VERSION_RELEASE 2)
set(OPENMC_VERSION ${OPENMC_VERSION_MAJOR}.${OPENMC_VERSION_MINOR}.${OPENMC_VERSION_RELEASE})
configure_file(include/openmc/version.h.in "${CMAKE_BINARY_DIR}/include/openmc/version.h" @ONLY)

Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@
# built documents.
#
# The short X.Y version.
version = "0.13"
version = "0.12"
# The full version, including alpha/beta/rc tags.
release = "0.13.0-dev"
release = "0.12.2"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
57 changes: 57 additions & 0 deletions docs/source/releasenotes/0.12.2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
====================
What's New in 0.12.2
====================

.. currentmodule:: openmc

-------
Summary
-------

This release of OpenMC is primarily a hotfix release with numerous important bug
fixes. Several tally-related enhancements have also been added.

------------
New Features
------------

Three tally-related enhancements were added to the code in this release:

- A new :class:`~openmc.CollisionFilter` class that allows tallies to be filtered
by the number of collisions a particle has undergone.
- A `translation` attribute has been added to :class:`~openmc.MeshFilter` that
allows a mesh to be translated from its original position before location
checks are performed.
- The :class:`~openmc.UnstructuredMesh` class now supports libMesh unstructured
meshes to enable better ingration with MOOSE-based applications.

---------
Bug Fixes
---------

- `Reset particle coordinates during find cell operation <https://github.com/openmc-dev/openmc/pull/1809>`_
- `Cover quadric edge case <https://github.com/openmc-dev/openmc/pull/1812>`_
- `Prevent divide-by-zero in bins_crossed methods for meshes <https://github.com/openmc-dev/openmc/pull/1816>`_
- `Fix for translational periodic boundary conditions <https://github.com/openmc-dev/openmc/pull/1820>`_
- `Fix angle sampling in CorrelatedAngleEnergy <https://github.com/openmc-dev/openmc/pull/1821>`_
- `Fix typo in fmt string for a lattice error <https://github.com/openmc-dev/openmc/pull/1824>`_
- `Nu-fission tally and stochastic volume bug fixes <https://github.com/openmc-dev/openmc/pull/1828>`_
- `Make sure failed neighbor list triggers exhaustic search <https://github.com/openmc-dev/openmc/pull/1830>`_
- `Change element to element.title to catch lowercase entries <https://github.com/openmc-dev/openmc/pull/1839>`_
- `Disallow non-current scores with a surface filter <https://github.com/openmc-dev/openmc/pull/1844>`_
- `Depletion operator obeys Materials.cross_sections <https://github.com/openmc-dev/openmc/pull/1846>`_
- `Fix for surface_bins_crossed override <https://github.com/openmc-dev/openmc/pull/1847>`_

------------
Contributors
------------

This release contains new contributions from the following people:

- `Hunter Belanger <https://github.com/HunterBelanger>`_
- `Isaac Griswold-Steiner <https://github.com/isaac-gs>`_
- `Andrew Johnson <https://github.com/drewejohnson>`_
- `Gavin Ridley <https://github.com/gridley>`_
- `Paul Romano <https://github.com/paulromano>`_
- `Patrick Shriwise <https://github.com/pshriwise>`_
- `Jonathan Shimwell <https://github.com/Shimwell>`_
1 change: 1 addition & 0 deletions docs/source/releasenotes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Release Notes
.. toctree::
:maxdepth: 1

0.12.2
0.12.1
0.12.0
0.11.0
Expand Down
2 changes: 1 addition & 1 deletion include/openmc/version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace openmc {
constexpr int VERSION_MAJOR {@OPENMC_VERSION_MAJOR@};
constexpr int VERSION_MINOR {@OPENMC_VERSION_MINOR@};
constexpr int VERSION_RELEASE {@OPENMC_VERSION_RELEASE@};
constexpr bool VERSION_DEV {true};
constexpr bool VERSION_DEV {false};
constexpr std::array<int, 3> VERSION {VERSION_MAJOR, VERSION_MINOR, VERSION_RELEASE};

}
2 changes: 1 addition & 1 deletion openmc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
# Import a few convencience functions that used to be here
from openmc.model import rectangular_prism, hexagonal_prism

__version__ = '0.13.0-dev'
__version__ = '0.12.2'
2 changes: 2 additions & 0 deletions openmc/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,8 @@ def get_pandas_dataframe(self, data_size, stride, **kwargs):
class CollisionFilter(Filter):
"""Bins tally events based on the number of collisions.

.. versionadded:: 0.12.2

Parameters
----------
bins : Iterable of int
Expand Down
3 changes: 3 additions & 0 deletions openmc/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,9 @@ class UnstructuredMesh(MeshBase):

.. versionadded:: 0.12

.. versionchanged:: 0.12.2
Support for libMesh unstructured meshes was added.

Parameters
----------
filename : str
Expand Down