From 56c07815ec4ea40ab4859a815b0b7ad79308ce1d Mon Sep 17 00:00:00 2001 From: Sam Powell-Gill Date: Tue, 3 Mar 2020 13:52:21 +0000 Subject: [PATCH] Changed example for mix_materials --- docs/source/usersguide/materials.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/source/usersguide/materials.rst b/docs/source/usersguide/materials.rst index e73d5a9acf..154a474c9c 100644 --- a/docs/source/usersguide/materials.rst +++ b/docs/source/usersguide/materials.rst @@ -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