Version 2, position dependent E/B, kinetic ions, boris mover, terminator

This commit is contained in:
Jonas Kellerer
2022-10-21 10:09:19 +02:00
parent acc55cf003
commit 83fd2e5d7e
869 changed files with 1033204 additions and 3634436 deletions
+32
View File
@@ -0,0 +1,32 @@
#ifndef LOGGER_H
#define LOGGER_H
#include <map>
#include <vector>
#include "simulation/coordinates.h"
enum class DeletionType {
wall,
recombination,
max_interactions,
max_time_alive,
cluster_formation
};
class DeletionLogger {
public:
DeletionLogger(std::vector<DeletionType> used_types);
virtual void logDeletion(const Coordinate& coordinate, DeletionType type);
std::map<DeletionType, long int> numDeletions() const;
void numDeletions(long int new_value, DeletionType type);
long int numDeletions(DeletionType type) const;
friend class CpuSynchronizer;
private:
std::map<DeletionType, long int> num_deletions;
};
#endif /* LOGGER_H */