Commit graph

5318 commits

Author SHA1 Message Date
Paul Romano
c2a53495cb Fix check when opening statepoint and fix documentation. Closes #464. 2015-10-26 05:29:25 -05:00
Will Boyd
e230ad3c8a Fixed merge conflict with develop 2015-10-26 00:11:37 -04:00
Paul Romano
8adce7670b Merge pull request #368 from samuelshaner/delayed-tallies
Delayed nu fission score and delayed group filter
2015-10-25 16:45:25 -05:00
Will Boyd
21738db07d Merge branch 'develop' into mgxs 2015-10-24 19:39:00 -04:00
Will Boyd
5e5a423b32 Merge branch 'develop' into mgxs 2015-10-24 10:14:14 -04:00
Will Boyd
1e8b149db2 Merge branch 'develop' into pickle-tallies 2015-10-24 10:10:41 -04:00
Will Boyd
4089d6fb38 Put h5py import in Tally.sum property getter to make it an optional dependency for Python API 2015-10-24 09:12:44 -04:00
Sam Shaner
a0193b13a5 fixed merging of tallies with delayedgroup filters in python API and other small issues 2015-10-23 17:27:28 -04:00
Will Boyd
ff89950e9d Fixed bug in Filter.get_bin_index(...) for energy bins with 0.0 as the lower energy 2015-10-22 13:46:41 -04:00
Will Boyd
0965e20c08 Made Filter.is_subset and Filter.get_bin_index routines use value thresholding for energy bins 2015-10-22 13:38:44 -04:00
Will Boyd
02296cbd77 Now properly indexing ValuesView in MGXS.num_subdomains 2015-10-21 12:59:07 -04:00
Will Boyd
f9aa2b4904 Now import division from __future__ in mgxs.py 2015-10-21 12:10:04 -04:00
Sam Shaner
370a0f2677 added decoding of score in statepoint.py 2015-10-21 12:04:54 -04:00
Sam Shaner
7670e3847e modified regular expression code to be python 3 compatible 2015-10-21 11:59:04 -04:00
Will Boyd
13f3045e88 Made tally division Python 3 compatible 2015-10-21 10:44:36 -04:00
Will Boyd
2f23814fa6 Revised __init__.py for openmc.mgxs to be Python 3 compatible 2015-10-21 09:29:01 -04:00
Will Boyd
b92aaf5d10 All sorting of materials/cells/universes is now done by ID in Python API 2015-10-21 00:28:41 -04:00
samuel shaner
82483b6490 generalized the insertion of the momemt order in statepoint.py 2015-10-20 19:46:59 +00:00
samuel shaner
37c4d9fa89 fixed issue with statepoint.py modifying delayed-nu-fission score 2015-10-20 15:35:14 +00:00
Will Boyd
f72eda7f28 The ScatterMatrixXS now optionally creates tallies for P0 transport correction 2015-10-19 10:25:45 -04:00
Will Boyd
5b8c683c49 Added openmc.mgxs.Library.dump_to_file and load_from_file for pickled binary stores 2015-10-19 09:50:09 -04:00
Will Boyd
4af0399742 Merged with pickle-tallies branch 2015-10-19 09:27:32 -04:00
Will Boyd
50e006dea9 Now only store StatePoint filename string in Tally class 2015-10-19 09:19:40 -04:00
Will Boyd
4847cbd38d Added a new openmc.mgxs.Library.get_subdomain_avg_library(...) routine 2015-10-15 22:07:54 -04:00
Will Boyd
1aaf24bc4d MGXS.get_xs(...) routine now ensures that return value is at least a 1D numpy array 2015-10-15 16:06:32 -04:00
Will Boyd
f35a68a2c7 Removed uncommented code from previous commit 2015-10-15 11:33:52 -04:00
Will Boyd
8acab8ce8c The MGXS.get_xs(...) routine now calls numpy.squeeze(...) to eliminate trivial dimensions 2015-10-15 11:32:22 -04:00
Will Boyd
0b9976d721 Fixed bug in EnergyGroups.get_group(...) 2015-10-14 22:52:50 -04:00
Will Boyd
23e26ea4e9 Merge branch 'mgxs-longer-names' into mgxs 2015-10-13 13:26:03 -04:00
Will Boyd
26a51943e5 Added Library.correction attribute with default P0 setting 2015-10-13 01:07:25 -04:00
Will Boyd
23f64bf330 MGXS and Library classes now accept tally triggers 2015-10-13 00:59:41 -04:00
Will Boyd
3f19089900 Merge branch 'mgxs' into mgxs-longer-names 2015-10-12 23:56:36 -04:00
Will Boyd
b9a439da11 Python API now allows IDs to be greater than or equal to zer 2015-10-12 23:16:45 -04:00
Will Boyd
46e012de9b Added get_all_materials to Cell, Universe and Lattice classes 2015-10-12 17:00:26 -04:00
Sam Shaner
4a6ac46d9a fixed merge conflicts with upstream develop 2015-10-12 14:17:40 -04:00
Will Boyd
9bc0e8e843 Made the GeometryFile.create_xml_file() clear the WRITTEN_IDS global dict 2015-10-12 11:11:15 -04:00
Will Boyd
c984ffd8c0 Added resturctured text files for openmc.mgxs documentation 2015-10-11 11:18:52 -04:00
Will Boyd
52559aca3d Fixed typo in docstring in openmc.mgxs.library per comment from @nelsonag 2015-10-11 10:07:18 -04:00
Will Boyd
582d988ff3 Cleaned up msg string formatting in openmc.mgxs 2015-10-11 10:06:12 -04:00
Will Boyd
bfdcc1eabd Now using all OrderedDicts in Python API for input reproducibility. Added tests for MGXS Library with/without nuclides 2015-10-11 02:07:29 -04:00
Will Boyd
4f28c69d70 Fixed bug in MGXS.get_subdomain_avg(...) with material domain tyeps 2015-10-10 20:07:25 -04:00
Will Boyd
769ff64107 Fixed bug in statepoint instance attribute for openmc.mgxs.Library 2015-10-10 18:08:47 -04:00
Will Boyd
8e536f8095 The MGXS Library.build_hdf5_store(...) can now export by nuclide and subdomain 2015-10-09 20:29:09 -04:00
Will Boyd
a508c3b420 Added docstrings to MGXS Library object 2015-10-09 16:07:42 -04:00
Will Boyd
3b9c61a6d8 No longer using deprecated NumPy elementwise comparison for MGXS.get_condensed_xs(...) routine 2015-10-09 00:47:06 -04:00
Will Boyd
32f67d3d0a Implemented new openmc.mgxs.Library class 2015-10-09 00:15:09 -04:00
Paul Romano
80b0a1ad25 Add support in Python API for quadric surfaces 2015-10-09 09:36:00 +07:00
Will Boyd
41a9ede627 Implemented new static factory MGXS.get_mgxs(...) method 2015-10-08 19:58:39 -04:00
Will Boyd
3445b4acee Renamed MultiGroupXS as MGXS 2015-10-08 19:26:16 -04:00
Will Boyd
514eb2d40b Fixed bug in StatePoint.source property getter 2015-10-08 19:17:41 -04:00