mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-23 16:00:01 -06:00
SingleWellState: serialize PerfData
This commit is contained in:
parent
8d339c464c
commit
bdd75a3a59
@ -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;
|
||||
}
|
||||
|
@ -71,6 +71,7 @@ public:
|
||||
serializer(events);
|
||||
serializer(injection_cmode);
|
||||
serializer(production_cmode);
|
||||
serializer(perf_data);
|
||||
}
|
||||
|
||||
bool operator==(const SingleWellState&) const;
|
||||
|
Loading…
Reference in New Issue
Block a user