Removed deleted particles array;

resturctured debug output a bit
This commit is contained in:
2025-05-19 09:38:12 +02:00
parent 1a7931bbea
commit 5179869039
11 changed files with 176 additions and 169 deletions
+7 -7
View File
@@ -127,8 +127,8 @@ void SimulationOutput::writeSimulationData(DynamicDensityField* density_field,
writeDensity(density_field, path);
DEBUG_LEVEL_3("Write time in bin.");
writeTimeInBin(density_field, path);
DEBUG_LEVEL_3("Write deleted particles.");
writeDeletedParticles(density_field, path);
// DEBUG_LEVEL_3("Write deleted particles.");
// writeDeletedParticles(density_field, path);
DEBUG_LEVEL_3("Write physical time.");
writePhysicalTime(density_field, path);
}
@@ -262,11 +262,11 @@ void SimulationOutput::writeTimeInBin(DynamicDensityField* density_field,
writer.write(density_field->timeInBinArray(), path + "/TimeInBin");
}
void SimulationOutput::writeDeletedParticles(DynamicDensityField* density_field,
std::string path) {
writer.write(density_field->deletedParticlesArray(),
path + "/DeletedParticles");
}
// void SimulationOutput::writeDeletedParticles(DynamicDensityField* density_field,
// std::string path) {
// writer.write(density_field->deletedParticlesArray(),
// path + "/DeletedParticles");
// }
void SimulationOutput::writePhysicalTime(DynamicDensityField* density_field,
std::string path) {