Commit graph

42 commits

Author SHA1 Message Date
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
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
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
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
Paul Romano
c8b99514b7 Make sure data gets initialized for particle restarts 2020-06-18 16:21:26 -05:00
Paul Romano
e579168969 Calculate min/max energies during simulation_init 2020-06-18 13:37:50 -05:00
Paul Romano
9dab8bf507 Use references consistently in geometry functions 2020-04-23 16:37:23 -05:00
John Tramm
8c884a17de General import of event-based model from old branch. Seems to work, but need to test then work on cleaning up some more. 2020-01-20 18:19:57 +00:00
John Tramm
47cfc9cbf1 finished comment incorporation from code review 2020-01-16 01:48:59 +00:00
John Tramm
b05dedb179 moved transport functions in simulation to be more consistent 2020-01-14 02:48:27 +00:00
John Tramm
e60dd30079 moved shared fission bank and event based functions around. Created new event files for event-based logic. 2020-01-08 17:09:41 +00:00
John Tramm
8aaa97a0bd Removed old style history() function from particle object, and moved it into new functions in simulation file. Also had to fix particle_restart function to follow similar logic that was moved to initialize_history() function. 2020-01-07 23:03:13 +00:00
John Tramm
79bf18efa8 misc small edits. Trying to track down threading bug that causes undefined behavior 2020-01-06 20:52:48 +00:00
John Tramm
1bb03f004a Moved current_work variable to particle object, and removed threadprivate tag from tally_derivs 2019-12-11 21:58:19 +00:00
John Tramm
796844fd0b fixed broken stuff from prn interface changes 2019-12-11 16:09:15 +00:00
Sterling Harper
f4ae14af39 Use RegularMesh* for entropy and ufs 2019-05-29 11:03:32 -04:00
Paul Romano
492d984525 Change name of work -> work_per_rank 2019-03-20 13:26:04 -05:00
Paul Romano
49bf4523c3 Remove thread_id and n_threads global variables 2019-03-19 13:57:42 -05:00
Paul Romano
0439eb0fa1 Convert remainder of tallies to C++ 2019-02-21 19:30:04 -06:00
Paul Romano
3eea8311d3 Move results and global_tallies over to C++ 2019-02-20 15:03:36 -06:00
Paul Romano
7325897ee9 Address @smharper comments on #1169 2019-02-19 21:48:20 -06:00
Paul Romano
968e9a95d4 Convert particle restart to C++ 2019-02-15 10:59:23 -06:00
Paul Romano
fe9f774d31 Add normalize_density, set_density, set_densities on C++ side 2019-01-30 22:15:48 -06:00
Paul Romano
b8187571b3 Move source and fission banks to C++ 2018-11-26 23:00:44 -06:00
Paul Romano
85a5af2f5f Move openmc_next_batch to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
a4ddaf9ed6 Move finalize_batch and write_source_point to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
8c64139c06 Move initialize_history to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
acfc352e1b Move openmc_simulation_init to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
38afb5e2a4 Move finalize_generation to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
ccf1ced25e Move openmc_init, initialize_batch, openmc_simulation_finalize to C++ 2018-10-19 07:41:29 -05:00
Paul Romano
8ebd26b160 Move code related to k_generation to C++ 2018-10-15 13:42:10 -05:00
Paul Romano
f2748f64a9 Perform end of simulation broadcasts from C++ 2018-10-15 11:52:33 -05:00
Paul Romano
3ba886cd6d Move variable definitions from simulation_header.F90 to simulation.cpp 2018-10-15 11:52:33 -05:00
Paul Romano
3b85a65711 Add remaining variables in simulation.h 2018-10-15 11:52:30 -05:00
Paul Romano
6f80abfe2b Move variables in simulation.h into simulation namespace 2018-10-15 11:10:33 -05:00
Sterling Harper
452de390ba Merge remote-tracking branch 'upstream/develop' into cpp_geometry 2018-08-27 20:03:02 -04:00
Sterling Harper
de38aa5a63 Address #1061 comments 2018-08-27 17:07:22 -04:00
Paul Romano
83d64397d1 Add doxygen comments where needed 2018-08-23 21:38:23 -05:00
Paul Romano
b92677e70b Convert source distributions to C++ 2018-08-23 15:23:47 -05:00
Paul Romano
9f0ea52d1a Move headers to include/openmc directory and openmc.h -> openmc/capi.h 2018-08-20 14:40:32 -05:00
Renamed from src/simulation.h (Browse further)