Correcting doc strings for material mapping sent to

This commit is contained in:
Patrick Shriwise 2022-11-04 22:46:11 -05:00
parent 021bb280c9
commit abd3d515b0
2 changed files with 4 additions and 4 deletions

View file

@ -650,7 +650,7 @@ class Cell(IDManagerMixin):
surfaces : dict
Dictionary mapping surface IDs to :class:`openmc.Surface` instances
materials : dict
Dictionary mapping material IDs to :class:`openmc.Material`
Dictionary mapping material ID strings to :class:`openmc.Material`
instances (defined in :math:`openmc.Geometry.from_xml`)
get_universe : function
Function returning universe (defined in

View file

@ -256,9 +256,9 @@ class Geometry:
----------
path : str, optional
Path to geometry XML file
materials : openmc.Materials or None
Materials used to assign to cells. If None, an attempt is made to
generate it from the materials.xml file.
materials : dict
Dictionary mapping material ID strings to :class:`openmc.Material`
instances (defined in :math:`openmc.Geometry.from_xml`)
Returns
-------