mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
remove serialization templates from BlackoilBrineModule
This commit is contained in:
parent
8480523c88
commit
424ca49696
@ -316,29 +316,6 @@ public:
|
|||||||
return !bdensityTable_.empty();
|
return !bdensityTable_.empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Serializer>
|
|
||||||
static std::size_t packSize(Serializer& serializer)
|
|
||||||
{
|
|
||||||
return serializer.packSize(bdensityTable_) +
|
|
||||||
serializer.packSize(referencePressure_);
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class Serializer>
|
|
||||||
static void pack(std::vector<char>& buffer, int& position,
|
|
||||||
Serializer& serializer)
|
|
||||||
{
|
|
||||||
serializer.pack(bdensityTable_, buffer, position);
|
|
||||||
serializer.pack(referencePressure_, buffer, position);
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class Serializer>
|
|
||||||
static void unpack(std::vector<char>& buffer, int& position,
|
|
||||||
Serializer& serializer)
|
|
||||||
{
|
|
||||||
serializer.unpack(bdensityTable_, buffer, position);
|
|
||||||
serializer.unpack(referencePressure_, buffer, position);
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static std::vector<TabulatedFunction> bdensityTable_;
|
static std::vector<TabulatedFunction> bdensityTable_;
|
||||||
static std::vector<Scalar> referencePressure_;
|
static std::vector<Scalar> referencePressure_;
|
||||||
|
Loading…
Reference in New Issue
Block a user