SingleWellState: serialize PerfData

This commit is contained in:
Arne Morten Kvarving 2023-02-22 13:08:06 +01:00
parent 8d339c464c
commit bdd75a3a59
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ SingleWellState::SingleWellState(const std::string& name_,
SingleWellState SingleWellState::serializationTestObject(const ParallelWellInfo& pinfo)
{
SingleWellState result("testing", pinfo, true, 1.0, {}, PhaseUsage{}, 2.0);
result.perf_data = PerfData::serializationTestObject();
return result;
}

View File

@ -71,6 +71,7 @@ public:
serializer(events);
serializer(injection_cmode);
serializer(production_cmode);
serializer(perf_data);
}
bool operator==(const SingleWellState&) const;