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:
John Tramm 2020-01-07 23:03:13 +00:00
parent bee602e036
commit 8aaa97a0bd
5 changed files with 56 additions and 351 deletions

View file

@ -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();

View file

@ -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