rename computeConnectionDensities to computeDensities

that it applies to connections are now implied by class
This commit is contained in:
Arne Morten Kvarving 2022-11-21 13:20:34 +01:00
parent 5d1b5d9426
commit 100a7b0582
3 changed files with 15 additions and 15 deletions

View File

@ -84,7 +84,7 @@ computePressureDelta()
template<class FluidSystem, class Indices, class Scalar>
void StandardWellConnections<FluidSystem,Indices,Scalar>::
computeConnectionDensities(const std::vector<Scalar>& perfComponentRates,
computeDensities(const std::vector<Scalar>& perfComponentRates,
const std::vector<Scalar>& b_perf,
const std::vector<Scalar>& rsmax_perf,
const std::vector<Scalar>& rvmax_perf,

View File

@ -41,7 +41,7 @@ public:
// TODO: not total sure whether it is a good idea to put this function here
// the major reason to put here is to avoid the usage of Wells struct
void computeConnectionDensities(const std::vector<Scalar>& perfComponentRates,
void computeDensities(const std::vector<Scalar>& perfComponentRates,
const std::vector<Scalar>& b_perf,
const std::vector<Scalar>& rsmax_perf,
const std::vector<Scalar>& rvmax_perf,

View File

@ -1625,7 +1625,7 @@ namespace Opm
}
}
this->connections_.computeConnectionDensities(perfRates, b_perf, rsmax_perf, rvmax_perf, rvwmax_perf, surf_dens_perf, deferred_logger);
this->connections_.computeDensities(perfRates, b_perf, rsmax_perf, rvmax_perf, rvwmax_perf, surf_dens_perf, deferred_logger);
this->connections_.computePressureDelta();
}