Electrons are explicitly stored between timesteps
and can be dumped using MPI-IO. Restarts read particles from earlier output.
This commit is contained in:
@@ -137,6 +137,11 @@ void SpeciesBuilder::initTrackedSpecies(Parameter& parameter) {
|
||||
json_t* value;
|
||||
json_object_foreach(parameter.jsonObjectFromBase({"Species", "Tracked"}), key,
|
||||
value) {
|
||||
if(std::string(key).size() >= 16) {
|
||||
std::stringstream out;
|
||||
out << std::string(key) << ": name is to long, has to be 15 chars or less!";
|
||||
ERROR(out.str());
|
||||
}
|
||||
tracked_species_info[std::string(key)] = TrackedSpeciesBuilderInfo();
|
||||
tracked_species_info[std::string(key)].name = std::string(key);
|
||||
tracked_species_info[std::string(key)].path_in_json = {"Species", "Tracked",
|
||||
|
||||
Reference in New Issue
Block a user