Skip to content

Commit

Permalink
Merge pull request #1613 from paulromano/release-prep
Browse files Browse the repository at this point in the history
Preparation for 0.12.0 release
  • Loading branch information
amandalund authored Jul 22, 2020
2 parents ac8dd92 + 01183d0 commit 1040276
Show file tree
Hide file tree
Showing 6 changed files with 163 additions and 204 deletions.
18 changes: 13 additions & 5 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
include CMakeLists.txt
include LICENSE
include CODE_OF_CONDUCT.md
include CODEOWNERS
include CONTRIBUTING.md
include Dockerfile
include schemas.xml
include pyproject.toml
include pytest.ini
include openmc/data/reconstruct.pyx
include docs/source/_templates/layout.html
include docs/sphinxext/LICENSE
recursive-include . *.rst
recursive-include cmake *.cmake
global-include *.cmake
global-include *.cmake.in
global-include *.rst
recursive-include docs *.css
recursive-include docs *.dia
recursive-include docs *.png
Expand All @@ -23,8 +25,10 @@ recursive-include examples *.ipynb
recursive-include examples *.png
recursive-include examples *.py
recursive-include examples *.xml
recursive-include include *.h
recursive-include man *.1
recursive-include src *.F90
recursive-inlcude openmc *.pyx
recursive-include openmc *.c
recursive-include src *.c
recursive-include src *.cc
recursive-include src *.cpp
Expand All @@ -34,13 +38,17 @@ recursive-include src *.rnc
recursive-include src *.rng
recursive-include tests *.dat
recursive-include tests *.h5
recursive-inlcude tests *.h5m
recursive-include tests *.py
recursive-include tests *.xml
recursive-include vendor CMakeLists.txt
recursive-include vendor *.cmake.in
recursive-include vendor *.cc
recursive-include vendor *.cpp
recursive-include vendor *.h
recursive-include vendor *.hh
recursive-include vendor *.hpp
recursive-include vendor *.pc.in
recursive-include vendor *.natvis
include vendor/gsl-lite/include/gsl/gsl
prune docs/build
prune docs/source/pythonapi/generated/
149 changes: 149 additions & 0 deletions docs/source/releasenotes/0.12.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
====================
What's New in 0.12.0
====================

.. currentmodule:: openmc

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

This release of OpenMC includes an assortment of new features and many bug fixes.
In particular, the :mod:`openmc.deplete` module has been heavily tested which
has resulted in a number of usability improvements, bug fixes, and other
enhancements. Energy deposition calculations, particularly for coupled
neutron-photon simulations, have been improved as well.

Improvements in modeling capabilities continue to be added to the code,
including the ability to rotate surfaces in the Python API, several new
"composite" surfaces, a variety of new methods on :class:`openmc.Material`,
unstructured mesh tallies that leverage the existing DAGMC infrastructure,
effective dose coefficients from ICRP-116, and a new cell instance tally
filter.

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

- All surfaces now have a `rotate` method that allows them to be rotated.
- Several "composite" surfaces, which are actually composed of multiple surfaces
but can be treated as a normal surface through the -/+ unary operators, have
been added. These include:

- :class:`openmc.model.RightCircularCylinder`
- :class:`openmc.model.RectangularParallelepiped`
- :class:`openmc.model.XConeOneSided` (and equivalent versions for y- and z-axes)

- Various improvements related to depletion:

- The matrix exponential solver can now be configured through the `solver`
argument on depletion integrator classes.
- The :meth:`openmc.deplete.Chain.reduce` method can automatically reduce the
number of nuclides in a depletion chain.
- Depletion integrator classes now allow a user to specify timesteps in several
units (s, min, h, d, MWd/kg).
- :meth:`openmc.deplete.ResultsList.get_atoms` now allows a user to obtain
depleted material compositions in atom/b-cm.

- Several new methods on :class:`openmc.Material`:

- The :meth:`openmc.Material.add_elements_from_formula` method allows a user
to create a material based on a chemical formula.
- :meth:`openmc.Material.add_element` now supports the `enrichment` argument for
non-uranium elements when only two isotopes are naturally occurring.
- :meth:`openmc.Material.add_element` now supports adding elements by name
rather than by symbol.
- The :meth:`openmc.Material.get_elements` method returns a list of elements
within a material.
- The :meth:`openmc.Material.mix_materials` method allows multiple materials to
be mixed together based on atom, weight, or volume fractions.

- The acceptable number of lost particles can now be configured through
:attr:`openmc.Settings.max_lost_particles` and
:attr:`openmc.Settings.rel_max_lost_particles`.
- Delayed photons produced from fission are now accounted for by default by
scaling the yield of prompt fission photons. This behavior can be modified
through the :attr:`openmc.Settings.delayed_photon_scaling` attribute.
- A trigger can now be specified for a volume calculation via the
:meth:`openmc.VolumeCalculation.set_trigger` method.
- The :class:`openmc.stats.SphericalIndependent` and
:class:`openmc.stats.CylindricalIndependent` classes allow a user to
specify source distributions based on spherical or cylindrical coordinates.
- Custom external source distributions can be used via the
:attr:`openmc.Source.library` attribute.
- Unstructured mesh class, :class:`openmc.UnstructuredMesh`, that can be used in
tallies.
- The :class:`openmc.CellInstanceFilter` class allows one or more instances of a
repeated cell to be tallied. This is effectively a more flexible version of
the existing :class:`openmc.DistribcellFilter` class.
- The :func:`openmc.data.dose_coefficients` function provides effective dose
coefficients from ICRP-116 and can be used in conjunction with
:class:`openmc.EnergyFunctionFilter` in a tally.

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

