Commit graph

280 commits

Author SHA1 Message Date
Paul Romano
85c963e223
Move 'import lxml' to third-party block of imports (#2803) 2023-12-13 14:11:32 +00:00
Baptiste Mouginot
a3695c784e
Filter material from (#2750)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-11-09 16:05:42 +00:00
Jonathan Shimwell
847e9b56af
added check for group name (#2752) 2023-11-02 02:30:36 +00:00
Jonathan Shimwell
9b7b33c7fa
Ruff comments on code (#2696)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-26 03:37:19 +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
a87b88a488 Fix CellInstanceFilter docstring 2023-04-11 13:23:13 -05:00
Paul Romano
7bbf5466e6 Add missing versionadded directives 2023-03-28 13:34:14 -05:00
Paul Romano
635e573955
Merge pull request #2390 from pshriwise/restart-fixes
Updates to batch checks for simulation restarts
2023-02-22 09:16:11 -06:00
Patrick Shriwise
a528de2976
Merge pull request #2381 from paulromano/anisotropic-fission
Use correct direction for anisotropic fission and update numpy version for tests
2023-02-20 12:37:08 -06:00
Patrick Shriwise
9803c26111 bwd compatibility fix for reading filter elements 2023-02-16 16:18:41 -06:00
Paul Romano
fc619f8352 Fix documentation for MeshFilter and MeshSurfaceFilter 2023-02-12 19:27:11 -06:00
Paul Romano
990b5449f5 Avoid use of np.float and np.int 2023-02-10 11:41:49 -06:00
Paul Romano
f8c8e37342
Merge pull request #2371 from shimwell/adding_tabular_to_energy_filter
added get_tabular method to energyfilters
2023-02-10 06:54:39 -06:00
Jonathan Shimwell
853ef5ea49
2nd round of review improvments from paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-09 19:51:46 +00:00
Jonathan Shimwell
e6d8e3f4a7
avoiding true divide erorr 2023-02-09 17:53:04 +00:00
Jonathan Shimwell
8a5a520106
code review improvments from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-02-09 17:38:33 +00:00
Ethan Peterson
63b8261336 treat MeshSurfaceFilter differently 2023-02-07 14:13:46 -05:00
Ethan Peterson
5f0e3e14fb added default filter shape and mesh filter shape 2023-02-07 14:13:46 -05:00
Jonathan Shimwell
e9866b4d66 added get_tabular metho to energyfilters 2023-01-31 13:20:31 +00:00
Patrick Shriwise
d765d3224f
Update openmc/filter.py
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-11-10 09:02:31 -06:00
Patrick Shriwise
5e7f3f7efd Adding alias for CellbornFilter in the Python API 2022-11-09 17:34:05 -06:00
Paul Romano
2ae5ccb031 Fix EnergyFunctionFilter.from_xml_element 2022-10-18 12:14:15 -05:00
Patrick Shriwise
61a0458d4c Include interpolation types in params docstr 2022-09-22 10:46:55 -05:00
Patrick Shriwise
8228db6d47 Writing interpolation attribute as an attribute of the 'y' dataset. 2022-09-17 12:05:48 -05:00
Patrick Shriwise
834450066e Adding check of interpolation parameter in eff __eq__ 2022-09-17 11:31:46 -05:00
Patrick Shriwise
f33ea966b2 Compute interpolation value in loop. Correction to from_tab1D. 2022-09-17 11:10:27 -05:00
Patrick Shriwise
848c0f3e0b Update to eff docstring 2022-09-17 09:50:37 -05:00
Patrick Shriwise
3c9e359a57 Addressing some comments from @paulromano 2022-09-17 09:47:16 -05:00
Patrick Shriwise
3b00ed3864 Adding checks for data size based on interpolation type 2022-09-08 22:37:57 -05:00
Patrick Shriwise
fbce363784 Using a separate dictionary for interpolation values 2022-09-07 23:05:15 -05:00
Patrick Shriwise
fd7683fe31 Correction to str literal 'linear-linear' 2022-09-06 22:50:27 -05:00
Patrick Shriwise
5168b3392a Accepting other interpolation types for converted Tabulated1D distributions 2022-09-06 20:31:00 -05:00
Patrick Shriwise
4ba9acd459 Adding test results for additional interpolation types 2022-09-01 23:34:24 -05:00
Patrick Shriwise
66ff5b873d Adding missing docstring 2022-09-01 23:34:24 -05:00
Patrick Shriwise
c09f539cd5 Updating check to log-log 2022-09-01 23:34:24 -05:00
Patrick Shriwise
2ef49a9c9b Updating tests for eff 2022-09-01 23:34:24 -05:00
Patrick Shriwise
0d551cbb21 Adding support for log-log interpolation on the C++ side 2022-09-01 23:34:23 -05:00
Patrick Shriwise
026d172255 Adding interpolation property to EnergyFunctionFilter. 2022-09-01 23:34:23 -05:00
Paul Romano
02f1815299 Add missing versionadded directives 2022-08-15 13:20:59 -05:00
Jonathan Shimwell
7ba45aaa35
[skip ci] review comments from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-08 22:21:37 +01:00
Jonathan Shimwell
77c3c82c7a renamed method to bin_lethargy 2022-08-08 17:52:49 +01:00
Jonathan Shimwell
bb764b960a added return type to bin width method 2022-08-08 13:52:50 +01:00
Jonathan Shimwell
75548aade8 added bin_log_width to energyfilter 2022-08-08 13:34:20 +01:00
Ethan Peterson
f85dc9dc9b adding helper method for EnergyFilter creation 2022-03-10 13:35:41 -05: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
8989a0f402 Improve docstring for CellFromFilter, CellbornFilter 2022-02-04 07:19:43 -06:00
Paul Romano
fdd5e10822 Release notes for 0.13.0 2022-02-04 07:19:35 -06:00