mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
some pure cleaning up.
This commit is contained in:
parent
f2b7f2a56c
commit
19a256dce0
@ -377,11 +377,6 @@ namespace Opm {
|
||||
void
|
||||
assembleMassBalanceEq(const SolutionState& state);
|
||||
|
||||
// TODO: only kept for now due to flow_multisegment
|
||||
// will be removed soon
|
||||
void updateWellState(const V& dwells,
|
||||
WellState& well_state);
|
||||
|
||||
|
||||
bool
|
||||
solveWellEq(const std::vector<ADB>& mob_perfcells,
|
||||
|
@ -222,7 +222,7 @@ namespace detail {
|
||||
well_model_.init(&fluid_, &active_, &phaseCondition_, &vfp_properties_, gravity, depth);
|
||||
|
||||
// TODO: put this for now to avoid modify the following code.
|
||||
// TODO: this code is fragile.
|
||||
// TODO: this code can be fragile.
|
||||
const Wells* wells_arg = &(asImpl().well_model_.wells());
|
||||
|
||||
#if HAVE_MPI
|
||||
@ -765,8 +765,6 @@ namespace detail {
|
||||
|
||||
// Possibly switch well controls and updating well state to
|
||||
// get reasonable initial conditions for the wells
|
||||
// asImpl().updateWellControls(well_state);
|
||||
// asImpl().wellModel().updateWellControls(well_state);
|
||||
asImpl().wellModel().updateWellControls(terminal_output_, well_state);
|
||||
|
||||
// Create the primary variables.
|
||||
@ -814,7 +812,6 @@ namespace detail {
|
||||
asImpl().wellModel().addWellFluxEq(cq_s, state, residual_);
|
||||
asImpl().addWellContributionToMassBalanceEq(cq_s, state, well_state);
|
||||
asImpl().wellModel().addWellControlEq(state, well_state, aliveWells, residual_);
|
||||
// asImpl().computeWellPotentials(state, mob_perfcells, b_perfcells, well_state);
|
||||
{
|
||||
SolutionState state0 = state;
|
||||
asImpl().makeConstantState(state0);
|
||||
|
@ -591,7 +591,6 @@ namespace Opm
|
||||
{
|
||||
if( localWellsActive() )
|
||||
{
|
||||
// TODO: these parameter should be stored in the StandardWells class
|
||||
const int np = num_phases_;
|
||||
const int nw = wells().number_of_wells;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user