removed the 4d density field
This commit is contained in:
+7
-15
@@ -34,20 +34,10 @@ void Restart::restart(std::map<std::string, std::shared_ptr<species::TrackedSpec
|
||||
DEBUG_LEVEL_3("Restarting timer.");
|
||||
restartTimer(species.begin()->second.get());
|
||||
|
||||
for(const auto& pair: species) {
|
||||
{
|
||||
std::string path = pair.second->name() + "/DensityField/SimulationData/" +
|
||||
restart_identifier_;
|
||||
restartDrawingDensityField(pair.second->densityForDrawing(), path);
|
||||
}
|
||||
|
||||
{
|
||||
std::string path = pair.second->name() +
|
||||
"/DensityFieldWithPitchAngle/SimulationData/" +
|
||||
restart_identifier_;
|
||||
restartDrawingDensityField(pair.second->dynamicDensityFieldWithPitchAngleForDrawing(),
|
||||
path);
|
||||
}
|
||||
for(const auto& pair: species) {
|
||||
std::string path = pair.second->name() + "/DensityField/SimulationData/" +
|
||||
restart_identifier_;
|
||||
restartDrawingDensityField(pair.second->densityForDrawing(), path);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,6 +97,7 @@ void Restart::restartTimer(species::TrackedSpecie* reference_specie) {
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
void Restart::restartDrawingDensityField(DynamicDensityField* field, std::string path) {
|
||||
// restart TimeInBin field
|
||||
{
|
||||
@@ -130,8 +121,9 @@ void Restart::restartDrawingDensityField(DynamicDensityField* field, std::string
|
||||
}
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
void Restart::restartDrawingDensityField(DynamicDensityFieldWithPitchAngle* field, std::string path) {
|
||||
void Restart::restartDrawingDensityField(DynamicDensityField* field, std::string path) {
|
||||
// restart TimeInBin field
|
||||
{
|
||||
std::string path_to_data = path + "/TimeInBin";
|
||||
|
||||
Reference in New Issue
Block a user