Commit graph

5318 commits

Author SHA1 Message Date
Will Boyd
65cbcfadb7 Further refinements to Tally.diagonalize_filter(...) to allow for distribcell filters 2015-10-01 18:26:25 -04:00
Will Boyd
c180287562 Fixed bug in Python API Chi.get_xs(...) when summed across nuclides 2015-09-30 23:14:08 -04:00
Will Boyd
a342a6c20a Now add total nuclide to MultiGroupXS objects if by_nuclide=False 2015-09-30 23:06:36 -04:00
Will Boyd
464105a362 Fixed issues with MultiGroupXS extraction summed across nuclides 2015-09-30 18:39:13 -04:00
Will Boyd
b979a19f73 Fixed bug in subdomain avg multi-group xs for single subdomains 2015-09-30 18:19:21 -04:00
Will Boyd
006358dacc Fixed bug in nuclide number densities for micro xs Pandas DataFrames 2015-09-30 18:16:58 -04:00
Will Boyd
b548e3dcc1 Removed unnecessary code from Tally.filter_diagonalize(...) 2015-09-30 14:33:17 -04:00
Will Boyd
d075e10fbb Fixed bug in Tally.diagonalize_filter(...) routine for multiple nuclides, scores 2015-09-30 13:09:30 -04:00
Will Boyd
731ee261e1 MultiGroupXS.get_xs(...) routine now includes an order_groups parameter with increasing/decreasing options 2015-09-29 17:34:05 -04:00
Will Boyd
c58c5639de Python API Executor now waits until process has finished before returning from run_simulation(...) routine even if output=False 2015-09-29 09:22:51 -04:00
Paul Romano
e70a5af63e Make Region.from_expression a @staticmethod rather than @classmethod 2015-09-29 15:39:54 +07:00
Paul Romano
e37d634986 Fix OpenCG compatibility module to work with simple cells 2015-09-29 15:07:39 +07:00
Will Boyd
4451b71f36 Made Python API MultiGroupXS.get_condensed_xs(...) routine permit same number of energy groups 2015-09-28 21:23:06 -04:00
Will Boyd
9377823ddc Added StatePoint and Summary to Python API __init__.py 2015-09-28 21:16:52 -04:00
Will Boyd
25e67baa32 Made Python API MultiGroupXS object xs_type attribute by_nuclide; nuclides paramter can now be all, sum or a list of nuclides 2015-09-28 15:26:01 -04:00
Paul Romano
f093429ced Update example Python inputs, fix exporting to XML for <cell> 2015-09-28 16:53:27 +07:00
Paul Romano
975771fbfe Combine multiple intersections/unions when parsing region expressions 2015-09-28 14:48:29 +07:00
Paul Romano
c237f700ad Fix bug in tokenize algorithm
The algorithm was failing to add intersections after right parentheses when appropriate.
2015-09-28 14:02:20 +07:00
Will Boyd
8f19a3fdc3 Added back in Tally.summation routine and fixed issues with Chi getter in Python API 2015-09-27 20:51:06 -04:00
Will Boyd
6e9dc5b09f Python API MultiGroupXS.load_from_statepoint(...) routine now resets domain type to get isotopic number densities from OpenMC 2015-09-27 17:14:29 -04:00
Will Boyd
0374a07c6f Added nuclide and number density getter routines to Python API MultiGroupXS class 2015-09-27 16:05:07 -04:00
Paul Romano
697e3c557b Join intersection/union of multiple half-spaces when possible. 2015-09-27 16:08:02 +07:00
Will Boyd
fe16bb4b10 Fixed tiling/repeating for tally arithmetic needed for micro xs in Python API 2015-09-27 00:29:46 -04:00
Will Boyd
ddb249049c Removed MultiGroupXS.pickle/unpickle routines, added initial implementatoin for micro multi-group cross-sectoins 2015-09-26 19:32:15 -04:00
Will Boyd
4f86e8819a Renamed MultiGroupXS xs_type attribute to rxn_type to allow xs_type to be used for macro vs. micro 2015-09-26 17:41:30 -04:00
Will Boyd
a8ccd78ab6 Removed stubs for mesh domains in Python API openmc.mgxs module 2015-09-26 17:32:10 -04:00
Will Boyd
02c30fd5de Removed Tally.summation(...) routine in place of explicit tally summations in openmc.mgxs module for subdomain averaging 2015-09-26 17:12:03 -04:00
Will Boyd
d0a85cd082 Python API group condensation now working for multi-group scattering matrices 2015-09-26 16:06:42 -04:00
Adam Nelson
4ce47f814e Applying changes to be consistent wit hmerge 2015-09-26 14:43:56 -04:00
Will Boyd
8ebaf9cb24 The Python APIs multi-group cross-section condensation is now working except for transfer matrice 2015-09-26 14:02:53 -04:00
Will Boyd
4bf7fe5104 Fixed issue in Filter.is_subset(...) routine for energy filter types 2015-09-26 12:18:03 -04:00
Adam Nelson
c1630a02db merged w/ upstream 2015-09-26 11:39:18 -04:00
Adam Nelson
0a5c198f1b More changes to be up to date with upstream 2015-09-26 10:53:26 -04:00
Paul Romano
dc118afd2d Add Region.from_expression method 2015-09-26 20:01:07 +07:00
Paul Romano
671b5c7a82 Rename surfaces attribute of <cell> to region. 2015-09-26 20:01:04 +07:00
Paul Romano
7681995ef1 Add region attribute to Cell and use it in lieu of surfaces 2015-09-26 19:58:16 +07:00
Paul Romano
1cfff776a5 Started adding changes in Python API for complex cells. 2015-09-26 19:58:16 +07:00
Paul Romano
acf2e51272 Partial support for cells defined with union and complement operators.
The Python API still has no concept of operators. The Summary class has a hack
to at least be able to read a summary file for now, basically skipping any
operators that are present.
2015-09-26 19:58:16 +07:00
Will Boyd
e05ab41527 Fixed merge conflicts with develop branch 2015-09-25 16:24:06 -04:00
Will Boyd
af6c1412bb Merge pull request #454 from paulromano/output-improvements
More improvements to HDF5 interface and Python API
2015-09-25 10:10:11 -04:00
Paul Romano
47abbed148 Use surface type names consistently in XML input and Python API. 2015-09-25 20:38:50 +07:00
Paul Romano
3d2fe2a0ef Few minor fixes for #454. Mesh ID is no longer written for statepoint. 2015-09-25 20:34:39 +07:00
Paul Romano
f3f6753820 Respond to remaining comments from @wbinventor on #454 2015-09-25 14:43:32 +07:00
Paul Romano
9bc3b3358c Got rid of maps, offset_size, translated, and rotated datasets. 2015-09-25 10:53:36 +07:00
Will Boyd
ffea752c5d Fixed bug in openmc.mgxs for appending data to HDF5 files 2015-09-24 15:20:51 -04:00
Will Boyd
053c1d31a8 Multi-group Chi is now working with bug fixes to StatePoint.get_tally(...) 2015-09-21 21:17:18 -04:00
Sterling Harper
30425070e4 Move some tests to PythonAPI 2015-09-21 11:36:22 -04:00
Paul Romano
23427ceccd Get rid of n_nuclides dataset in summary/statepoint 2015-09-21 11:43:29 +07:00
Paul Romano
397d5fe269 Update file format documentation. Use score_bins instead of scores. 2015-09-21 11:34:03 +07:00
Paul Romano
bc36dad028 Don't write cross section identifier for tally 'nuclides' dataset 2015-09-21 10:24:22 +07:00