rename computeConnectionPressureDelta to computePressureDelta

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 0d72bba326
commit 5d1b5d9426
3 changed files with 4 additions and 4 deletions

View File

@ -48,7 +48,7 @@ StandardWellConnections(const WellInterfaceGeneric& well)
template<class FluidSystem, class Indices, class Scalar> template<class FluidSystem, class Indices, class Scalar>
void StandardWellConnections<FluidSystem,Indices,Scalar>:: void StandardWellConnections<FluidSystem,Indices,Scalar>::
computeConnectionPressureDelta() computePressureDelta()
{ {
// Algorithm: // Algorithm:

View File

@ -37,7 +37,7 @@ class StandardWellConnections
public: public:
StandardWellConnections(const WellInterfaceGeneric& well); StandardWellConnections(const WellInterfaceGeneric& well);
void computeConnectionPressureDelta(); void computePressureDelta();
// TODO: not total sure whether it is a good idea to put this function here // 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 // the major reason to put here is to avoid the usage of Wells struct

View File

@ -1626,7 +1626,7 @@ namespace Opm
} }
this->connections_.computeConnectionDensities(perfRates, b_perf, rsmax_perf, rvmax_perf, rvwmax_perf, surf_dens_perf, deferred_logger); this->connections_.computeConnectionDensities(perfRates, b_perf, rsmax_perf, rvmax_perf, rvwmax_perf, surf_dens_perf, deferred_logger);
this->connections_.computeConnectionPressureDelta(); this->connections_.computePressureDelta();
} }
@ -1640,7 +1640,7 @@ namespace Opm
const WellState& well_state, const WellState& well_state,
DeferredLogger& deferred_logger) DeferredLogger& deferred_logger)
{ {
// 1. Compute properties required by computeConnectionPressureDelta(). // 1. Compute properties required by computePressureDelta().
// Note that some of the complexity of this part is due to the function // Note that some of the complexity of this part is due to the function
// taking std::vector<double> arguments, and not Eigen objects. // taking std::vector<double> arguments, and not Eigen objects.
std::vector<double> b_perf; std::vector<double> b_perf;