data::FetkovichData: add serializer support

This commit is contained in:
Arne Morten Kvarving 2022-09-02 18:12:09 +02:00
parent 231b71a29c
commit 1a9e6b3810

View File

@ -51,6 +51,19 @@ namespace Opm { namespace data {
// MessageBufferType API should be similar to Dune::MessageBufferIF
template <class MessageBufferType>
void read(MessageBufferType& buffer);
template<class Serializer>
void serializeOp(Serializer& serializer)
{
serializer(initVolume);
serializer(prodIndex);
serializer(timeConstant);
}
static FetkovichData serializeObject()
{
return FetkovichData{1.0, 2.0, 3.0};
}
};
struct CarterTracyData