adding updateWellState for MultisegmentWell

This commit is contained in:
Kai Bao
2017-09-12 17:32:27 +02:00
parent 1adc081430
commit 6f6f3ead5e
2 changed files with 124 additions and 15 deletions

View File

@@ -223,6 +223,7 @@ namespace Opm
mutable OffDiagMatWell duneB_;
mutable OffDiagMatWell duneC_;
// diagonal matrix for the well
// TODO: if we decided not to invert it, we better change the name of it
mutable DiagMatWell invDuneD_;
// several vector used in the matrix calculation
@@ -328,7 +329,9 @@ namespace Opm
EvalWell getHydorPressureLoss(const int seg) const;
// handling the overshooting and undershooting of the fractions
void processFractions(const int seg, std::vector<double>& fractions) const;
void processFractions(const int seg) const;
void updateWellStateFromPrimaryVariabls(WellState& well_state) const;
};
}