mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
[feature] Added two-phase executable for numEq = 2.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user