mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
make initializeConnection similar in aquifer classes
This commit is contained in:
parent
5f844bc3a4
commit
4cdb3e85c0
@ -168,10 +168,11 @@ protected:
|
||||
|
||||
if (faceDirection == this->connections_[idx].face_dir) {
|
||||
this->faceArea_connected_[idx] = this->getFaceArea(intersection, idx);
|
||||
break;
|
||||
}
|
||||
}
|
||||
denom_face_areas += (this->connections_[idx].influx_mult * this->faceArea_connected_.at(idx));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const double eps_sqrt = std::sqrt(std::numeric_limits<double>::epsilon());
|
||||
const auto& comm = this->ebos_simulator_.vanguard().grid().comm();
|
||||
|
@ -129,7 +129,6 @@ protected:
|
||||
if( idx < 0)
|
||||
continue;
|
||||
|
||||
if (!this->connections_[idx].influx_coeff.first) { // influx_coeff is defaulted
|
||||
auto isIt = gridView.ibegin(elem);
|
||||
const auto& isEndIt = gridView.iend(elem);
|
||||
for (; isIt != isEndIt; ++ isIt) {
|
||||
@ -170,9 +169,6 @@ protected:
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this->faceArea_connected_.at(idx) = this->connections_[idx].influx_coeff.second;
|
||||
}
|
||||
denom_face_areas += (this->connections_[idx].influx_mult * this->faceArea_connected_.at(idx));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user