mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix the equation index for 2p oil-water simulations
This commit is contained in:
parent
bcc0a1be69
commit
a323487b3b
@ -66,7 +66,7 @@ namespace Opm
|
|||||||
static const int GTotal = 0;
|
static const int GTotal = 0;
|
||||||
static const int WFrac = gasoil? -1000: 1;
|
static const int WFrac = gasoil? -1000: 1;
|
||||||
static const int GFrac = gasoil? 1 : 2;
|
static const int GFrac = gasoil? 1 : 2;
|
||||||
static const int SPres = gasoil? 2 : 3;
|
static const int SPres = numEq;
|
||||||
|
|
||||||
/// the number of well equations // TODO: it should have a more general strategy for it
|
/// the number of well equations // TODO: it should have a more general strategy for it
|
||||||
static const int numWellEq = getPropValue<TypeTag, Properties::EnablePolymer>() ? numEq : numEq + 1;
|
static const int numWellEq = getPropValue<TypeTag, Properties::EnablePolymer>() ? numEq : numEq + 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user