diff --git a/CMakeLists.txt b/CMakeLists.txt index 69e7ad9a9..d704dba39 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 4) +set(OPENMC_VERSION_MINOR 14) +set(OPENMC_VERSION_RELEASE 0) 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) diff --git a/docs/source/conf.py b/docs/source/conf.py index dc5acd5f6..735f01b2f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -69,9 +69,9 @@ copyright = '2011-2023, Massachusetts Institute of Technology, UChicago Argonne # built documents. # # The short X.Y version. -version = "0.13" +version = "0.14" # The full version, including alpha/beta/rc tags. -release = "0.13.4" +release = "0.14.0" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/openmc/__init__.py b/openmc/__init__.py index 5bb150fb0..7da055d6e 100644 --- a/openmc/__init__.py +++ b/openmc/__init__.py @@ -39,4 +39,4 @@ from .config import * from openmc.model import rectangular_prism, hexagonal_prism, Model -__version__ = '0.13.4-dev' +__version__ = '0.14.0-dev' diff --git a/openmc/bounding_box.py b/openmc/bounding_box.py index daa6a318e..b74931d73 100644 --- a/openmc/bounding_box.py +++ b/openmc/bounding_box.py @@ -9,7 +9,7 @@ from .checkvalue import check_length class BoundingBox: """Axis-aligned bounding box. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/cell.py b/openmc/cell.py index 9a744910c..956d727d7 100644 --- a/openmc/cell.py +++ b/openmc/cell.py @@ -562,7 +562,7 @@ class Cell(IDManagerMixin): def plot(self, *args, **kwargs): """Display a slice plot of the cell. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/data/library.py b/openmc/data/library.py index 210270749..397be3faf 100644 --- a/openmc/data/library.py +++ b/openmc/data/library.py @@ -15,7 +15,7 @@ class DataLibrary(list): cross section data from a single file. The dictionary has keys 'path', 'type', and 'materials'. - .. versionchanged:: 0.13.4 + .. versionchanged:: 0.14.0 This class now behaves like a list rather than requiring you to access the list of libraries through a special attribute. diff --git a/openmc/deplete/abc.py b/openmc/deplete/abc.py index 1acfe6b1a..d135b2dae 100644 --- a/openmc/deplete/abc.py +++ b/openmc/deplete/abc.py @@ -554,7 +554,7 @@ class Integrator(ABC): transfer_rates : openmc.deplete.TransferRates Instance of TransferRates class to perform continuous transfer during depletion - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 """ diff --git a/openmc/deplete/chain.py b/openmc/deplete/chain.py index 4076995d8..dc01a1b34 100644 --- a/openmc/deplete/chain.py +++ b/openmc/deplete/chain.py @@ -689,7 +689,7 @@ class Chain: def form_rr_term(self, tr_rates, mats): """Function to form the transfer rate term matrices. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/deplete/coupled_operator.py b/openmc/deplete/coupled_operator.py index 9e6b5fcd3..0d778c745 100644 --- a/openmc/deplete/coupled_operator.py +++ b/openmc/deplete/coupled_operator.py @@ -170,7 +170,7 @@ class CoupledOperator(OpenMCOperator): equally between the new materials, 'match cell' sets the volume of the material to volume of the cell they fill. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Attributes ---------- diff --git a/openmc/deplete/independent_operator.py b/openmc/deplete/independent_operator.py index d089ac373..b45c8ad75 100644 --- a/openmc/deplete/independent_operator.py +++ b/openmc/deplete/independent_operator.py @@ -39,7 +39,7 @@ class IndependentOperator(OpenMCOperator): .. versionadded:: 0.13.1 - .. versionchanged:: 0.13.4 + .. versionchanged:: 0.14.0 Arguments updated to include list of fluxes and microscopic cross sections. diff --git a/openmc/deplete/microxs.py b/openmc/deplete/microxs.py index 59c7b18e1..e145bce87 100644 --- a/openmc/deplete/microxs.py +++ b/openmc/deplete/microxs.py @@ -33,7 +33,7 @@ def get_microxs_and_flux( ) -> Tuple[List[np.ndarray], List[MicroXS]]: """Generate a microscopic cross sections and flux from a Model - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- @@ -156,7 +156,7 @@ class MicroXS: .. versionadded:: 0.13.1 - .. versionchanged:: 0.13.4 + .. versionchanged:: 0.14.0 Class was heavily refactored and no longer subclasses pandas.DataFrame. Parameters diff --git a/openmc/deplete/openmc_operator.py b/openmc/deplete/openmc_operator.py index 766fbf133..74dbf8fee 100644 --- a/openmc/deplete/openmc_operator.py +++ b/openmc/deplete/openmc_operator.py @@ -64,7 +64,7 @@ class OpenMCOperator(TransportOperator): equally between the new materials, 'match cell' sets the volume of the material to volume of the cell they fill. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Attributes ---------- diff --git a/openmc/deplete/pool.py b/openmc/deplete/pool.py index 9dc9ea468..27ecaa4dd 100644 --- a/openmc/deplete/pool.py +++ b/openmc/deplete/pool.py @@ -66,7 +66,7 @@ def deplete(func, chain, n, rates, dt, matrix_func=None, transfer_rates=None, transfer_rates : openmc.deplete.TransferRates, Optional Object to perform continuous reprocessing. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 matrix_args: Any, optional Additional arguments passed to matrix_func diff --git a/openmc/deplete/results.py b/openmc/deplete/results.py index d205bf571..652896ab5 100644 --- a/openmc/deplete/results.py +++ b/openmc/deplete/results.py @@ -273,7 +273,7 @@ class Results(list): ) -> Tuple[np.ndarray, np.ndarray]: """Get mass of nuclides over time from a single material - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/deplete/stepresult.py b/openmc/deplete/stepresult.py index a3aacae41..372f7cf25 100644 --- a/openmc/deplete/stepresult.py +++ b/openmc/deplete/stepresult.py @@ -534,7 +534,7 @@ class StepResult: path : PathLike Path to file to write. Defaults to 'depletion_results.h5'. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 """ # Get indexing terms vol_dict, nuc_list, burn_list, full_burn_list = op.get_results_info() diff --git a/openmc/deplete/transfer_rates.py b/openmc/deplete/transfer_rates.py index da0bb338f..01c9b2e35 100644 --- a/openmc/deplete/transfer_rates.py +++ b/openmc/deplete/transfer_rates.py @@ -16,7 +16,7 @@ class TransferRates: An instance of this class can be passed directly to an instance of one of the :class:`openmc.deplete.Integrator` classes. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/geometry.py b/openmc/geometry.py index b2b679de3..fb2488f78 100644 --- a/openmc/geometry.py +++ b/openmc/geometry.py @@ -738,7 +738,7 @@ class Geometry: def plot(self, *args, **kwargs): """Display a slice plot of the geometry. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/lib/core.py b/openmc/lib/core.py index 8d6442637..25dc65fe8 100644 --- a/openmc/lib/core.py +++ b/openmc/lib/core.py @@ -174,7 +174,7 @@ def export_properties(filename=None, output=True): def export_weight_windows(filename="weight_windows.h5", output=True): """Export weight windows. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- @@ -198,7 +198,7 @@ def export_weight_windows(filename="weight_windows.h5", output=True): def import_weight_windows(filename='weight_windows.h5', output=True): """Import weight windows. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/lib/tally.py b/openmc/lib/tally.py index 417d084a6..d0b34aedc 100644 --- a/openmc/lib/tally.py +++ b/openmc/lib/tally.py @@ -183,7 +183,7 @@ class Tally(_FortranObjectWithID): multiply_density : bool Whether reaction rates should be multiplied by atom density - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 nuclides : list of str List of nuclides to score results for num_realizations : int diff --git a/openmc/lib/weight_windows.py b/openmc/lib/weight_windows.py index 2984eb233..d92f01917 100644 --- a/openmc/lib/weight_windows.py +++ b/openmc/lib/weight_windows.py @@ -109,7 +109,7 @@ class WeightWindows(_FortranObjectWithID): OpenMC library. To obtain a view of a weight windows object with a given ID, use the :data:`openmc.lib.weight_windows` mapping. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- @@ -392,4 +392,4 @@ class _WeightWindowsMapping(Mapping): def __delitem__(self): raise NotImplementedError("WeightWindows object remove not implemented") -weight_windows = _WeightWindowsMapping() \ No newline at end of file +weight_windows = _WeightWindowsMapping() diff --git a/openmc/material.py b/openmc/material.py index 5af56d64f..6b71f56a8 100644 --- a/openmc/material.py +++ b/openmc/material.py @@ -289,7 +289,7 @@ class Material(IDManagerMixin): ) -> Optional[Univariate]: r"""Return energy distribution of decay photons from unstable nuclides. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/mesh.py b/openmc/mesh.py index c0203dcd9..4783bd1e1 100644 --- a/openmc/mesh.py +++ b/openmc/mesh.py @@ -1521,7 +1521,7 @@ class CylindricalMesh(StructuredMesh): @property def vertices(self): - warnings.warn('Cartesian coordinates are returned from this property as of version 0.13.4') + warnings.warn('Cartesian coordinates are returned from this property as of version 0.14.0') return self._convert_to_cartesian(self.vertices_cylindrical, self.origin) @property @@ -1532,7 +1532,7 @@ class CylindricalMesh(StructuredMesh): @property def centroids(self): - warnings.warn('Cartesian coordinates are returned from this property as of version 0.13.4') + warnings.warn('Cartesian coordinates are returned from this property as of version 0.14.0') return self._convert_to_cartesian(self.centroids_cylindrical, self.origin) @property @@ -1816,7 +1816,7 @@ class SphericalMesh(StructuredMesh): @property def vertices(self): - warnings.warn('Cartesian coordinates are returned from this property as of version 0.13.4') + warnings.warn('Cartesian coordinates are returned from this property as of version 0.14.0') return self._convert_to_cartesian(self.vertices_spherical, self.origin) @property @@ -1827,7 +1827,7 @@ class SphericalMesh(StructuredMesh): @property def centroids(self): - warnings.warn('Cartesian coordinates are returned from this property as of version 0.13.4') + warnings.warn('Cartesian coordinates are returned from this property as of version 0.14.0') return self._convert_to_cartesian(self.centroids_spherical, self.origin) @property diff --git a/openmc/mgxs/groups.py b/openmc/mgxs/groups.py index ef4b78f7e..182402ed7 100644 --- a/openmc/mgxs/groups.py +++ b/openmc/mgxs/groups.py @@ -17,7 +17,7 @@ class EnergyGroups: The energy group boundaries in [eV] or the name of the group structure (Must be a valid key in the openmc.mgxs.GROUP_STRUCTURES dictionary). - .. versionchanged:: 0.13.4 + .. versionchanged:: 0.14.0 Changed to allow a string specifying the group structure name. Attributes diff --git a/openmc/model/model.py b/openmc/model/model.py index 2381fb8ab..a40a79bc9 100644 --- a/openmc/model/model.py +++ b/openmc/model/model.py @@ -1019,7 +1019,7 @@ class Model: def differentiate_depletable_mats(self, diff_volume_method: str): """Assign distribmats for each depletable material - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/model/surface_composite.py b/openmc/model/surface_composite.py index 279f3ed06..918bd8444 100644 --- a/openmc/model/surface_composite.py +++ b/openmc/model/surface_composite.py @@ -1232,7 +1232,7 @@ class CruciformPrism(CompositeSurface): multiple distances from the center. Equivalent to the 'gcross' derived surface in Serpent. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/plots.py b/openmc/plots.py index 6afe3ea33..5170a3e7d 100644 --- a/openmc/plots.py +++ b/openmc/plots.py @@ -184,7 +184,7 @@ def _get_plot_image(plot, cwd): def voxel_to_vtk(voxel_file: PathLike, output: PathLike = 'plot.vti'): """Converts a voxel HDF5 file to a VTK file - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- @@ -943,7 +943,7 @@ class Plot(PlotBase): This method runs OpenMC in plotting mode to produce a .vti file. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/settings.py b/openmc/settings.py index 91e42a28b..d8f74dd11 100644 --- a/openmc/settings.py +++ b/openmc/settings.py @@ -124,7 +124,7 @@ class Settings: Maximum number of particle restart files (per MPI process) to write for lost particles. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 no_reduce : bool Indicate that all user-defined and global tallies should not be reduced across processes in a parallel calculation. @@ -240,11 +240,11 @@ class Settings: Indicates the checkpoints for weight window split/roulettes. Valid keys include "collision" and "surface". Values must be of type bool. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 weight_window_generators : WeightWindowGenerator or iterable of WeightWindowGenerator Weight windows generation parameters to apply during simulation - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 create_delayed_neutrons : bool Whether delayed neutrons are created in fission. @@ -258,7 +258,7 @@ class Settings: weight_windows_file: Pathlike Path to a weight window file to load during simulation initialization - .. versionadded::0.13.4 + .. versionadded::0.14.0 write_initial_source : bool Indicate whether to write the initial source distribution to file """ diff --git a/openmc/source.py b/openmc/source.py index 0e17938a8..c95bf87b0 100644 --- a/openmc/source.py +++ b/openmc/source.py @@ -154,7 +154,7 @@ class IndependentSource(SourceBase): type : str Indicator of source type: 'independent' - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 particle : {'neutron', 'photon'} Source particle type @@ -392,7 +392,7 @@ def Source(*args, **kwargs): class CompiledSource(SourceBase): """A source based on a compiled shared library - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- @@ -500,7 +500,7 @@ class CompiledSource(SourceBase): class FileSource(SourceBase): """A source based on particles stored in a file - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/stats/univariate.py b/openmc/stats/univariate.py index 01c55239d..b33f88af8 100644 --- a/openmc/stats/univariate.py +++ b/openmc/stats/univariate.py @@ -266,7 +266,7 @@ class Discrete(Univariate): function will remove any low-importance points such that :math:`\sum_i x_i p_i` is preserved to within some threshold. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- @@ -1281,7 +1281,7 @@ class Mixture(Univariate): function will remove any low-importance points such that :math:`\sum_i x_i p_i` is preserved to within some threshold. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ---------- diff --git a/openmc/tallies.py b/openmc/tallies.py index 5de00f43c..b6cd4d139 100644 --- a/openmc/tallies.py +++ b/openmc/tallies.py @@ -57,7 +57,7 @@ class Tally(IDManagerMixin): multiply_density : bool Whether reaction rates should be multiplied by atom density - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 filters : list of openmc.Filter List of specified filters for the tally nuclides : list of str diff --git a/openmc/universe.py b/openmc/universe.py index 44f95c1d2..bc122b03d 100644 --- a/openmc/universe.py +++ b/openmc/universe.py @@ -349,19 +349,19 @@ class Universe(UniverseBase): legend : bool Whether a legend showing material or cell names should be drawn - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 legend_kwargs : dict Keyword arguments passed to :func:`matplotlib.pyplot.legend`. - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 outline : bool Whether outlines between color boundaries should be drawn - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 axis_units : {'km', 'm', 'cm', 'mm'} Units used on the plot axis - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 **kwargs Keyword arguments passed to :func:`matplotlib.pyplot.imshow` diff --git a/openmc/weight_windows.py b/openmc/weight_windows.py index c7649079b..2b545a976 100644 --- a/openmc/weight_windows.py +++ b/openmc/weight_windows.py @@ -922,7 +922,7 @@ class WeightWindowGenerator: def hdf5_to_wws(path='weight_windows.h5'): """Create WeightWindows instances from a weight windows HDF5 file - .. versionadded:: 0.13.4 + .. versionadded:: 0.14.0 Parameters ----------