mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-24 08:20:01 -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 ~EclGenericOutputBlackoilModule();
|
||||
|
||||
template<class Serializer>
|
||||
void serializeOp(Serializer& serializer)
|
||||
{
|
||||
serializer(initialInplace_);
|
||||
}
|
||||
|
||||
protected:
|
||||
using ScalarBuffer = std::vector<Scalar>;
|
||||
using StringBuffer = std::vector<std::string>;
|
||||
|
@ -2060,6 +2060,7 @@ public:
|
||||
serializer(aquiferModel_);
|
||||
serializer(tracerModel_);
|
||||
serializer(*materialLawManager_);
|
||||
serializer(*eclWriter_);
|
||||
}
|
||||
|
||||
private:
|
||||
|
@ -475,6 +475,12 @@ public:
|
||||
Scalar restartTimeStepSize() const
|
||||
{ return restartTimeStepSize_; }
|
||||
|
||||
template<class Serializer>
|
||||
void serializeOp(Serializer& serializer)
|
||||
{
|
||||
serializer(*eclOutputModule_);
|
||||
}
|
||||
|
||||
private:
|
||||
static bool enableEclOutput_()
|
||||
{ return EWOMS_GET_PARAM(TypeTag, bool, EnableEclOutput); }
|
||||
|
Loading…
Reference in New Issue
Block a user