Commit graph

300 commits

Author SHA1 Message Date
Paul Romano
e130701f10
Fix MeshFilter.get_pandas_dataframe to handle all mesh types (#3817) 2026-02-24 07:35:23 +00:00
Paul Romano
139907c955
Implement tally filter for filtering by reaction (#3809) 2026-02-21 10:17:12 -06:00
Paul Romano
a35927aad3
Extend ParticleProductionFilter to support multiple particle types (#3780) 2026-02-13 22:18:29 -06:00
Gavin Ridley
f2c936cf5b
Implement filter for secondary particle production binned by energy (#3453)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-02-05 18:00:03 -06:00
Paul Romano
b41e22f68b
Refactor ParticleType to use PDG Monte Carlo numbering scheme (#3756)
Co-authored-by: GuySten <62616591+GuySten@users.noreply.github.com>
Co-authored-by: Amanda Lund <alund1187@gmail.com>
2026-02-03 07:23:24 +00:00
Jack Fletcher
0486e433d2
Source biasing capabilities (#3460)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-01-12 09:51:12 -06:00
Zoe Prieto
a2fd6cc57e
Support rotation in MeshFilter (#3176)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2025-12-19 22:56:13 -06:00
Paul Romano
db8d462738
Allow DistribcellFilter to work with apply_tally_results=True (#3667) 2025-12-04 06:53:04 -06: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
GuySten
4fabed542d
fixed a bug in MeshMaterialFilter.from_volumes (#3520)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-08-08 00:53:33 +00:00
Paul Romano
7fda3eb846
Implement a new MeshMaterialFilter (#3406)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2025-06-06 16:30:50 -05:00
Gregoire Biot
dc619eac17
Filter weight implementation (#3345)
Co-authored-by: Grego01-biot <grego01@pc-neutronic-06.psfc.mit.edu>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-05-05 15:33:12 -05:00
Jonathan Shimwell
bd95b52f4d
Add check for equal value bins in an EnergyFilter (#3372) 2025-04-11 16:35:30 -05:00
Paul Romano
d643ad0c41
Simulation of decay photons through the D1S method (#3235)
D1S FTW!
2025-02-21 12:47:38 -05:00
Zoe Prieto
c285a2c4ce
Implement filter for cosine of angle of surface crossing (#2768)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-10-04 05:07:03 +00:00
John Vincent Cauilan
467b8e99ab
Fix ParticleFilter to work with set inputs (#3092) 2024-07-30 07:27:35 -05:00
Paul Romano
d1d37a5b99
Allow MOAB k-d tree to be configured (#2976) 2024-04-26 05:57:02 -05:00
Patrick Shriwise
e77a5247b6
Support UnstructuredMesh for IndependentSource (#2949)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-12 12:14:13 -05:00
Jonathan Shimwell
cfebe16127
added check for length of value passed into EnergyFilter (#2887) 2024-04-11 17:35:29 +02:00
Joffrey Dorville
cc848effe7
Meshborn filter (#2925)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-04 21:32:21 +00:00
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