Added counting of physical losses at a wall

to deletion logger
This commit is contained in:
2025-07-09 16:39:56 +02:00
parent 603434e161
commit 0237292c5c
6 changed files with 65 additions and 5 deletions
+7
View File
@@ -244,6 +244,13 @@ void SimulationOutput::writeNumDeletions(DeletionLogger* logger,
writer.write(pair.second, path_to_deletions + "/ClusterFormation");
}
}
auto physDeletions = logger->numPhysDeletions();
for (auto& pair : physDeletions) {
if (pair.first == PhysicalDeletionType::wall) {
writer.write(pair.second, path_to_deletions + "/Wall(physical)");
}
}
}
void SimulationOutput::writeCurrentCrossings(