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 Wilson
dd6d31bfae
Add properties to settings w/ documentation, c++ loading of filename, and python round-trip test ( #3808 )
...
Co-authored-by: Patrick C Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-03-13 21:40:52 +00:00
Ethan Peterson
2bd06660c5
Parallelize sampling external sources and threadsafe rejection counters ( #3830 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2026-03-04 14:36:43 -06:00
Kevin Sawatzky
14acc762bc
C-API bindings for key random ray functions ( #3749 )
2026-02-06 10:42:32 -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
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
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
d643ad0c41
Simulation of decay photons through the D1S method ( #3235 )
...
D1S FTW!
2025-02-21 12:47:38 -05:00
Zoe Prieto
2450eef424
Introduce ParticleList class for manipulating a list of source particles ( #3148 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-10-05 06:51:56 +00:00
Jonathan Shimwell
8b77a8dd3b
Adding source option to plot ( #2863 )
...
Co-authored-by: Jon Shimwell <jon@proximafusion.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-09-26 22:20:40 +00:00
Jonathan Shimwell
5d2b352025
f strings instead of .format for string editing ( #2987 )
2024-04-29 16:45:37 -05:00
Patrick Shriwise
f543c007a3
Statepoint file loading refactor and CAPI function ( #2886 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-24 17:09:56 -05:00
Paul Romano
187160d082
Ability to compute material volume fractions over mesh elements ( #2802 )
2024-01-19 09:01:18 -06:00
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev ( #2740 )
2023-10-31 16:55:19 -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
476fdd1bf7
Improve description of prn_seed argument in openmc.lib functions
2022-07-18 06:49:14 -05:00
Paul Romano
b1267f0544
Allow openmc_sample_external_source to produce multiple samples
2022-07-15 20:12:10 -05:00
Paul Romano
953b35e742
Add openmc_sample_external_source function and Python binding
2022-07-15 07:21:08 -05:00
Paul Romano
fdd5e10822
Release notes for 0.13.0
2022-02-04 07:19:35 -06:00
Paul Romano
ef61563079
Ensure time is propagated to secondary particles
2022-01-05 07:43:43 -06:00
agnelson
c9e91d42fb
Replacing manual absolute error tests with pytest.approx, improving documentation, and other small changes per the review by @paulroman.
2021-10-05 08:39:24 -05:00
agnelson
e4476fc0b7
Delayed mpi4py import until the user clearly indicated intent to use a communicator (or they already have created one and thus have already imported it); corrected versionchanged doc statements to include comments about what changed; added stackoverflow reference
2021-10-01 09:21:41 -05:00
Adam Nelson
e1365bd036
Applied suggested changes per @paulromano's code review
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-10-01 06:09:24 -05:00
agnelson
b335f82792
Made integrator quiet and fixed failing test caused by MPICommunicator types
2021-09-30 14:39:53 -05:00
agnelson
ad483b3fea
Moved the dummy communicator to being within openmc vice openmc.deplete, added test of model.calculate_volumes and model.deplete, fixed issues identified from those tests, and added a DLL quieting method (still needs to be propagated to integrator.integrate
2021-09-30 11:18:35 -05:00
agnelson
dc80b799ac
Resolving comments from @paulromano and updating tests accordingly
2021-09-29 18:51:00 -05:00
agnelson
e62ba9b85a
Upgrading tests of model, and adding better file management, Model.calculate_volumes method and Model.plot_geometry method. These last two still need to be tested as well as Model.deplete
2021-09-28 08:44:31 -05:00
agnelson
3f24c3d4e1
Added a LIB_INIT module-level flag to openmc.lib. Began process of setting up model to be able to use the C-API instead of only working with XML files
2021-09-23 16:22:42 -05:00
Paul Romano
33f7d09f71
Use names import_properties and export_properties for Python API
2021-06-24 14:26:50 +07:00
Paul Romano
482848cadb
Add openmc_properties_export/import to C API (incomplete)
2021-06-23 11:25:42 +07:00
Gavin Ridley
a4b879ae11
additional documentation, make name changes more consistent
2021-05-08 18:51:49 -04:00
YoungHui Park
cc35910074
Add missing surf_id on source_bank field
2021-01-18 14:36:04 -06:00
Shikhar Kumar
d630746191
Address @paulromano comments
2020-12-03 10:37:13 -05:00
Shikhar Kumar
e87e5ba3dc
Move CMFD reweight to cpp, minor discrepancies in regression tests
2020-11-24 22:56:31 -05:00
Paul Romano
0eae88f871
Merge pull request #1539 from rockfool/timer_reset
...
Reset timer in depletion for transport performance
2020-04-08 16:38:54 -05:00
Paul Romano
8af7e32fd7
Merge pull request #1543 from pshriwise/fix_init_args
...
Fix to openmc.lib.init arguments
2020-04-08 14:02:30 -05:00
Patrick Shriwise
40a64f785f
Set argc in one place as suggested by @paulromano.
2020-04-08 09:25:45 -05:00
Paul Romano
dd283875a8
Remove restart_timers and have openmc_init/run start/stop total timer
2020-04-07 13:49:10 -05:00
Patrick Shriwise
ca56044904
Making sure 'openmc' is always at the beginning of the argument list passed to the dynamic library.
2020-04-07 10:50:12 -05:00
rockfool
6d55a720f7
fix docstring for reset
2020-04-06 22:51:30 -04:00
Paul Romano
4943ae9307
Alphabetize import ordering (and use relative imports in a few places)
2020-04-06 15:16:09 -05:00
rockfool
296dc72b3b
fix a bug in total timer
2020-04-03 13:38:39 -04:00
rockfool
e645acdfa1
add timer restart for C API
2020-04-01 23:03:02 -04:00
rockfool
944afb1d20
fix a bug in timer reset
2020-04-01 21:00:06 -04:00
Paul Romano
e34a71b448
Remove unused imports across entire Python API
2020-03-31 18:11:31 -05:00
Paul Romano
cf6b67c05d
Remove explicit inheritance from object for Python classes
2020-03-23 12:12:31 -05:00
Sterling Harper
8854286e66
Raise helpful error for large banks in openmc.lib
2020-02-10 16:05:42 -05:00
Paul Romano
8f52e04735
Merge pull request #1451 from jtramm/no_thread_private
...
Preparation for event-based parallelism (Thread private variable removal)
2020-01-20 10:45:05 -06:00