Removed cpu syncs inbetween a timestep; Changed Density field accordingly

This commit is contained in:
2025-10-21 09:09:50 +02:00
parent 753cbe31f5
commit f5ff3d2f7c
12 changed files with 59 additions and 122 deletions
+1 -8
View File
@@ -296,13 +296,6 @@ void SpeciesBuilder::fillTrackedDensity(Parameter& parameter) {
json_path_append(b.second.path_in_json,
{"DensityField", "DynamicDensityField"}),
timer_);
// not the optimal solution! (has to be optimized)
b.second.density_drawing_field = buildDynamicDensityField(
parameter,
json_path_append(b.second.path_in_json,
{"DensityField", "DynamicDensityField"}),
timer_);
}
}
@@ -324,7 +317,7 @@ void SpeciesBuilder::buildSpecies() {
b.second.type, b.second.name, b.second.mass_kg, b.second.charge_C,
b.second.mover, b.second.terminator, b.second.reflector,
b.second.density_field, b.second.velocity_distribution,
b.second.drift_velocity, b.second.density_drawing_field));
b.second.drift_velocity));
}
}