Commit graph

147 commits

Author SHA1 Message Date
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
Will Boyd
580f081795 Merge pull request #771 from samuelshaner/decay-rate-tracklength
Track length estimator for decay rate tally and other fixes
2016-12-20 15:42:09 -05:00
Sam Shaner
63fd6e2e1a addressed some of the PR comments 2016-12-19 15:19:26 -08:00
Paul Romano
ac4a66dde0 Allow materials with density units='sum' to be exported 2016-12-17 14:29:07 -06:00
samuelshaner
ff3d034275 added tracklength estimator capability for decay-rate tally and fixed other issues 2016-12-15 20:23:07 +00:00
Paul Romano
357aa894c8 Get rid of WRITTEN_IDS global variable 2016-12-14 06:58:45 -06:00
Paul Romano
be470d2615 Get rid of self._*_file attributes 2016-12-14 06:56:38 -06:00
Paul Romano
e9479aeb0d Make sure material density is set from Python API 2016-12-14 06:56:38 -06:00
Adam Nelson
b4c556db82 incorporated MT=5, simplified yield usage in the plotter 2016-11-18 19:55:24 -05:00
Adam Nelson
1a62b59dc3 Resolved @samuelshaner comments 2016-11-17 17:17:38 -05:00
Adam Nelson
b8d9fe461f Resolving @paulromano comments 2016-11-16 21:47:07 -05:00
Adam Nelson
995ba26694 Moved plotting and calculate_xs routines to plotter, condensed code as needed. 2016-11-11 21:58:31 -05:00
Adam Nelson
d4f4166ba7 resolved most of the comments from @samuelshaner 2016-11-11 20:37:03 -05:00
Adam Nelson
2a50aff588 Pre-PR cleanup and addition of ability to read MT in types 2016-11-11 15:20:40 -05:00
Adam Nelson
240028d13d Added ability to provide an axis to the plot_xs routines, and added a type for slowing-down power so we can plot moderating ratios. Why not right? 2016-11-11 14:50:24 -05:00
Adam Nelson
4fe275b381 Code and resultant plot cleanup; also ensured every plot type explicitly included MT=2 so that S(a,b) data could properly be spliced in 2016-11-11 06:22:38 -05:00
Adam Nelson
3884123a59 Merge remote-tracking branch 'upstream/develop' into plot_mat 2016-11-11 05:22:01 -05:00
Adam Nelson
7524637e23 Added kwargs to plots, switched to taking a file string for the cross_sections.xml file instead of an initialized DataLibrary, and avoided precision issues when calculating the inelastic xs 2016-11-11 05:20:38 -05:00
Sam Shaner
4dd663dd78 changed molar_mass to average_molar_mass 2016-11-10 17:19:39 -05:00
Sam Shaner
8394970acb addressed PR comments 2016-11-10 15:42:22 -05:00
Sam Shaner
9e9e401aaa removed import of re in material.py 2016-11-09 22:23:59 -05:00
Sam Shaner
80bf6c7528 add get_molar_mass() method to material and fixed two other issues 2016-11-09 22:20:29 -05:00
Adam Nelson
76991a223f Extended plots to elements and nuclides 2016-11-09 18:10:41 -05:00
Adam Nelson
8de82dcbd3 Modifications to support new function routine 2016-11-08 20:29:33 -05:00
Adam Nelson
131fdce5b3 fixing failing tests 2016-11-07 19:47:29 -05:00
Adam Nelson
3f610d03ca Added the ability to divide by a type, so now we can easily (and not with complicated routines within calculate_xs) get nu-scatter/scatter, nu-fission/fission and something like a moderating ratio (just needs xi). 2016-11-06 19:43:32 -05:00