mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
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.
This commit is contained in:
parent
bee602e036
commit
8aaa97a0bd
5 changed files with 56 additions and 351 deletions
|
|
@ -228,9 +228,6 @@ public:
|
|||
void event_collide();
|
||||
void event_revive_from_secondary();
|
||||
void event_death();
|
||||
void transport_history_based();
|
||||
//! Transport a particle from birth to death
|
||||
void transport();
|
||||
|
||||
//! Cross a surface and handle boundary conditions
|
||||
void cross_surface();
|
||||
|
|
|
|||
|
|
@ -74,6 +74,8 @@ void initialize_generation();
|
|||
|
||||
void initialize_history(Particle* p, int64_t index_source);
|
||||
|
||||
void transport_history_based_inner(Particle& p);
|
||||
|
||||
//! Finalize a batch
|
||||
//!
|
||||
//! Handles synchronization and accumulation of tallies, calculation of Shannon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue