Commit graph

73 commits

Author SHA1 Message Date
Paul Romano
86351747e7 Ensure remove_nuclide removes all matching nuclides. Closes #1532 2020-03-25 09:37:00 -05:00
=shimwell
ffa0cfc03e added tests for number of elements 2020-03-24 13:33:42 +00:00
=shimwell
5fe6576a9c added test to check decimal values fail 2020-03-24 11:57:17 +00:00
=shimwell
8ba369d6cc added elements from formula 2020-03-23 20:15:59 +00:00
Paul Romano
3fc25be950
Merge pull request #1503 from Mikolaj-A-Kowalski/develop
Enrichment of 2-Isotope Elements
2020-03-04 07:38:24 -06:00
Paul Cosgrove
abd8175a15 Changes to be consistent with PEP8 style 2020-02-28 12:36:57 +00:00
Paul Cosgrove
dce773dd14 Added simple test for adding elements by name 2020-02-25 12:34:56 +00:00
Mikolaj Adam Kowalski
d5f9a962e5 Adds general element enrichment to Material
Adds an option to specify an enrichment of an element composed of two
isotopes to Material.add_element
2020-02-14 18:55:50 +00:00
Ethan Peterson
8afa5ded10 Adding mix_materials method to Material class 2020-01-22 19:53:45 -05:00
Andrew Johnson
ff13e98a09
Read in material temperatures from xml subelement
Closes #1280 by reading the temperature from an xml
subelement as it is written, not an attribute.

Added loading of temperature and volume material attributes
from xml in unit test
2019-07-05 14:44:21 -05:00
Paul Romano
3246a9320e Remove option to specify multipole library outside of cross_sections.xml 2018-11-12 13:35:29 -06:00
Paul Romano
c5632794de Add tests for from_xml methods 2018-08-17 12:02:05 -05:00
Paul Romano
0508274a3d Add useful warnings for add_nuclide/add_element 2018-03-15 11:02:07 -05:00
Paul Romano
7622a1a394 Add methods on Material to get mass (if volume specified) 2018-02-22 16:00:32 -06:00
Sterling Harper
d34bdf9b98 Address #967 comments 2018-02-11 18:39:06 -05:00
Sterling Harper
9c53c085d6 Change boric_acid to borated_water; add more units 2018-02-11 15:01:51 -05:00
Sterling Harper
a06190ee40 Add convenience function for boric acid Materials 2018-02-10 02:23:50 -05:00
Paul Romano
347243876f Combine volume calculations into a single unit test 2018-02-05 07:35:48 -06:00
Paul Romano
bf8c556b5a Unit tests for openmc.Cell 2018-02-05 07:35:48 -06:00
Paul Romano
f6fc24c808 Add unit tests for plots 2018-02-05 07:35:48 -06:00
Paul Romano
1432742fbf More tests for material 2018-02-05 07:35:18 -06:00
Paul Romano
b81cbc29fb Add test for Material.add_volume_information 2018-02-05 07:35:18 -06:00
Paul Romano
894ec54ad7 Add unit tests for material classes 2018-02-05 07:35:18 -06:00