minor corrections, added example json file

This commit is contained in:
2024-05-16 09:43:29 +02:00
parent d6ee7e8be8
commit fea00f9a0a
3 changed files with 544 additions and 3 deletions
+7 -2
View File
@@ -173,11 +173,16 @@ void Simulation::start() {
pair.second->dynamicDensityField()->resetDynamicDensityField();
pair.second->lastSyncDensityField()->resetDynamicDensityField();
// questionable if they need to be reset:
// + time res in current
// - ions very slow -> very unlikely that an ion crosses a boundary
pair.second->currentCollector()->resetCurrentCollector();
pair.second->lastSyncCurrentCollector()->resetCurrentCollector();
pair.second->deletionLogger()->resetDeletionLogger();
pair.second->lastSyncDeletionLogger()->resetDeletionLogger();
// do not need to be reset, since the time resolution considers the same
// set of particles
// pair.second->deletionLogger()->resetDeletionLogger();
// pair.second->lastSyncDeletionLogger()->resetDeletionLogger();
}
leftover_events_time_resolution = time_resolution_this_cpu;
switch_active(active_queue_, non_active_queue_);