mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
BlackoilAquiferModel: use Scalar type
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user