Electrons are explicitly stored between timesteps

and can be dumped using MPI-IO.
Restarts read particles from earlier output.
This commit is contained in:
2025-08-11 09:18:51 +02:00
parent 0dd65d38f3
commit 76a93f5aa4
16 changed files with 781 additions and 81 deletions
+5
View File
@@ -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",