Fixed to state that drawing from density works.
Some debugging elements not removed.
This commit is contained in:
@@ -259,6 +259,13 @@ void SpeciesBuilder::fillTrackedDensity(Parameter& parameter) {
|
||||
{"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_);
|
||||
|
||||
b.second.last_sync_density_field = buildDynamicDensityField(
|
||||
parameter,
|
||||
json_path_append(b.second.path_in_json,
|
||||
@@ -283,7 +290,8 @@ 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.last_sync_density_field));
|
||||
b.second.drift_velocity, b.second.last_sync_density_field,
|
||||
b.second.density_drawing_field));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user