Fixed errors s.t. code runs (on 1 proc)
This commit is contained in:
@@ -144,9 +144,9 @@ void SimulationOutput::writeSimulationData(PoissonSolver* poisson_solver,
|
||||
std::string poisson_path,
|
||||
int cpu_sync,
|
||||
bool overwrite_last) {
|
||||
std::string sync_path = "SyncPeriod_" + std::to_string(cpu_sync);
|
||||
std::string sync_path = "/SyncPeriod_" + std::to_string(cpu_sync);
|
||||
if (overwrite_last) {
|
||||
sync_path = "LastSyncPeriod";
|
||||
sync_path = "/LastSyncPeriod";
|
||||
}
|
||||
std::string path = poisson_path + sync_path;
|
||||
DEBUG_LEVEL_3("Write potential.");
|
||||
|
||||
Reference in New Issue
Block a user