Commit graph

172 commits

Author SHA1 Message Date
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
Paul Romano
fd7fa59192 Implement distributed paths 2017-03-06 12:36:48 -06:00
Will Boyd
c6348700ce Refactored cell/material instance counting into recursive methods defined on Universe class per request by @paulromano 2017-03-06 12:36:48 -06:00
Will Boyd
3122d0798f Began adding code to count material instances 2017-03-06 12:36:48 -06:00
Paul Romano
f97154c6c0 Correctly write deferred-length character to HDF5 datasets 2017-03-03 09:17:55 -06:00
Will Boyd
b1fbef35e9 Merge pull request #800 from paulromano/volume
Change how volume is handled
2017-03-02 09:06:44 -05:00
Will Boyd
43b141e9ba Fixed issue in iso-in-lab setting for elements 2017-02-27 19:11:01 -05:00
Paul Romano
cfb6339698 Change how volume is stored 2017-02-23 22:23:00 -06:00
Paul Romano
acdf287c01 Allow volume information to be added to materials and universes 2017-02-23 22:21:53 -06:00
Paul Romano
01254d0b3d Make Universe, Lattice, and Material.from_hdf5 methods 2017-02-22 17:00:25 -06:00
Paul Romano
606253e11c Write depletable attribute to XML and summary files 2017-02-17 14:53:34 -06:00
Paul Romano
5d2ad92769 Add depletable attribute to Material 2017-02-16 17:11:18 -06:00
liangjg
616788035c fix: data.atomic_mass accept str parameter 2017-02-11 21:22:37 -05:00