From e665f1726910c7af26901f63a32a4977a593f1ae Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Thu, 2 Feb 2023 11:52:08 +0100 Subject: [PATCH] EclProblem: add serialization support no test for this, it's too involved to set one up for very little extra coverage --- ebos/eclproblem.hh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ebos/eclproblem.hh b/ebos/eclproblem.hh index 8e6cc1d78..483c1e43b 100644 --- a/ebos/eclproblem.hh +++ b/ebos/eclproblem.hh @@ -595,6 +595,9 @@ class EclProblem : public GetPropType GetPropType, GetPropType> { + using BaseType = EclGenericProblem, + GetPropType, + GetPropType>; using ParentType = GetPropType; using Implementation = GetPropType; @@ -2048,6 +2051,16 @@ public: return eclWriter_; } + template + void serializeOp(Serializer& serializer) + { + serializer(static_cast(*this)); + serializer(drift_); + serializer(wellModel_); + serializer(aquiferModel_); + serializer(tracerModel_); + } + private: template void updateProperty_(const std::string& failureMsg,