Commit graph

108 commits

Author SHA1 Message Date
Paul Romano
830f075b5c
Update documentation describing HexLattice orientation (#3709) 2026-01-06 22:59:58 +00:00
GuySten
a11021cd07
Consistent XML parsing using functions from _xml module (#3517)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-08-08 17:47:55 +00:00
kmeag
12a278b1ac
Enforce lower_left in lattice geometry (#2982)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-06-10 19:54:59 +00:00
Patrick Shriwise
12ecc17997
Hexagonal Lattice Roundtrip (#3003)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-05-25 00:50:59 +00:00
Patrick Shriwise
25e47dea9b
Apply memoization in get_all_universes (#2995)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-05-24 23:56:20 +00:00
Jonathan Shimwell
5d2b352025
f strings instead of .format for string editing (#2987) 2024-04-29 16:45:37 -05:00
Paul Romano
85c963e223
Move 'import lxml' to third-party block of imports (#2803) 2023-12-13 14:11:32 +00:00
Jonathan Shimwell
457bea6f0b
replaced ordereddict with {} (#2641)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-08-19 12:15:11 +00:00
Jonathan Shimwell
ee7b95245a
Static errors continuation (#2557)
Co-authored-by: Christina Cai <chrsitinacai48933@gmail.com>
Co-authored-by: christinacai123 <63215816+christinacai123@users.noreply.github.com>
2023-06-16 22:34:02 -05:00
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -05:00
Patrick Shriwise
6b98142a12 Use openmc.UniverseBase in lattice module 2023-04-13 10:17:05 -05:00
yardasol
f72dbe68e1 fix output variable type in docstring for HexLattice.from_hdf5 2022-03-30 16:11:34 -05:00
Paul Romano
1451e7bfed Improve error message if user doesn't set lattice universes 2022-03-11 19:15:48 -06:00
Jonathan
04b5f4bc97 fixed minor typo in docs 2022-02-10 00:20:58 +00:00
Jonathan Shimwell
0bba16e0bf
using str() as suggested by review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-08-02 21:27:27 +01:00
Jonathan Shimwell
192f4436a0 replaced .format with f string 2021-07-29 18:25:37 +01:00
Patrick Shriwise
afaf3b04bf Updates to the Python API to support model generation with DAGMC universes. 2021-05-19 18:01:35 -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
d5b54e8cb5 Consistent use of ABC instead of ABCMeta where possible 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
fa15eea89f Changes in lattice.py from PullRequest Inc. review 2020-03-23 20:55:01 -05:00
Sterling Harper
f1bb96eaef
Merge pull request #1381 from GiudGiud/PR_recursive_LNS
Lattice discretization with degenerate and recursive local neighbor symmetry algorithms
2020-01-28 18:22:45 -05:00
guillaume
1565483a0f Address @smharper 's review 2020-01-21 20:59:42 -05:00
Giud
2573c5deea
Update openmc/lattice.py
Co-Authored-By: Sterling Harper <sterlingmharper@gmail.com>
2020-01-21 15:56:50 -05:00
PullRequestOpen
c2d8c027b8
Update lattice.py
Reverting whitespace around higher priority operators.
2019-12-06 10:52:06 -06:00
Giud
bb406d7842
Improve comments 2019-12-06 01:32:54 -05:00
Giud
5c14652fe2
Merge branch 'develop' into PR_recursive_LNS 2019-12-06 01:24:29 -05:00
guillaume
35f599564e Remove automatic handling of subneighbors in recursive LNS 2019-12-06 01:22:21 -05:00
PullRequestOpen
6d0aa86cef Cosmetic fixes from PullRequest [2019-12-05] 2019-12-05 22:22:43 -06:00
Patrick Shriwise
2761bdbf0e Passing empty memo set directly and using object instances instead of ids in the memo. 2019-11-08 14:20:03 -06:00
Patrick Shriwise
3c4e0165be Updating comment. 2019-11-08 09:51:18 -06:00
Patrick Shriwise
c5cef78ade Adding memo for get_all_cells/get_all_materials. 2019-11-07 14:57:09 -06:00
guillaume
5fc1216708 Address @smharper's review 2019-11-05 13:57:11 -05:00
Giud
b08933a653
Apply suggestions from code review
Co-Authored-By: Sterling Harper <sterlingmharper@gmail.com>
2019-11-03 14:57:44 -05:00
Patrick Shriwise
6bd25d43a3 Updating doc strings for the memo object in xml related calls. 2019-11-01 07:39:59 -05:00
Patrick Shriwise
05942a5ab5 Using a single set of object IDs as a memo. 2019-11-01 07:28:53 -05:00
Patrick Shriwise
ec1a4b5d2b Adding documentation to create_xml_subelement methods. Removing old, now unused, path variables from those methods as well. 2019-11-01 07:28:53 -05:00
Patrick Shriwise
177f3d1423 Correction to memoization for xml export. 2019-11-01 07:28:53 -05:00
Patrick Shriwise
4b654c2be0 Moving to memoization pattern instead of singleton class. 2019-11-01 07:28:53 -05:00
Patrick Shriwise
4cccdbece4 Singleton approach to tracking openmc xml elements with sets. 2019-11-01 07:28:53 -05:00
guillaume
6e4e69075b Revert to regular LNS for sublattices if neighbor rotation is not present in sub lattice 2019-10-31 11:16:23 -04:00
guillaume
4754d7fd40 Update unit tests 2019-10-31 10:32:35 -04:00
guillaume
0bd520287d Address @smharper's review 2019-10-30 11:18:29 -04:00
Giud
9dd2c450bb Add option to avoid cloning cell regions 2019-10-16 11:27:13 -04:00
Giud
5c48f325b0 Implement degenerate and recursive LNS lattice discretization schemes 2019-10-16 11:05:58 -04:00
Paul Romano
a6c099e29a A few more fixes pointed out by @smharper 2019-06-17 06:24:45 -05:00
Paul Romano
e7f3e34088 Fix from_hdf5 for hex lattice with x orientation. Assorted other fixes. 2019-06-10 13:13:52 -05:00
Paul Romano
d36adef280 Fix unit test using Geometry.from_xml on a hex lattice 2019-06-08 06:57:57 -05:00
Paul Romano
853438083a Change order of x-oriented hex lattice universes to clockwise 2019-06-07 15:33:58 -05:00
Paul Romano
3794c3eec4 Update documentation for hex lattice 2019-06-04 15:59:54 -05:00