Commit graph

48 commits

Author SHA1 Message Date
John Tramm
54b661d39f
MGXS Bootstrapping (#3965)
Some checks failed
Tests and Coverage / filter-changes (push) Has been cancelled
dockerhub-publish-develop / main (push) Has been cancelled
dockerhub-publish-develop-dagmc-libmesh / main (push) Has been cancelled
dockerhub-publish-develop-dagmc / main (push) Has been cancelled
dockerhub-publish-develop-libmesh / main (push) Has been cancelled
Tests and Coverage / Python 3.13 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Has been cancelled
Tests and Coverage / Python 3.14 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Has been cancelled
Tests and Coverage / Python 3.14t (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=n, mpi=n, dagmc=n, libmesh=n, event=n (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=n, libmesh=n, event=n (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=n, mpi=y, dagmc=n, libmesh=n, event=n (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=n, libmesh=n, event=n (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=y, event= (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=, event=y (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=y, libmesh=, event= (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=, libmesh=y, event= (push) Has been cancelled
Tests and Coverage / coverage (push) Has been cancelled
Tests and Coverage / Check CI status (push) Has been cancelled
Co-authored-by: John Tramm <jtramm@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-07-22 05:38:20 +00:00
John Tramm
0169fd9226
Shared Secondary Particle Bank (#3863)
Co-authored-by: John Tramm <jtramm@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: Copilot <copilot@github.com>
2026-05-19 23:23:10 -05: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
Patrick Shriwise
8cd3911cbe
Reset DAGMC history when reviving from source. (#3601)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-11-12 06:01:18 +00:00
Paul Romano
8f36ff2b3a
Update find_package calls in OpenMCConfig.cmake (#3572) 2025-09-23 10:06:29 -05:00
Jonathan Shimwell
6f5e1347d4
Add test for FW-CADIS based WW generation on a DAGMC model (#3504)
Co-authored-by: Jon Shimwell <jon@proximafusion.com>
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-07-29 11:17:51 +00:00
John Tramm
4cce6ee6c0
Fix for Weight Window Scaling Bug (#3511)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-07-29 10:15:40 +00:00
Paul Romano
01fa8056d1
Introduce WeightWindowsList class that enables export to HDF5 (#3456) 2025-06-25 13:44:53 -05:00
Patrick Shriwise
7a18108724
Adjust for secondary particle energy directly in heating scores (#3227)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-25 00:06:15 +00:00
Patrick Shriwise
7089780026
Add test for flux bias with weight windows in multigroup mode (#3202)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-24 20:29:00 +00:00
Patrick Shriwise
9070b8b220
Prepare point query data structures on meshes when applying Weight Windows (#3157)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-10-04 22:59:41 -05:00
Joffrey Dorville
ddc9526966
Storing surface source points using a cell ID (#2888)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-06-19 10:11:58 -05:00
vanessalulla
97537d5e9a
Rename max_splits to max_history_splits, set default value to 1.0e7 (#2954)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-06-18 03:31:34 +00:00
Patrick Shriwise
afa6ceb7d7
Adding ability to set additional ww attrs from openmc.lib (#2609)
Co-authored-by: Jonathan Shimwell <mail@jshimwell.com>
2023-07-22 21:18:46 +01:00
Patrick Shriwise
382bcb2e8e
Updates to object lifecycle for WeightWindows and WeightWindowGenerators (#2582) 2023-06-30 23:29:47 -04:00
Jack Fletcher
b6c621f9b4
Change "update_params" to "update_parameters" in test suite: test_ww_gen.py (#2577) 2023-06-28 18:57:44 -04:00
Patrick Shriwise
8cc1c33463
Updating source definitions in examples (#2571) 2023-06-22 21:36:33 -05:00
Patrick Shriwise
eda39ad9ca
Python source class refactor (#2524)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-06-20 21:27:55 -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
Patrick Shriwise
ce956f8515 Run ww unit test in tmp dir 2022-12-29 09:23:14 -06:00
Patrick Shriwise
80563f1b8c Absolute file paths on system 2022-10-27 14:43:14 -05:00
Patrick Shriwise
5c589b7a6c Adding __eq__ method and roundtrip test for wws 2022-10-27 11:40:12 -05:00
Jonathan Shimwell
3d26f1992c added test for lower ww shape 2022-10-24 19:13:22 +01:00
Ethan Peterson
f9ba64eeb3
Update tests/unit_tests/weightwindows/test_wwinp_reader.py 2022-10-03 07:22:26 -04:00
Ethan Peterson
6bc2ee8e4f updated cyl and t wwlb for future tests 2022-10-03 07:19:58 -04:00
Ethan Peterson
4957ba240b revert to original expected ww lb 2022-10-03 07:17:07 -04:00
Ethan Peterson
1a306c4c15 rewrote ww test files 2022-10-03 07:15:02 -04:00
Ethan Peterson
6fe91efd05 fixed wwinp reader tests 2022-10-02 10:45:01 -04:00
Patrick Shriwise
b0a4871710
Apply suggestions from @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-03-16 22:51:47 -05:00
Patrick Shriwise
a29134ef43 Test against flat array now that the attribute is shaped 2022-03-16 12:18:47 -05:00
Patrick Shriwise
695cae9391 Updating wwinp_cyl to meet wwinp spec 2022-03-15 19:10:12 -05:00
Patrick Shriwise
22fc5d8e2c Adding relevant time bin lines to test file 2022-03-15 19:10:12 -05:00
Patrick Shriwise
def829ad76 Improvements to test file from suggestions by @paulromano 2022-03-15 18:52:11 -05:00
Patrick Shriwise
64e039502e PEP8 2022-03-15 10:04:30 -05:00
Patrick Shriwise
176b1a09a3 Updates to attribute name 2022-03-15 09:59:52 -05:00
Patrick Shriwise
61bce00f08 Adding function to resolve the full path to the test data files. 2022-03-15 09:50:34 -05:00
Patrick Shriwise
d79f2899a8 Adding tests for time-dependent and non-rectilinear mesh wws 2022-03-15 09:50:33 -05:00
Patrick Shriwise
6ddce78987 Adding test files for time-dependent and cylindrical mesh weight windows 2022-03-15 09:50:33 -05:00
Patrick Shriwise
7ed72b73fa PEP8 updates for test file 2022-03-15 09:50:32 -05:00
Patrick Shriwise
fe6920afb1 Updates to mesh boundaries for MCNP compliant format in test files 2022-03-15 09:50:32 -05:00
Patrick Shriwise
7abb11f7c4 Adding wwinp test file for neutrons only
Adding wwinp reader test file

Updating tests for more test cases and adding readable labels

Fixes for iteration ordering, shape, and particles read

Updating weight window values of neutron-only file.

Adding neutron-photon and photon-only test files

Updates to wwinp file format. All can be read by MCNP.
2022-03-15 09:50:32 -05:00
Patrick Shriwise
b3112dc451
Apply @paulromano suggestions from review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-03-11 15:33:39 -06:00
Patrick Shriwise
a000921e7c Adding comment for clarity 2022-03-11 11:58:17 -06:00
Patrick Shriwise
1e61ccb27f Add check that ww class can be converted to str successfully 2022-03-11 11:19:51 -06:00
Patrick Shriwise
24e0f75b50 Tests: updating ww unit test with check for similarity in source bin. 2022-01-18 10:47:44 -06:00
Patrick Shriwise
0e23d717b9 Tests: renaming the weight windows regression test dir to be consistent with the unit test dir 2022-01-14 14:39:59 -06:00
Patrick Shriwise
c25403e788 Fix: reset auto IDs in ww unit test. 2022-01-08 20:38:55 -06:00
Patrick Shriwise
72cf08a0f1 Tests: Adding unit test for weight windows. 2022-01-08 17:06:51 -06:00