Removed possibility of Nphi > 1

This commit is contained in:
2025-10-30 16:19:18 +01:00
parent 5c39fb1745
commit 5cb560e727
21 changed files with 403 additions and 524 deletions
+3 -3
View File
@@ -139,8 +139,8 @@ void Restart::restartDrawingDensityField(DynamicDensityField* field, std::string
#ifdef debug_level3
DEBUG_LEVEL_3(path_to_data);
#endif
blitz::Array<double, 5> time_in_bin = reader_.readD5Double(path_to_data);
field->restartTimeInBin(time_in_bin);
blitz::Array<double, 4> number_in_bin = reader_.readD4Double(path_to_data);
field->restartNumberInBin(number_in_bin);
field->recalculateDensityArray();
}
@@ -163,7 +163,7 @@ void Restart::restartPoissonSolver(PoissonSolver* solver) {
#ifdef debug_level3
DEBUG_LEVEL_3(path);
#endif
blitz::Array<double, 3> potential = reader_.readD3Double(path);
blitz::Array<double, 2> potential = reader_.readD2Double(path);
solver->setPotential(potential);
}