Fixed bug of max Interactions not getting logged,

Added functionality to cluster_formation entry,
added logging of recombination
This commit is contained in:
2024-03-05 16:16:29 +01:00
parent 0471363834
commit 5d33ea11ff
4 changed files with 24 additions and 9 deletions
+6
View File
@@ -1,6 +1,7 @@
#include "interactions/recombination.h"
#include "simulation/density_field.h"
#include "simulation/logger.h"
namespace interaction {
@@ -21,6 +22,11 @@ InteractionOutput Recombination::performInteraction(
InteractionOutput output;
output.deleteCurrentParticle(true);
if (particle.specie()->deletionLogger()) {
particle.specie()->deletionLogger()->logDeletion(
particle.position(), DeletionType::recombination);
}
return output;
}