Removed cpu syncs inbetween a timestep; Changed Density field accordingly
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user