mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Changed example for mix_materials
This commit is contained in:
parent
97a835cc24
commit
56c07815ec
1 changed files with 1 additions and 2 deletions
|
|
@ -156,8 +156,7 @@ material with 3% plutonium oxide by weight could be created using the following:
|
|||
|
||||
::
|
||||
|
||||
mox = openmc.Material()
|
||||
mox.mix_materials([uo2, puo2], [0.97, 0.03], 'wo')
|
||||
mox = openmc.Material.mix_materials([uo2, puo2], [0.97, 0.03], 'wo')
|
||||
|
||||
It should be noted that if mixing fractions are specifed as atomic or weight
|
||||
fractions, the sum of the given fractions should be one. If volume fractions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue