Removed possibility of Nphi > 1
This commit is contained in:
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user