Minor changes in debug output, added information
to error messages
This commit is contained in:
@@ -47,7 +47,8 @@ std::shared_ptr<SimulationOutput> buildSimulationOutput(
|
||||
output->addDensityFieldOutput(task);
|
||||
}
|
||||
} else {
|
||||
ERROR("This species can not be outputted.");
|
||||
ERROR("DensityFields: Species to be outputted have to be "
|
||||
"given as an array or using the keyword \"all\".");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -84,7 +85,8 @@ std::shared_ptr<SimulationOutput> buildSimulationOutput(
|
||||
output->addCurrentBorderOutput(task);
|
||||
}
|
||||
} else {
|
||||
ERROR("This species can not be outputted.");
|
||||
ERROR("CurrentBorders: Species to be outputted have to be "
|
||||
"given as an array or using the keyword \"all\".");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -124,7 +126,8 @@ std::shared_ptr<SimulationOutput> buildSimulationOutput(
|
||||
output->addDeletionLoggerOutput(task);
|
||||
}
|
||||
} else {
|
||||
ERROR("This species can not be outputted.");
|
||||
ERROR("DeletionLogger: Species to be outputted have to be "
|
||||
"given as an array or using the keyword \"all\".");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -140,7 +143,7 @@ std::shared_ptr<SimulationOutput> buildSimulationOutput(
|
||||
intervall = 1;
|
||||
}
|
||||
ASSERT_POSITIVE(&intervall,
|
||||
"The intervall for the potential must be positive");
|
||||
"The intervall for the poisson solver output must be positive");
|
||||
|
||||
bool overwrite_last = json_bool(
|
||||
json_object_by_path(object, {"PoissonSolver", "OverwriteLast"}));
|
||||
|
||||
Reference in New Issue
Block a user