fixed: serialize the initial fip values

This commit is contained in:
Arne Morten Kvarving 2023-02-27 13:56:35 +01:00
parent ac6e0d3e7e
commit a237b2222f
3 changed files with 13 additions and 0 deletions

View File

@ -252,6 +252,12 @@ public:
// Virtual destructor for safer inheritance. // Virtual destructor for safer inheritance.
virtual ~EclGenericOutputBlackoilModule(); virtual ~EclGenericOutputBlackoilModule();
template<class Serializer>
void serializeOp(Serializer& serializer)
{
serializer(initialInplace_);
}
protected: protected:
using ScalarBuffer = std::vector<Scalar>; using ScalarBuffer = std::vector<Scalar>;
using StringBuffer = std::vector<std::string>; using StringBuffer = std::vector<std::string>;

View File

@ -2060,6 +2060,7 @@ public:
serializer(aquiferModel_); serializer(aquiferModel_);
serializer(tracerModel_); serializer(tracerModel_);
serializer(*materialLawManager_); serializer(*materialLawManager_);
serializer(*eclWriter_);
} }
private: private:

View File

@ -475,6 +475,12 @@ public:
Scalar restartTimeStepSize() const Scalar restartTimeStepSize() const
{ return restartTimeStepSize_; } { return restartTimeStepSize_; }
template<class Serializer>
void serializeOp(Serializer& serializer)
{
serializer(*eclOutputModule_);
}
private: private:
static bool enableEclOutput_() static bool enableEclOutput_()
{ return EWOMS_GET_PARAM(TypeTag, bool, EnableEclOutput); } { return EWOMS_GET_PARAM(TypeTag, bool, EnableEclOutput); }