mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-11 08:51:55 -06:00
fixed: serialize the initial fip values
This commit is contained in:
parent
ac6e0d3e7e
commit
a237b2222f
@ -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>;
|
||||||
|
@ -2060,6 +2060,7 @@ public:
|
|||||||
serializer(aquiferModel_);
|
serializer(aquiferModel_);
|
||||||
serializer(tracerModel_);
|
serializer(tracerModel_);
|
||||||
serializer(*materialLawManager_);
|
serializer(*materialLawManager_);
|
||||||
|
serializer(*eclWriter_);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -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); }
|
||||||
|
Loading…
Reference in New Issue
Block a user