mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -06:00
Merge pull request #781 from daavid00/fixFloresIndx
Fix to the flores indices
This commit is contained in:
commit
03593f8b53
@ -377,7 +377,8 @@ public:
|
||||
darcyFlux = pressureDifference *
|
||||
(Toolbox::value(up.mobility(phaseIdx, facedir)) * Toolbox::value(transMult) * (-trans / faceArea));
|
||||
}
|
||||
darcy[phaseIdx] = darcyFlux.value() * faceArea; // For the FLORES fluxes
|
||||
unsigned activeCompIdx = Indices::canonicalToActiveComponentIndex(FluidSystem::solventComponentIndex(phaseIdx));
|
||||
darcy[conti0EqIdx + activeCompIdx] = darcyFlux.value() * faceArea; // For the FLORES fluxes
|
||||
|
||||
unsigned pvtRegionIdx = up.pvtRegionIndex();
|
||||
// if (upIdx == globalFocusDofIdx){
|
||||
|
Loading…
Reference in New Issue
Block a user