Serialize PvtsolTable.
This commit is contained in:
parent
58aa93dcfe
commit
e489f1aced
@ -27,7 +27,10 @@ namespace Opm {
|
||||
|
||||
class PvtsolTable : public PvtxTable {
|
||||
public:
|
||||
PvtsolTable() = default;
|
||||
PvtsolTable(const DeckKeyword& keyword, size_t tableIdx);
|
||||
static PvtsolTable serializeObject();
|
||||
bool operator==(const PvtsolTable& data) const;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -243,6 +243,17 @@ PvtsolTable::PvtsolTable( const DeckKeyword& keyword, size_t tableIdx) :
|
||||
PvtxTable::init(keyword , tableIdx);
|
||||
}
|
||||
|
||||
PvtsolTable PvtsolTable::serializeObject() {
|
||||
PvtsolTable result;
|
||||
static_cast<PvtxTable&>(result) = PvtxTable::serializeObject();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
bool PvtsolTable::operator==(const PvtsolTable& data) const {
|
||||
return static_cast<const PvtxTable&>(*this) == static_cast<const PvtxTable&>(data);
|
||||
}
|
||||
|
||||
SpecheatTable::SpecheatTable(const DeckItem& item)
|
||||
{
|
||||
m_schema.addColumn(ColumnSchema("TEMPERATURE", Table::STRICTLY_INCREASING, Table::DEFAULT_NONE));
|
||||
|
Loading…
Reference in New Issue
Block a user