mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
added: MultisegmentWellEquations::clear
this zeros the equation system. use the new method in the well implementation.
This commit is contained in:
@@ -1634,13 +1634,7 @@ namespace Opm
|
||||
computeSegmentFluidProperties(ebosSimulator, deferred_logger);
|
||||
|
||||
// clear all entries
|
||||
this->linSys_.duneB_ = 0.0;
|
||||
this->linSys_.duneC_ = 0.0;
|
||||
|
||||
this->linSys_.duneD_ = 0.0;
|
||||
this->linSys_.resWell_ = 0.0;
|
||||
|
||||
this->linSys_.duneDSolver_.reset();
|
||||
this->linSys_.clear();
|
||||
|
||||
auto& ws = well_state.well(this->index_of_well_);
|
||||
ws.dissolved_gas_rate = 0;
|
||||
|
||||
Reference in New Issue
Block a user