Commit graph

131 commits

Author SHA1 Message Date
GuySten
dadc4fe418
Fix no serialization of periodic_surface_id bug (#3421)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-06-05 00:07:59 +00:00
nplinden
47c37f506d
Correctly apply volumes to materials when using DAGMC geometries (#2787)
Co-authored-by: Nicolas Linden <n.linden@naarea.fr>
2023-11-29 05:44:14 -06:00
Paul Romano
c252930c49 Support passing Path objects to Summary() 2022-08-15 13:35:04 -05:00
YuanHu-PKU-KIT
e08af3c374 Implement mesh-based weight windows (squashed)
Co-authored-by: Andrew Davis <andrew.davis@ukaea.uk>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-01-08 14:43:18 -06:00
Patrick Shriwise
ef70e12142 Enhancing to/from hdf5 methods so that DAGMC universes can be reproduced and exported to XML from a summary file. 2021-06-29 21:04:23 -05:00
Patrick Shriwise
3d8c6a9f4b Some updates from self-review. 2021-05-19 19:04:02 -05:00
Patrick Shriwise
3e93b814a9 Updating python module to enable summary file reads from DAGMC simulations. Updating legacy DAGMC test as well. 2021-05-19 18:02:15 -05:00
Paul Romano
4943ae9307 Alphabetize import ordering (and use relative imports in a few places) 2020-04-06 15:16:09 -05:00
Paul Romano
945b80f8fd Address most @pshriwise comments on #1538 2020-04-06 13:24:20 -05:00
Paul Romano
2e54c170f1 Changes in summary.py from PullRequest Inc. review 2020-04-01 14:13:05 -05:00
Paul Romano
e34a71b448 Remove unused imports across entire Python API 2020-03-31 18:11:31 -05:00
Paul Romano
cf6b67c05d Remove explicit inheritance from object for Python classes 2020-03-23 12:12:31 -05:00
Paul Romano
4950392fd0 Support for setting rotation matrix directly 2019-10-16 11:01:34 +07:00
Patrick Shriwise
0055ecbb3a Read materials from summary.h5 if using DagMC geometry. 2019-09-20 14:22:28 -05:00
Paul Romano
2efd58a694 Use dataset[()] instead of deprecated dataset.value 2019-03-27 06:47:22 -05:00
Patrick Shriwise
3b7352dc7d Updating if/else. 2018-10-01 13:41:17 -05:00
Patrick Shriwise
64e2df362a Adding changes requested in PR. 2018-10-01 10:35:46 -05:00
pshriwise
a4fdbe5048 Updating check for cad geometry in summary read. 2018-09-30 03:37:09 +00:00
pshriwise
ea0b6f2948 Skipping geometry write, but indicating a DAGMC geometry was used for now. 2018-09-30 03:37:09 +00: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
d3d6dc87dc Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00
Paul Romano
002c7651c2 Address comments by @smharper on #892. 2017-06-15 14:38:25 -05:00
Paul Romano
ca009e211e Manage unique IDs via new IDManagerMixin that uses class variables 2017-06-07 20:12:51 -05:00
Will Boyd
dff34503ad Removed fast_* properties 2017-05-04 21:40:01 -04:00
Will Boyd
66c50ed59d Made fast summary primitive collections private 2017-05-04 14:58:30 -04:00
Will Boyd
6de073c6ed Now memoize all geometric primitives in Summary object for fast retrieval by MGXS 2017-03-29 17:30:18 -04:00
Paul Romano
97d99f1625 Fix bug in autodetermining root universe (didn't account for lattice outer) 2017-03-10 07:13:38 -06:00
Paul Romano
b19a4c5ec4 Fix bug in summary.py (assuming root universe is 0) 2017-03-06 19:53:09 -06:00
Paul Romano
2d1897a051 Remove offsets, distribcell_index, distribcell_paths 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
Paul Romano
eecf45411b 'normal' fill type -> 'material' 2017-02-22 17:09:19 -06:00
Paul Romano
01254d0b3d Make Universe, Lattice, and Material.from_hdf5 methods 2017-02-22 17:00:25 -06:00
Paul Romano
8f2efa19dd Create Mesh.from_hdf5() and Surface.from_hdf5() methods 2017-02-21 21:26:25 -06:00
Paul Romano
71b49aace8 Rewrite documentation for summary and statepoint files. Continue making a few
changes.
2017-02-21 21:26:25 -06:00
Paul Romano
b4845f1474 Refactor openmc.Summary() class. Only store user IDs in summary/statepoint files 2017-02-21 21:26:25 -06:00
Paul Romano
0c616c8b22 Handle HDF5 format versions consistently 2017-02-21 21:26:21 -06:00
Paul Romano
606253e11c Write depletable attribute to XML and summary files 2017-02-17 14:53:34 -06:00
Will Boyd
b94d1bf661 Now using list comprehensions for filter bin indices in tallies.py 2016-11-28 14:18:19 -05:00
Paul Romano
fb009c6b5e Use multidimensional array for tally results rather than derived type 2016-11-15 15:22:02 -06:00
Sterling Harper
e8aa4f2f10 Remove unnecessary tally data from summary.h5 2016-09-22 22:52:16 -04:00
Paul Romano
a95266ab22 Major refactor to include cross sections at multiple temperatures within the
Nuclide and SAlphaData derived types.
2016-08-31 10:13:38 -05:00
Adam Nelson
cd95667292 Updated to get significantly higher tets passage rate. Still have more work to do in a few key areas. 2016-08-21 20:40:47 -04:00
Paul Romano
08c9036bb6 Ability to link volume calculation results in order to compute microscopic cross
sections from mgxs
2016-08-01 10:37:00 -05:00
Paul Romano
c7a0b716d2 General cleanup -- both bugs and style issues -- based on running pylint 2016-07-02 11:04:25 +07:00
Sterling Harper
3280d5465e Merge remote-tracking branch 'upstream/develop' into multipole 2016-06-09 13:32:26 -05:00
Paul Romano
b4910473b2 Throw ImportError if user has h5py 2.6.0. 2016-06-02 16:36:10 -05:00
Paul Romano
2b219ae15f Refactor handling of cell fill types. Fix Geometry.get_* methods 2016-05-31 08:43:34 -05:00
Paul Romano
e40a369693 Add geometry plotting capability and restructure lattice attributes 2016-05-27 09:53:07 -05:00
Sterling Harper
24ecc055ad Merge remote-tracking branch 'upstream/develop' into multipole 2016-05-19 13:39:25 -04:00
Adam Nelson
058ba68895 Merge branch 'develop' into mgxs_integration 2016-05-16 19:18:42 -04:00