Merge pull request #3702 from joakim-hove/mark-tracer-solution

Flag tracer solution data with data type RESTART_TRACER_SOLUTION
This commit is contained in:
Joakim Hove 2021-11-18 09:39:31 +01:00 committed by GitHub
commit 2903814649
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -671,7 +671,7 @@ assignToSolution(data::Solution& sol)
size_t tracerIdx = 0;
for (const auto& tracer : tracers) {
std::string tmp = tracer.name + "F";
sol.insert(tmp, UnitSystem::measure::identity, std::move(tracerConcentrations_[tracerIdx++]), data::TargetType::RESTART_SOLUTION);
sol.insert(tmp, UnitSystem::measure::identity, std::move(tracerConcentrations_[tracerIdx++]), data::TargetType::RESTART_TRACER_SOLUTION);
}
// We need put tracerConcentrations into a valid state.
// Otherwise next time we end up here outside of a restart write we will