- `Keep user-supplied prev_results on operator <https://github.com/openmc-dev/openmc/pull/1605>`_
- `Fix bug when S(a,b) tables appear in depletable material <https://github.com/openmc-dev/openmc/pull/1605>`_
- `DAGMC fix for implicit complement material assignment <https://github.com/openmc-dev/openmc/pull/1604>`_
- `Bug fix for tallying reaction rates in coupled n-p runs <https://github.com/openmc-dev/openmc/pull/1603>`_
- `Corrected issue with multiplicity matrix <https://github.com/openmc-dev/openmc/pull/1598>`_
- `Fix depletion with photon transport <https://github.com/openmc-dev/openmc/pull/1595>`_
- `Fix secondary photon creation <https://github.com/openmc-dev/openmc/pull/1591>`_
- `Bug fix for total xs plotting <https://github.com/openmc-dev/openmc/pull/1563>`_
- `Account for light nuclide production in depletion <https://github.com/openmc-dev/openmc/pull/1555>`_
- `Reset timer in depletion calculations <https://github.com/openmc-dev/openmc/pull/1539>`_
- `Fix for Model.run <https://github.com/openmc-dev/openmc/pull/1536>`_
- `Ensure NJOY output goes to specified directory <https://github.com/openmc-dev/openmc/pull/1522>`_
- `Fix bug preventing creating photon data <https://github.com/openmc-dev/openmc/pull/1489>`_
- `Fix bug when surface ID > 999999 <https://github.com/openmc-dev/openmc/pull/1486>`_
- `Fix bug for reading output settings in Settings.from_xml <https://github.com/openmc-dev/openmc/pull/1478>`_
- `Fix improve energy deposition for coupled neutron-photon <https://github.com/openmc-dev/openmc/pull/1449>`_
- `Use number of particles for tally normalization <https://github.com/openmc-dev/openmc/pull/1442>`_
- `Fix a number of problems related to photoatomic data <https://github.com/openmc-dev/openmc/pull/1425>`_
- `Fix cosine smearing for S(a,b) <https://github.com/openmc-dev/openmc/pull/1420>`_
- `Use relative distances for coincidence test in hex lattice <https://github.com/openmc-dev/openmc/pull/1414>`_
- `Fix RPATH for non-Debian linux systems <https://github.com/openmc-dev/openmc/pull/1411>`_
- `Fix mesh plotter energy filter bins <https://github.com/openmc-dev/openmc/pull/1409>`_
- `Fix memory leak <https://github.com/openmc-dev/openmc/pull/1395>`_
- `Fix volume allocation related to burnable materials <https://github.com/openmc-dev/openmc/pull/1392>`_
- `Fix tally mesh bug for short tracks <https://github.com/openmc-dev/openmc/pull/1387>`_
- `DAGMC void material assignment fix <https://github.com/openmc-dev/openmc/pull/1375>`_
- `Fix for Mesh __repr__ methods <https://github.com/openmc-dev/openmc/pull/1385>`_

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

This release contains new contributions from the following people:

- `Paul Cosgrove <https://github.com/ChasingNeutrons>`_
- `Steven Dargaville <https://github.com/stevendargaville>`_
- `Andrew Davis <https://github.com/makeclean>`_
- `Iurii Drobyshev <https://github.com/dryuri92>`_
- `Guillaume Giudicelli <https://github.com/GiudGiud>`_
- `Alec Golas <https://github.com/awgolas>`_
- `Avery Grieve <https://github.com/NuclearEngideer>`_
- `Sterling Harper <https://github.com/smharper>`_
- `Yuan Hu <https://github.com/YuanHu-PKU-KIT>`_
- `Yue Jin <https://github.com/kingyue737>`_
- `Andrew Johnson <https://github.com/drewejohnson>`_
- `Mikolaj Kowalski <https://github.com/Mikolaj-A-Kowalski>`_
- `Shikhar Kumar <https://github.com/shikhar413>`_
- `Jingang Liang <https://github.com/liangjg>`_
- `David Long <https://github.com/davidjohnlong>`_
- `Amanda Lund <https://github.com/amandalund>`_
- `Alex Lyons <https://github.com/alex-lyons>`_
- `Adam Nelson <https://github.com/nelsonag>`_
- `Ethan Peterson <https://github.com/eepeterson>`_
- `Sam Powell-Gill <https://github.com/sampug>`_
- `Ariful Islam Pranto <https://github.com/AI-Pranto>`_
- `Simon Richards <https://github.com/simondrichards>`_
- `Gavin Ridley <https://github.com/gridley>`_
- `Paul Romano <https://github.com/paulromano>`_
- `Jonathan Shimwell <https://github.com/Shimwell>`_
- `Patrick Shriwise <https://github.com/pshriwise>`_
- `John Tramm <https://github.com/jtramm>`_
- `Paul P.H. Wilson <https://github.com/gonuke>`_
- `Jiankai Yu <https://github.com/rockfool>`_
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.0
0.11.0
0.10.0
0.9.0
Expand Down
77 changes: 0 additions & 77 deletions scripts/openmc-get-photon-data

This file was deleted.

69 changes: 0 additions & 69 deletions scripts/openmc-make-compton

This file was deleted.

Loading

0 comments on commit 1040276

Please sign in to comment.