openmc.capi.Material¶
-
class
openmc.capi.
Material
(uid=None, new=True, index=None)[source]¶ Material stored internally.
This class exposes a material that is stored internally in the OpenMC library. To obtain a view of a material with a given ID, use the
openmc.capi.materials
mapping.Parameters: Variables: - id (int) – ID of the material
- nuclides (list of str) – List of nuclides in the material
- densities (numpy.ndarray) – Array of densities in atom/b-cm