remove accessors in Rock2dtrTable added for external serialization

This commit is contained in:
Arne Morten Kvarving
2020-03-13 08:20:12 +01:00
parent d7b6b282ca
commit 1f7d85d488
2 changed files with 2 additions and 8 deletions

View File

@@ -36,12 +36,6 @@ namespace Opm {
double getPressureValue(size_t index) const;
double getTransMultValue(size_t pressureIndex, size_t saturationIndex ) const;
const std::vector<std::vector<double>>& transMultValues() const
{ return m_transMultValues; }
const std::vector<double>& pressureValues() const
{ return m_pressureValues; }
bool operator==(const Rock2dtrTable& data) const;
template<class Serializer>

View File

@@ -64,8 +64,8 @@ namespace Opm {
bool Rock2dtrTable::operator==(const Rock2dtrTable& data) const
{
return this->transMultValues() == data.transMultValues() &&
this->pressureValues() == data.pressureValues();
return this->m_transMultValues == data.m_transMultValues &&
this->m_pressureValues == data.m_pressureValues;
}
}