[feature] Added two-phase executable for numEq = 2.

This commit is contained in:
Robert Kloefkorn
2017-06-27 14:04:59 +02:00
parent f5501198e2
commit ce7f3f46a1
5 changed files with 57 additions and 5 deletions

View File

@@ -239,7 +239,7 @@ namespace Opm {
}
// add trivial equation for 2p cases (Only support water + oil)
if (numComp == 2) {
if (numComp < numEq ) {
assert(!active_[ Gas ]);
invDuneD_[w][w][Gas][Gas] = 1.0;
}