add equality operator to WellBrineProperties
This commit is contained in:
parent
eb6159fceb
commit
763c931726
@ -30,6 +30,7 @@ struct WellBrineProperties
|
||||
double m_saltConcentration = 0.0;
|
||||
void handleWSALT(const DeckRecord& rec);
|
||||
bool operator!=(const WellBrineProperties& other) const;
|
||||
bool operator==(const WellBrineProperties& other) const;
|
||||
};
|
||||
|
||||
} // namespace Opm
|
||||
|
@ -31,3 +31,8 @@ bool Opm::WellBrineProperties::operator!=(const WellBrineProperties& other) cons
|
||||
{
|
||||
return this->m_saltConcentration != other.m_saltConcentration;
|
||||
}
|
||||
|
||||
bool Opm::WellBrineProperties::operator==(const WellBrineProperties& other) const
|
||||
{
|
||||
return this->m_saltConcentration == other.m_saltConcentration;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user