Commit graph

184 commits

Author SHA1 Message Date
liangjg
3846168e70 revert the function calulcating fissionable mass 2019-01-02 10:39:23 -05:00
liangjg
2d613aab54 remove heavy_metal_mass as we already have material.fissionable_mass 2018-12-20 09:41:37 -05:00
liangjg
6e1114dcab address review comments 2018-12-20 09:10:02 -05:00
liangjg
493341dbe1 heavy metal: atomic number >= 90 2018-12-18 10:46:25 -05:00
liangjg
86600e6c4a power density can be speicifed in depletion 2018-12-17 23:21:31 -05:00
Paul Romano
3246a9320e Remove option to specify multipole library outside of cross_sections.xml 2018-11-12 13:35:29 -06:00
Sterling Harper
b941d3aaa4
Merge pull request #1052 from paulromano/from-xml
Add from_xml() classmethods on Geometry and Materials
2018-08-24 14:21:47 -04:00
Paul Romano
fbf7713a33 Split up Geometry.from_xml, rename clean_xml -> _xml 2018-08-21 07:47:29 -05:00
Paul Romano
c5632794de Add tests for from_xml methods 2018-08-17 12:02:05 -05:00
Paul Romano
f42a75a9e1 Add Geometry.from_xml() capability 2018-08-17 12:02:02 -05:00
Paul Romano
26c54e5483 Add Material.from_xml_element and Materials.from_xml classmethods 2018-08-17 09:56:46 -05:00
Paul Romano
8106329fe8 Add material volumes to XML and Material type 2018-08-17 09:21:56 -05:00
guillaume
51911bacb4 added transfer volumes function, changed titles in depletion example 2018-05-28 18:36:43 -04:00
Adam G Nelson
1d2ebb71f8 Implemented Expansion filters in to the MGXS classes and removed the old score-based expansions 2018-04-27 19:45:38 -04:00
Paul Romano
c83b890869 Use ufloat for stochastic volume results 2018-03-19 10:40:45 -05:00
Paul Romano
f415700c86 Make materials with actinides depletable by default 2018-03-15 11:02:07 -05:00
Paul Romano
0508274a3d Add useful warnings for add_nuclide/add_element 2018-03-15 11:02:07 -05:00
Paul Romano
7ee08d5280 Add gnd_name function 2018-03-01 23:08:43 -06:00
Paul Romano
09a63ec3e7 Remove blank line that was added 2018-02-24 15:07:58 -06:00
Paul Romano
7622a1a394 Add methods on Material to get mass (if volume specified) 2018-02-22 16:00:32 -06:00
Paul Romano
0aee52c5ab Remove deprecated methods 2018-02-05 23:14:30 -05:00
Paul Romano
deab4b3d33 Use empty-argument form of super() 2018-02-05 23:14:30 -05:00
Paul Romano
c428cee667 Remove __future__ and six imports 2018-02-05 23:14:30 -05:00
Paul Romano
894ec54ad7 Add unit tests for material classes 2018-02-05 07:35:18 -06:00
Paul Romano
2b6cd880f1 Auto-expand elements at the time they are added to a material 2017-12-17 07:16:06 +07:00
Paul Romano
9c182ece34 Remove various uses of Nuclide.name property 2017-12-17 07:16:06 +07:00
Paul Romano
f722d57ca3 Change input format for isotropic-in-lab scattering 2017-12-17 07:16:06 +07:00
Paul Romano
3c9e259553 Remove __eq__ and __hash__ on Material 2017-12-17 07:16:06 +07:00
Paul Romano
726d1a268f Sort materials list before creating <material> elements 2017-12-11 13:01:18 +07:00
Sterling Harper
391cb442ef Only put S(a,b) fraction in XML if not unity 2017-07-12 11:53:50 -04:00
Sterling Harper
8dcd8dd4f0 Fix spelling errors 2017-07-07 15:55:19 -04:00
tjlaboss
182e8107d3 Float -> string for ElementTree 2017-06-27 08:54:43 -06:00
Sterling Harper
1c5016167a Allow partly S(a,b), partly amorphus scattering 2017-06-21 11:24:37 -04:00
Paul Romano
ca009e211e Manage unique IDs via new IDManagerMixin that uses class variables 2017-06-07 20:12:51 -05:00
Paul Romano
c24d32b5cd Address comments from @cjosey on #890 2017-05-31 21:00:01 -05:00
Paul Romano
8b6abad60e Allow determine_paths() to be called only to get number of instances 2017-05-31 07:11:11 -05:00
Paul Romano
81fcd19ec6 Don't copy _paths when cloning Cell or Material 2017-05-26 07:52:39 -05:00
Paul Romano
281091196c Make sure == is used instead of 'is' in a few places 2017-05-08 08:36:35 -05:00
Will Boyd
d0f871e7db Simplified universe cloning in lattice clone method 2017-04-11 07:36:00 -04:00
Will Boyd
400b5e2c1d Added __hash__ method to Surface class; revised clone methods memo param to use objects as keys 2017-04-10 17:17:17 -04:00
Will Boyd
120dca7703 Renamed clone memoize param as memo per request by @paulromano 2017-04-10 12:10:34 -04:00
Will Boyd
12a0e00305 Expanded docstrings for all clone methods 2017-04-10 10:13:59 -04:00
Will Boyd
364543b967 Now use memoization for geometry and materials cloning 2017-04-10 10:06:32 -04:00
Will Boyd
45af8a2937 Tested geometry cloning with examples and fixed a few bugs 2017-04-09 22:23:49 -04:00
Will Boyd
06a918c1b5 First stab at implementing clone() methods for geometric and material primitives 2017-04-09 16:30:33 -04:00
Paul Romano
6c40fb640a Continue working through new user's manual 2017-04-03 11:53:23 -05:00
Paul Romano
b08d0eb51c Remove unnecessary import in __init__.py. Fix MG env var doc 2017-03-19 21:41:54 -05:00
Paul Romano
b8f6575cc4 Some bug fixes for volume calculations 2017-03-11 14:31:02 -06:00
Paul Romano
247c2461c5 Fix bugs in Material.remove_nuclide and Material.remove_element 2017-03-10 09:07:17 -06:00
Paul Romano
cda58c9e8f Address @wbinventor comments on #821 2017-03-06 19:59:46 -06:00