mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
rename computeConnectionDensities to computeDensities
that it applies to connections are now implied by class
This commit is contained in:
parent
5d1b5d9426
commit
100a7b0582
@ -84,13 +84,13 @@ computePressureDelta()
|
||||
|
||||
template<class FluidSystem, class Indices, class Scalar>
|
||||
void StandardWellConnections<FluidSystem,Indices,Scalar>::
|
||||
computeConnectionDensities(const std::vector<Scalar>& perfComponentRates,
|
||||
const std::vector<Scalar>& b_perf,
|
||||
const std::vector<Scalar>& rsmax_perf,
|
||||
const std::vector<Scalar>& rvmax_perf,
|
||||
const std::vector<Scalar>& rvwmax_perf,
|
||||
const std::vector<Scalar>& surf_dens_perf,
|
||||
DeferredLogger& deferred_logger)
|
||||
computeDensities(const std::vector<Scalar>& perfComponentRates,
|
||||
const std::vector<Scalar>& b_perf,
|
||||
const std::vector<Scalar>& rsmax_perf,
|
||||
const std::vector<Scalar>& rvmax_perf,
|
||||
const std::vector<Scalar>& rvwmax_perf,
|
||||
const std::vector<Scalar>& surf_dens_perf,
|
||||
DeferredLogger& deferred_logger)
|
||||
{
|
||||
// Verify that we have consistent input.
|
||||
const int nperf = well_.numPerfs();
|
||||
|
@ -41,13 +41,13 @@ 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,
|
||||
const std::vector<Scalar>& b_perf,
|
||||
const std::vector<Scalar>& rsmax_perf,
|
||||
const std::vector<Scalar>& rvmax_perf,
|
||||
const std::vector<Scalar>& rvwmax_perf,
|
||||
const std::vector<Scalar>& surf_dens_perf,
|
||||
DeferredLogger& deferred_logger);
|
||||
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,
|
||||
const std::vector<Scalar>& rvwmax_perf,
|
||||
const std::vector<Scalar>& surf_dens_perf,
|
||||
DeferredLogger& deferred_logger);
|
||||
|
||||
Scalar getRho() const
|
||||
{
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user