Commit graph

340 commits

Author SHA1 Message Date
yrrepy
63916067ee
Use huge_tree=True in lxml parsing (#2791)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-01-17 06:54:03 +00:00
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev (#2740) 2023-10-31 16:55:19 -05: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 Shriwise
610a5d8c34
Global Weight Window Generation via CAPI (#2359)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-09 10:47:27 -05:00
Paul Romano
c123ce0fa0
New multiply_density option on tallies (#2539) 2023-06-09 08:24:00 -04:00
Jonathan Shimwell
ec220fa989
updated doc string type for tally.nuclide (#2526) 2023-05-17 19:45:04 +00:00
Patrick Myers
1cb22075ef
Changed xml to lxml (#2489) 2023-05-09 10:41:04 -05:00
Paul Romano
7bbf5466e6 Add missing versionadded directives 2023-03-28 13:34:14 -05:00
Ethan Peterson
61efad0a8d added test and expand_dims kwarg 2023-02-07 14:13:46 -05:00
Ethan Peterson
512c7e6556 modified get_reshaped_data 2023-02-07 14:13:46 -05:00
Patrick Shriwise
2eca57a299 Adding mesh memo to Settings.from_xml_element 2022-12-13 23:16:57 -06:00
Patrick Shriwise
2c27d1065a Moving other relevant XML reorder calls and updating expected input again. 2022-12-06 13:03:38 -06:00
Patrick Shriwise
1e7dbe99cf Making sure meshes are only written once to a model.xml file 2022-12-06 13:03:38 -06:00
Patrick Shriwise
af6b0af1e3 Fix loop variable overwrite 2022-12-06 13:03:38 -06:00
Patrick Shriwise
9391f17cff Adding import for single or multiple XMLs 2022-12-06 13:03:38 -06:00
Patrick Shriwise
2555b951a4 Factor out to_xml_element methods for XML classes 2022-12-06 13:03:38 -06:00
Paul Romano
c9bbcda347
Merge pull request #1969 from pshriwise/bin_indices_opt
Return all bin indices for filters not specified in `Tally.get_filter_indices`
2022-02-17 08:57:10 -06:00
Patrick Shriwise
9a28bc8da1 Removing special case for EnergyFunctionFilter 2022-02-16 15:26:51 -06:00
Patrick Shriwise
e2c432484e Reworking main for loop of get_filter_indices based on comments from @paulromano 2022-02-16 12:11:53 -06:00
Patrick Shriwise
ccec9ee7bf Optimization for complete list of bin indices 2022-02-12 12:27:54 -06:00
Jonathan
d91676fe1b removed unused imports 2022-02-11 22:36:46 +00:00
Patrick Shriwise
10f103c6d8
Merge pull request #1960 from paulromano/prepare-0.13.0
Prepare for version 0.13.0
2022-02-10 11:09:29 -06:00
Jonathan
04b5f4bc97 fixed minor typo in docs 2022-02-10 00:20:58 +00:00
Paul Romano
fdd5e10822 Release notes for 0.13.0 2022-02-04 07:19:35 -06:00
Paul Romano
6bd33602cc Implement Tallies.from_xml classmethod 2022-01-20 22:28:01 -06:00
Jonathan
2453b04b62 corrected multiline f strings 2021-07-31 22:33:45 +01:00
Jonathan
021aab9879 replaced .format with f strings 2021-07-29 20:28:51 +01:00
Jonathan Shimwell
192f4436a0 replaced .format with f string 2021-07-29 18:25:37 +01:00
Paul Romano
cc787830f3 Fix missing variable in tallies.py (thanks to @jlanversin). Closes #1727 2020-12-08 13:53:35 -06:00
Paul Romano
16d7ec0641 Sort XML attributes to preserve pre-Python 3.8 XML writing behavior 2020-06-17 22:08:09 -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
Paul Romano
d15e404ac3 Address remaining comments from @drewejohnson 2020-03-25 07:10:35 -05:00
Paul Romano
4ad2ad3ab8
Apply suggestions from @drewejohnson code review
Co-Authored-By: Andrew Johnson <drewej@protonmail.com>
2020-03-25 06:45:03 -05:00
Paul Romano
91c1749b98 Changes in tallies.py from PullRequest Inc. review 2020-03-23 20:55:01 -05:00
Paul Romano
cf6b67c05d Remove explicit inheritance from object for Python classes 2020-03-23 12:12:31 -05:00
PullRequestOpen
5b2e031475
Update openmc/tallies.py
```
# Variables to indicate filter bins, nuclides, and scores that can be merged
```

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-12-06 10:18:10 -06:00
PullRequestOpen
6d0aa86cef Cosmetic fixes from PullRequest [2019-12-05] 2019-12-05 22:22:43 -06:00
guillaume
3cd88484a7 Speed up transport correction by having same tally order in scattering matrix tally and correction tally 2019-04-08 17:27:41 -04:00
Paul Romano
2efd58a694 Use dataset[()] instead of deprecated dataset.value 2019-03-27 06:47:22 -05:00
Paul Romano
17d778e57f Allow export_to_xml methods to take a directory 2019-03-12 11:42:51 -05:00
Jan Malec
ecbb5e668a Fixed array range in the python score setter and updated example to match 2018-10-11 16:46:29 +02:00
Paul Romano
fbf7713a33 Split up Geometry.from_xml, rename clean_xml -> _xml 2018-08-21 07:47:29 -05:00
Alex Lindsay
2e6b40cb1b Consistently check derived for sum and sum_sq in tallies. Closes #1010 2018-05-23 14:16:17 -06:00
Adam G Nelson
b61c67a12c fixes per request of @paulromano: fixing test scratch files vice using .gitignore, minor typo in docs, and some otherwise small code cleanups 2018-05-01 19:17:21 -04: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
f5270f183a Remove get_bin() method. Fix __repr__ for some filters 2018-03-29 13:35:58 -05:00
Paul Romano
d41ac48467 Force all filters to have a .bins attribute that makes sense 2018-03-28 15:56:03 -05:00
Paul Romano
22429dd389 Implement MeshSurfaceFilter.get_pandas_dataframe. Fix surface/mesh filters 2018-03-19 17:50:33 -05:00
Paul Romano
0b6333810f Avoid divide-by-zero warnings in tally arithmetic 2018-03-19 10:40:42 -05:00