Remove unused code.
This commit is contained in:
parent
4564068da6
commit
3ccd149fbd
@ -256,9 +256,6 @@ namespace Opm
|
|||||||
TwophaseState& state,
|
TwophaseState& state,
|
||||||
WellState& well_state)
|
WellState& well_state)
|
||||||
{
|
{
|
||||||
std::vector<double> totmob;
|
|
||||||
std::vector<double> omega; // Will remain empty if no gravity.
|
|
||||||
std::vector<double> rc; // Will remain empty if no rock compressibility.
|
|
||||||
std::vector<double> transport_src;
|
std::vector<double> transport_src;
|
||||||
|
|
||||||
// Initialisation.
|
// Initialisation.
|
||||||
@ -305,16 +302,6 @@ namespace Opm
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Solve pressure.
|
// Solve pressure.
|
||||||
if (gravity_) {
|
|
||||||
computeTotalMobilityOmega(props_, allcells_, state.saturation(), totmob, omega);
|
|
||||||
} else {
|
|
||||||
computeTotalMobility(props_, allcells_, state.saturation(), totmob);
|
|
||||||
}
|
|
||||||
std::vector<double> wdp;
|
|
||||||
if (wells_) {
|
|
||||||
Opm::computeWDP(*wells_, grid_, state.saturation(), props_.density(),
|
|
||||||
gravity_ ? gravity_[2] : 0.0, true, wdp);
|
|
||||||
}
|
|
||||||
do {
|
do {
|
||||||
pressure_timer.start();
|
pressure_timer.start();
|
||||||
psolver_.solve(timer.currentStepLength(), state, well_state);
|
psolver_.solve(timer.currentStepLength(), state, well_state);
|
||||||
|
Loading…
Reference in New Issue
Block a user