Commit graph

265 commits

Author SHA1 Message Date
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
Michel Saliba
cd5cd35ad9
Addition of a collision tracking feature (#3417)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-11-13 20:35:33 +00:00
John Tramm
230db28d39
FW-CADIS Disregard Max Realizations Setting (#3616) 2025-10-28 09:22:37 +01:00
GuySten
b94b496113
Ability to source electron/positrons directly (#3404)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-10-15 23:51:59 +00:00
Patrick Shriwise
637e04a9ba
Boundary info accessors (#3496)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-07-18 07:51:30 +00:00
John Tramm
2a0299aec7
Limit Random Ray Weight Window Generation to Final Batch (#3464) 2025-06-24 15:20:26 -05:00
John Tramm
eaef13b9bc
Weight Window Birth Scaling (#3459)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-06-23 20:53:27 +00:00
Joffrey Dorville
47ca2916aa
Kinetics parameters using Iterated Fission Probability (#3133)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-04-14 14:07:48 +00:00
Perry
e8c9134ff6
Add option for survival biasing source normalization (#3070)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-03-06 18:00:29 -06:00
Gavin Ridley
aa4de82258
remove gsl-lite dependency (#3225)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-02-20 01:03:20 +00:00
Andrew Johnson
8626ce5c43
Rely on std::filesystem for file_utils (#3042)
Co-authored-by: Andrew Johnson <git.vyveu@simplelogin.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2025-01-28 07:31:59 +00:00
Zoe Prieto
9686851e7a
Write surface source files per batch (#3124)
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-10-03 22:32:03 +00:00
Ethan Krammer
a8171cbd4e
Implementation of Shannon Entropy for Random Ray (#3030)
Co-authored-by: Ethan Krammer <ethan@DESKTOP-MGFGK9N>
Co-authored-by: John Tramm <john.tramm@gmail.com>
2024-06-27 09:22:10 -05:00
Paul Romano
390005e841
Make sure time boundary doesn't prevent secondary particle creation (#3043) 2024-06-20 09:26:53 -05:00
John Tramm
5222b343a4
Fixed Source Random Ray (#2988)
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-06-17 11:02:20 -05:00
Erik B Knudsen
1702b4554b
Restricted file source (#2916)
Co-authored-by: church89 <l.chierici89@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-05-15 15:49:04 -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
John Tramm
5111aa2621
Random Ray Transport (#2823)
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-04-18 22:10:16 +00:00
Christopher Fichtlscherer
e3cd406a9b
Pulse height tally for photons (#2452)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-07-09 22:50:08 -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
Gavin Ridley
2172907bcf refactor particle source import/export 2023-03-31 14:17:04 -04:00
Patrick Shriwise
1891ff7c24 Updating batch number checks for simulation and sp load 2023-02-16 13:47:42 -06:00
Paul Romano
9ae44b3fd1 Rearragne MCPL source writing logic 2022-12-22 14:56:40 -06:00
Paul Romano
361b3486ef Move remainder of MCPL-related code to mcpl_interface.h/cpp 2022-12-22 14:56:36 -06:00
Paul Romano
987293cfff Small fixes and formatting changes 2022-12-22 10:57:11 -06:00
Erik B Knudsen
5da08f6b0e fix logic to avoid writing both kinds of source file 2022-10-14 01:40:52 +02:00
Erik B Knudsen
81fa3b45a3 mcpl-file output simimlar to regular source output file 2022-10-14 00:22:28 +02:00
Erik B Knudsen
ca396268b5 protect against compilation wo mcpl 2022-10-12 19:32:09 +02:00
Erik B Knudsen
6e523fa1f8 must have a full filename 2022-10-11 16:50:40 +02:00
Erik B Knudsen
8b78374934 fix typo 2022-10-11 16:50:15 +02:00
Erik B Knudsen
cd9eb5b1b2 add a trigger to simulation control 2022-10-11 16:50:15 +02:00
Erik B Knudsen
22ce618601 fix typo 2022-10-11 16:49:44 +02:00
Erik B Knudsen
1519f4f3e6 add a trigger to simulation control 2022-10-11 16:49:44 +02:00
lewisgross1296
0ef945cc06 removing set_strides() from tally.cpp causes issues, but it should be fine to add in openmc_simulation_init() and in there should occur before init_results. this is because init_results use n_filter_bins_ which is modified by set_strides() 2022-08-18 14:55:56 -05:00
Paul Romano
e34bf445f0 Add max_tracks setting (maximum number of tracks per process) 2022-05-20 10:46:59 -05:00
Paul Romano
365aa0b0eb Write all tracks to a single file 2022-05-19 13:27:33 -04:00
Patrick Shriwise
86ac407544 Reset ww ratio when initializing particle history 2022-02-02 17:46:43 -06:00
Patrick Shriwise
564f7bba5c Fix: resetting particle split count in initialize_history. 2022-01-09 21:21:17 -06:00
Paul Romano
e665965c60 Ensure particles lost during event_calculate_xs are terminated 2021-11-19 15:37:25 -06:00
Paul Romano
1bc2bd8460 Apply clang-format on entire source 2021-08-11 11:41:49 -05:00
Gavin Ridley
ad4e1c9f4a remove std:: from vector,unique_ptr,make_unique,array 2021-05-03 18:01:27 -04:00
Gavin Ridley
2af4c9cd92 use base class to handle layout of particle data 2021-05-03 17:57:41 -04:00
Gavin Ridley
d5d2072266 change particle to using accessor methods 2021-05-03 17:56:57 -04:00
AI-Pranto
a6144a4ab8 Rename to max_surface_particles 2021-02-25 10:46:57 +06:00
Gavin Ridley
5e76078ab7 reset n_event_ in initialize_history 2021-02-12 11:15:19 -05:00
YoungHui Park
5f48ec9eeb Rename max_surf_banks to max_particles 2021-01-18 14:36:05 -06:00
YoungHui Park
fa97e03d57 Apply suggestions from code review - remove deprecated changes
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-01-18 14:36:05 -06:00
YoungHui Park
7a79f78c77 Remove unnecessary population of source bank 2021-01-18 14:36:05 -06:00
YoungHui Park
e427dbde50 Reword src to source for consistency 2021-01-18 14:36:05 -06:00
YoungHui Park
fb9ee5504e Switch surf_src_bank in write_source_point to be optional 2021-01-18 14:36:05 -06:00