Flag tracer solution data with data type RESTART_TRACER_SOLUTION

This commit is contained in:
Joakim Hove
2021-11-17 14:27:46 +01:00
parent a0252061fb
commit b4b1045dc2

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