fixing the Well and Connection comparison operator
taking into consideration of the parameters related to filter cake
This commit is contained in:
@@ -323,7 +323,8 @@ const std::optional<std::pair<double, double>>& Connection::perf_range() const {
|
||||
&& this->segment_number == rhs.segment_number
|
||||
&& this->center_depth == rhs.center_depth
|
||||
&& this->m_sort_value == rhs.m_sort_value
|
||||
&& this->m_subject_to_welpi == rhs.m_subject_to_welpi;
|
||||
&& this->m_subject_to_welpi == rhs.m_subject_to_welpi
|
||||
&& this->m_filter_cake == rhs.m_filter_cake;
|
||||
}
|
||||
|
||||
bool Connection::operator!=( const Connection& rhs ) const {
|
||||
|
||||
@@ -1329,7 +1329,6 @@ bool Well::handleWINJDAM(const DeckRecord& record, const KeywordLocation& /* loc
|
||||
}
|
||||
}
|
||||
return this->updateConnections(std::move(new_connections), false);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1647,6 +1646,7 @@ bool Well::operator==(const Well& data) const {
|
||||
&& (this->well_temperature == data.well_temperature)
|
||||
&& (this->inj_mult_mode == data.inj_mult_mode)
|
||||
&& (this->well_inj_mult == data.well_inj_mult)
|
||||
&& (this->m_filter_concentration == data.m_filter_concentration)
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user