Change version to 0.12.2, add release notes

This commit is contained in:
Paul Romano 2021-06-09 17:03:57 +07:00
parent f69149b66a
commit aad2d4941d
8 changed files with 69 additions and 6 deletions

View file

@ -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)

View file

@ -70,9 +70,9 @@ copyright = '2011-2021, Massachusetts Institute of Technology and OpenMC contrib
# 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.

View file

@ -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>`_

View file

@ -7,6 +7,7 @@ Release Notes
.. toctree::
:maxdepth: 1
0.12.2
0.12.1
0.12.0
0.11.0

View file

@ -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};
}

View file

@ -34,4 +34,4 @@ from . import examples
# 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'

View file

@ -993,6 +993,8 @@ class MeshSurfaceFilter(MeshFilter):
class CollisionFilter(Filter):
"""Bins tally events based on the number of collisions.
.. versionadded:: 0.12.2
Parameters
----------
bins : Iterable of int

View file

@ -605,6 +605,9 @@ class UnstructuredMesh(MeshBase):
.. versionadded:: 0.12
.. versionchanged:: 0.12.2
Support for libMesh unstructured meshes was added.
Parameters
----------
filename : str