mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
commit
2903814649
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user