adding segment phase rates to the SolutionState.

This commit is contained in:
Kai Bao committed 2015-12-01 00:06:43 +01:00
1 parent 40f245deef
commit 42c19e174b
1 file changed
+5 -3
+5 -3
View File
@@ -34,11 +34,13 @@ namespace Opm {
struct BlackoilMultiSegmentSolutionState : public DefaultBlackoilSolutionState
{
explicit BlackoilMultiSegmentSolutionState(const int np)
: DefaultBlackoilSolutionState(np),
pseg( ADB::null())
: DefaultBlackoilSolutionState(np)
, segp ( ADB::null())
, segqs ( ADB::null())
{
}
ADB pseg; // the segment pressures
ADB segp; // the segment pressures
ADB segqs; // the segment phase rate in surface volume
};
/// A model implementation for three-phase black oil with support