mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-07-07 04:53:03 -05:00
BlackoilAquiferModel: use Scalar type
This commit is contained in:
parent
46e668911d
commit
6d0cbb47f3
|
@ -362,7 +362,7 @@ void BlackoilAquiferModel<TypeTag>::computeConnectionAreaFraction() const
|
|||
|
||||
maxAquID = this->simulator_.vanguard().grid().comm().max(maxAquID);
|
||||
|
||||
auto totalConnArea = std::vector<double>(maxAquID, 0.0);
|
||||
auto totalConnArea = std::vector<Scalar>(maxAquID, 0.0);
|
||||
for (const auto& aquifer : this->aquifers) {
|
||||
totalConnArea[aquifer->aquiferID() - 1] += aquifer->totalFaceArea();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user