mcdc.Material¶
- class mcdc.Material(name: str = '', nuclide_composition: dict[str, float] = {}, element_composition: dict[str, float] = {}, temperature: float = 293.6)¶
Define a continuous-energy material from a nuclide composition.
- Parameters:
name (str, optional) – User label.
nuclide_composition (dict) – Dictionary mapping nuclide names (str) to atom densities (float).
element_composition (dict) – Dictionary mapping element names (str) to atom densities (float).
temperature (float, optional) – Temperature in Kelvin (default 293.6 K).
- Returns:
The material object.
- Return type:
Notes
Requires the
MCDC_LIBenvironment variable to point to the nuclear data library directory.See also
mcdc.MaterialMGCreates a multigroup material.