mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-02 05:49:09 -06:00
Merge pull request #2812 from totto82/fixBC_2p
fix BC code for 2p simulations.
This commit is contained in:
commit
0cdd1eda69
@ -3094,13 +3094,13 @@ private:
|
||||
|
||||
switch (bcface.component) {
|
||||
case BCComponent::OIL:
|
||||
compIdx = oilCompIdx;
|
||||
compIdx = Indices::canonicalToActiveComponentIndex(oilCompIdx);
|
||||
break;
|
||||
case BCComponent::GAS:
|
||||
compIdx = gasCompIdx;
|
||||
compIdx = Indices::canonicalToActiveComponentIndex(gasCompIdx);
|
||||
break;
|
||||
case BCComponent::WATER:
|
||||
compIdx = waterCompIdx;
|
||||
compIdx = Indices::canonicalToActiveComponentIndex(waterCompIdx);
|
||||
break;
|
||||
case BCComponent::SOLVENT:
|
||||
if (!enableSolvent)
|
||||
|
Loading…
Reference in New Issue
Block a user