Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Added missing versionadded directives
  • Loading branch information
paulromano committed Nov 2, 2023
commit 1be40335e500e560f34e4b2f58eff7e965a4139d
4 changes: 4 additions & 0 deletions openmc/deplete/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ def get_activity(
) -> Tuple[np.ndarray, typing.Union[np.ndarray, List[dict]]]:
"""Get activity of material over time.

.. versionadded:: 0.14.0

Parameters
----------
mat : openmc.Material, str
Expand Down Expand Up @@ -220,6 +222,8 @@ def get_decay_heat(
) -> Tuple[np.ndarray, typing.Union[np.ndarray, List[dict]]]:
"""Get decay heat of material over time.

.. versionadded:: 0.14.0

Parameters
----------
mat : openmc.Material, str
Expand Down
4 changes: 3 additions & 1 deletion openmc/model/surface_composite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ def _plane(axis, name, value, boundary_type='transmission', albedo=1.0):
class RectangularPrism(CompositeSurface):
"""Infinite rectangular prism bounded by four planar surfaces.

.. versionadded:: 0.13.4
.. versionadded:: 0.14.0

Parameters
----------
Expand Down Expand Up @@ -1445,6 +1445,8 @@ def __neg__(self):
class HexagonalPrism(CompositeSurface):
"""Hexagonal prism comoposed of six planar surfaces

.. versionadded:: 0.14.0

Parameters
----------
edge_length : float
Expand Down
2 changes: 2 additions & 0 deletions openmc/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,8 @@ class ProjectionPlot(PlotBase):
projections are more similar to a pinhole camera, and orthographic projections
preserve parallel lines and distances.

.. versionadded:: 0.14.0

Parameters
----------
plot_id : int
Expand Down
2 changes: 2 additions & 0 deletions openmc/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ def from_xml_element(cls, elem: ET.Element, meshes=None) -> openmc.SourceBase:
class IndependentSource(SourceBase):
"""Distribution of phase space coordinates for source sites.

.. versionadded:: 0.14.0

Parameters
----------
space : openmc.stats.Spatial
Expand Down