mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adding prepareTimeStep() to the StandardWellsDense
to handle the well potential related calculation
This commit is contained in:
@@ -127,7 +127,11 @@ namespace Opm
|
||||
failureReport_ = SimulatorReport();
|
||||
|
||||
// Do model-specific once-per-step calculations.
|
||||
model_->prepareStep(timer, initial_reservoir_state, initial_well_state);
|
||||
// TODO: this is not the correct fix, possibly breaking the sequential solver
|
||||
// TODO: the only reason to do this is that the wellPotentials() is part of the well_state, which will be modified
|
||||
// during the well_potential calculation
|
||||
model_->prepareStep(timer, initial_reservoir_state, well_state);
|
||||
// model_->prepareStep(timer, initial_reservoir_state, initial_reservoir_state);
|
||||
|
||||
int iteration = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user