Commit graph

44 commits

Author SHA1 Message Date
Paul Romano
3fcb9692be
Make sure output is treated consistently in R2SManager (#3994)
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
2026-07-04 22:20:03 -05:00
Paul Romano
608a1c3386
Fix several issues related to independent operator depletion (#3977)
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
2026-06-23 09:00:47 +02:00
Paul Romano
1116c4bdc0
Support multiple meshes in R2S calculations (#3860) 2026-04-28 10:02:08 -04:00
Paul Romano
49b896b0eb
Enable "hybrid" tallies in get_microxs_and_flux (#3831) 2026-03-02 22:06:52 -05:00
Paul Romano
d217efa007
Add two MPI barriers in R2S workflow (#3646) 2025-11-20 12:10:04 -06:00
Paul Romano
028f440448
Support MPI parallelism in R2SManager (#3632) 2025-11-19 11:19:27 -06:00
Marco De Pietri
e5348d3f62
Avoid divide-by-zero in from_multigroup_flux when flux is zero (#3624)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-11-12 10:35:07 +00:00
Paul Romano
5fc289b99d
Automate workflow for mesh- or cell-based R2S calculations (#3508)
Co-authored-by: Ethan Peterson <eepeterson3@gmail.com>
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2025-11-01 00:15:25 +00:00
Paul Romano
6b672f772f
Allow already-initialized openmc.lib in TemporarySession (#3505) 2025-07-26 16:42:33 -05:00
Paul Romano
eb74d497d2
Introduce openmc.lib.TemporarySession context manager (#3475) 2025-07-01 12:43:45 -05:00
Paul Romano
dab8af5672
Support flux collapse method in get_microxs_and_flux (#3466)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
2025-07-01 12:43:28 +02:00
Jonathan Shimwell
f81962c960
Allowing chain_file to be chain object to save reloading time (#3436)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-06-12 21:02:35 +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
Paul Romano
c9207795d8
Fixes in MicroXS.from_multigroup_flux (#3192) 2024-11-11 16:03:31 -06:00
Lorenzo Chierici
54c28b7705
run microxs with mpi (#3028) 2024-08-16 06:57:32 -05:00
John Vincent Cauilan
4c0e08bae8
Replace all deprecated Python typing imports and syntax with updated forms (#3085)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-07-18 17:40:42 +00:00
Paul Romano
55b52b7ef3
Release of version 0.15.0 (#3050) 2024-06-22 01:28:56 +00:00
Paul Romano
6e57f1dc72
Compute homogenized materials over mesh elements (#2971) 2024-05-02 13:47:10 -04:00
Jonathan Shimwell
1d56adbc3d
added damage-energy as optional reaction for micro (#2903) 2024-04-24 13:07:36 -05:00
Ethan Peterson
0aad22d541
Allow get_microxs_and_flux to use OPENMC_CHAIN_FILE environment variable (#2934) 2024-04-05 08:35:15 +02:00
Jin Whan Bae
f5900293fa
microxs from mg flux and chain file (#2755)
Co-authored-by: Jin Whan Bae <baej@ornl.gov>
Co-authored-by: shimwell <mail@jshimwell.com>
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Olek <45364492+yardasol@users.noreply.github.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-12-21 21:21:14 -06:00
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev (#2740) 2023-10-31 16:55:19 -05:00
Ethan Peterson
11a4638849
Faster indexing in MicroXS object (#2702)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-09-26 07:49:46 +00:00
Paul Romano
7fdda4aa06
Allow mesh domain in get_microxs_and_flux (#2700) 2023-09-22 08:35:30 -05:00
Paul Romano
d21b653d32
Refactor MicroXS class and usage in IndependentOperator (#2595)
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Olek <45364492+yardasol@users.noreply.github.com>
2023-08-31 10:55:21 -04:00
Paul Romano
36f229eb01
Remove initial dilute nuclides in MicroXS (#2579) 2023-06-29 11:06:35 +02:00
Paul Romano
19e4c370e5
Remove use of mgxs module in MicroXS.from_model (#2572)
Co-authored-by: Olek <45364492+yardasol@users.noreply.github.com>
2023-06-25 13:59:47 -05:00
Paul Romano
16b955f690
Fix docstring for MicroXS class (#2540) 2023-06-01 00:25:26 +00:00
Paul Romano
3645a41861 Address @shimwell comments on #2211 2022-09-21 07:26:27 -05:00
Paul Romano
02f1815299 Add missing versionadded directives 2022-08-15 13:20:59 -05:00
Olek
f8101006d8
remove init_lib() call in MicroXS.from_model(); use setdefault to ensure correct directory is used
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-13 10:20:19 -05:00
yardasol
3c483a7d7d add run_kwargs parameter to MicroXS.from_model() 2022-08-11 17:31:39 -05:00
yardasol
5af0d291a1 style fix on constant 2022-08-11 15:14:07 -05:00
yardasol
672293a310 doc fixes 2022-08-09 23:04:53 -05:00
Paul Romano
0ba14b2cf0 Fix use of energy groups in MicroXS.from_model 2022-08-08 12:20:11 -05:00
Olek
c75524cfa0
simplify from_model
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-04 16:11:11 -05:00
yardasol
3ef15da62f fix MicroXS.from_model() 2022-08-04 12:13:07 -05:00
yardasol
c3921b735f Changes from @paulromano's 6th round of comments
- add more detail to `MicroXS` example in User's Guide
- Cleanup the `from_model` method
- Reduce repeated code between `MicroXS` and `CoupledOperator`
2022-08-04 10:51:38 -05:00
Olek
cbb0ee9964
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-03 16:45:25 -05:00
yardasol
65624df58d add chain_file, dilute_initial parameters to MicroXS.from_model 2022-08-03 16:16:19 -05:00
Olek
4a06d14b15
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-02 12:28:00 -05:00
yardasol
4bab1b5611 remove attribute from MicroXS; specify xs values to be in barns 2022-08-01 12:09:21 -05:00
yardasol
eac4092362 address @paulromano's fourth round of comments
- syntax fixes
- remove `units` argument from MicroXS.from_csv and MicroXS.from_array
- make Operator warning display only when users call Operator
2022-08-01 09:35:35 -05:00
yardasol
3e827530ba make changes from @paulromano's 3rd review
- syntax fixes and adjustments
- change name of FluxDepletionOperator to IndependentOperator
- flux_operator.py -> independent_operator.py
- new class, MicroXS, for creating (for now) one-group microscopic
  cross section DataFrames. This class takes the functionality that was
  previously in static functions in IndependentOperator
- Associated changes to the test suite and online docs
2022-07-28 17:50:06 -05:00