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:
Atgeirr Flø Rasmussen
2014-02-07 16:33:19 +01:00
parent 3aa75c5bc8
commit f84b0a6a4d
2 changed files with 0 additions and 5 deletions

View File

@@ -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());

View File

@@ -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_;