Commit graph

122 commits

Author SHA1 Message Date
GuySten
0ab46dfa35
Fix cell data parsing (#3848) 2026-03-04 06:56:49 -06:00
Lewis Gross
a632429267
Move distrib (mat, temp, dens) from XML attribute to subelement for better compatibility with very large instance lists (#3774) 2026-02-06 19:32:32 +02:00
Kevin Sawatzky
607f6babe5
Add distributed cell densities (#3546)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-09-19 04:11:06 +00:00
GuySten
00edc77691
Change test order to run unit tests first. (#3533)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-08-30 03:39:46 +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
Paul Romano
59c398be84
Consolidate plotting capabilities in Model.plot (#3282)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2025-01-31 10:12:24 -06:00
Patrick Shriwise
f207d4220a
Adding methods to automatically apply results to existing Tally objects. (#2671)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-24 22:49:58 +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
Paul Romano
b54b1e975c
Update bounding_box docstrings (#2972) 2024-04-24 08:02:05 -05:00
Patrick Shriwise
4ba053ca47
Generate Region Plots Directly (#2895)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-12 16:03:19 +00:00
Micah Gale
d10e128e76
Fixed small sphinx typo (#2915) 2024-03-13 23:13:02 +00:00
Paul Romano
85c963e223
Move 'import lxml' to third-party block of imports (#2803) 2023-12-13 14:11:32 +00:00
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev (#2740) 2023-10-31 16:55:19 -05:00
Patrick Shriwise
27540c5b8a
Releasing ID after creating dummy universe for cell plotting (#2663)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-01 19:31:37 +00:00
Patrick Shriwise
8e77a1ffb6
Expose universe plotting for the cell class (#2648)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-08-20 01:35:20 +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
Paul Romano
b5d30ff553 Refactor BoundingBox implementation 2023-04-18 22:26:37 -05:00
Jonathan Shimwell
6eb26b80c6 implemented BoundingBox class 2023-04-14 13:11:01 +01:00
Josh May
afa490f6a6
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-01-11 13:27:06 -08:00
josh
affc62f09c only reassign temps when not None 2023-01-04 22:53:55 +00:00
josh
ac2ba93b3a remove cell deepcopying for creating a fresh instance 2023-01-04 03:31:07 +00:00
Paul Romano
3f8f8f6701
Merge pull request #2291 from pshriwise/model-xml
Support for a single `model.xml` file
2022-12-24 13:33:27 -06:00
Patrick Shriwise
abd3d515b0 Correcting doc strings for material mapping sent to 2022-12-06 13:03:38 -06:00
josh
5b807d4e6c add capability to set cell temperature to None 2022-12-06 18:31:28 +00:00
Ethan Peterson
e64fb4cd41 added volume read and write to xml 2022-10-19 14:16:52 -04:00
Paul Romano
a4f98b489c Change values in dict returned by Material.get_nuclide_atom_densities 2022-06-27 22:36:36 -05:00
Paul Romano
321de2a4d1 Fix reading rotation matrix from XML 2022-05-24 09:09:51 -05:00
Jonathan
04b5f4bc97 fixed minor typo in docs 2022-02-10 00:20:58 +00:00
Jonathan
2453b04b62 corrected multiline f strings 2021-07-31 22:33:45 +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
5547ecf88f Add versionadded directive for new arguments/functions in 0.12 2020-04-10 21:52:43 -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
e34a71b448 Remove unused imports across entire Python API 2020-03-31 18:11:31 -05:00
Mikolaj-A-Kowalski
671c902350
Apply suggestions from code review
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-19 15:43:20 +00:00
Mikolaj Adam Kowalski
2debfc0d8a Address comments by @paulromano 2020-03-19 15:40:27 +00:00
Mikolaj Adam Kowalski
ec10221219 Address comments by @pshriwise 2020-03-19 12:04:44 +00:00
Mikolaj-A-Kowalski
06ffd256bc
Apply suggestions from code review
Co-Authored-By: Patrick Shriwise <pshriwise@gmail.com>
2020-03-19 11:23:12 +00:00
Mikolaj-A-Kowalski
9a782c8067
Apply suggestions from code review
Co-Authored-By: Simon Richards <s.richards@physics.org>
2020-03-17 18:56:36 +00:00
Mikolaj Adam Kowalski
a6076f0755 Address comments by @ChasingNeutrons 2020-03-16 14:31:24 +00:00
Mikolaj Adam Kowalski
023f9e4690 Add support for 'distribmat' cells to Cell.atoms
Provide missing atoms entry in Cell Attributes
Create docstring for Cell.atoms
2020-03-03 19:02:54 +00:00
Mikolaj Adam Kowalski
36512e3096 Add tests for Cell.atoms and Cell.volume
Remove unnecessary 'if' blocks
Print volume in __repr__ only if its set to preserve regression
Make shure that _atoms is forgotten for volume/fill changes
2020-03-03 15:54:28 +00:00
Mikolaj Adam Kowalski
c0f7459ff3 Implement getter for Cell.atoms
Make type checking in Cell.volume more compact
2020-03-02 19:41:56 +00:00
Mikolaj Adam Kowalski
7dd7af6dfa Checks for -ve volume and adds it to Cell.__repl_ 2020-03-02 18:54:03 +00: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
Giud
5c14652fe2
Merge branch 'develop' into PR_recursive_LNS 2019-12-06 01:24:29 -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