remove accessors added to ThresholdPressure for external serialization

This commit is contained in:
Arne Morten Kvarving 2020-03-12 15:45:44 +01:00
parent 31a53f2ec5
commit 10e3e5c998
2 changed files with 2 additions and 8 deletions

View File

@ -74,12 +74,6 @@ namespace Opm {
bool active() const;
bool restart() const;
const ThresholdPressureTable& thresholdPressureTable() const
{ return m_thresholdPressureTable; }
const PressureTable& pressureTable() const
{ return m_pressureTable; }
bool operator==(const ThresholdPressure& data) const;
template<class Serializer>

View File

@ -218,8 +218,8 @@ namespace Opm {
bool ThresholdPressure::operator==(const ThresholdPressure& data) const {
return this->active() == data.active() &&
this->restart() == data.restart() &&
this->thresholdPressureTable() == data.thresholdPressureTable() &&
this->pressureTable() == data.pressureTable();
this->m_thresholdPressureTable == data.m_thresholdPressureTable &&
this->m_pressureTable == data.m_pressureTable;
}