remove accessors in Rock2dtrTable added for external serialization
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user