add serialization template to WellType

This commit is contained in:
Arne Morten Kvarving
2020-03-18 12:43:32 +01:00
parent 2a3b3e3e73
commit 0a45fd4da6

View File

@@ -57,6 +57,15 @@ public:
Phase preferred_phase() const;
InjectorType injector_type() const;
bool operator==(const WellType& other) const;
template<class Serializer>
void serializeOp(Serializer& serializer)
{
serializer(m_producer);
serializer(injection_phase);
serializer(m_welspecs_phase);
}
private:
bool m_producer;
/*