From cd4fa9a649b951c70f9ecdbe04e55abbf9133832 Mon Sep 17 00:00:00 2001 From: Sterling Harper Date: Mon, 3 Aug 2015 21:55:08 -0600 Subject: [PATCH] Fix 'atom/b-cm' density type in PyAPI --- openmc/material.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/material.py b/openmc/material.py index 2c10144b3..62e3d16d5 100644 --- a/openmc/material.py +++ b/openmc/material.py @@ -26,7 +26,7 @@ def reset_auto_material_id(): # Units for density supported by OpenMC -DENSITY_UNITS = ['g/cm3', 'g/cc', 'kg/cm3', 'at/b-cm', 'at/cm3', 'sum'] +DENSITY_UNITS = ['g/cm3', 'g/cc', 'kg/cm3', 'atom/b-cm', 'atom/cm3', 'sum'] # Constant for density when not needed NO_DENSITY = 99999.