mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Remove rs_or_sg_eq from the residual.
This has not been used since the introduction of live gas changed the treatment of rs (and rv) values to make a more compact system.
This commit is contained in:
@@ -210,7 +210,6 @@ namespace {
|
||||
, rq_ (fluid.numPhases())
|
||||
, phaseCondition_(grid.number_of_cells)
|
||||
, residual_ ( { std::vector<ADB>(fluid.numPhases(), ADB::null()),
|
||||
ADB::null(),
|
||||
ADB::null(),
|
||||
ADB::null() } )
|
||||
{
|
||||
@@ -1275,9 +1274,6 @@ namespace {
|
||||
{
|
||||
r = std::max(r, (*b).value().matrix().norm());
|
||||
}
|
||||
if (active_[Oil] && active_[Gas]) {
|
||||
r = std::max(r, residual_.rs_or_sg_eq.value().matrix().norm());
|
||||
}
|
||||
r = std::max(r, residual_.well_flux_eq.value().matrix().norm());
|
||||
r = std::max(r, residual_.well_eq.value().matrix().norm());
|
||||
|
||||
|
||||
@@ -141,7 +141,6 @@ namespace Opm {
|
||||
// The well_eq has size equal to the number of wells.
|
||||
struct {
|
||||
std::vector<ADB> mass_balance;
|
||||
ADB rs_or_sg_eq; // Only used if both gas and oil present
|
||||
ADB well_flux_eq;
|
||||
ADB well_eq;
|
||||
} residual_;
|
||||
|
||||
Reference in New Issue
Block a user