Included redirection in drift velocity generator

This commit is contained in:
2024-03-07 10:56:01 +01:00
parent 95461433c2
commit dc534dcd9d
3 changed files with 23 additions and 2 deletions
+2 -2
View File
@@ -189,11 +189,11 @@ void SpeciesBuilder::fillVelocityDistribution(Parameter& parameter) {
void SpeciesBuilder::fillDriftVelocity(Parameter& parameter) {
DEBUG_LEVEL_2("Fill drift velocity.");
for (auto& b : background_species_info) {
b.second.drift_velocity = buildDriftVelocity(
b.second.drift_velocity = buildDriftVelocityIncludingRedirection(
parameter, json_path_append(b.second.path_in_json, {"DriftVelocity"}));
}
for (auto& b : tracked_species_info) {
b.second.drift_velocity = buildDriftVelocity(
b.second.drift_velocity = buildDriftVelocityIncludingRedirection(
parameter, json_path_append(b.second.path_in_json, {"DriftVelocity"}));
}
}