Fixed bug of max Interactions not getting logged,
Added functionality to cluster_formation entry, added logging of recombination
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "interactions/recombination.h"
|
||||
|
||||
#include "simulation/density_field.h"
|
||||
#include "simulation/logger.h"
|
||||
|
||||
namespace interaction {
|
||||
|
||||
@@ -20,6 +21,11 @@ InteractionOutput Recombination::performInteraction(
|
||||
InteractionOutput output;
|
||||
output.deleteCurrentParticle(true);
|
||||
|
||||
if (particle.specie()->deletionLogger()) {
|
||||
particle.specie()->deletionLogger()->logDeletion(
|
||||
particle.position(), DeletionType::recombination);
|
||||
}
|
||||
|
||||
return output;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user