mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: consistently use std::array
This commit is contained in:
@@ -499,7 +499,7 @@ protected:
|
||||
elemCtx.problem().materialLawParams(elemCtx,
|
||||
interiorDofIdx,
|
||||
/*timeIdx=*/0);
|
||||
typename FluidState::Scalar kr[numPhases];
|
||||
std::array<typename FluidState::Scalar,numPhases> kr;
|
||||
MaterialLaw::relativePermeabilities(kr, matParams, exFluidState);
|
||||
|
||||
const auto& mob = kr[phaseIdx]/exFluidState.viscosity(phaseIdx);
|
||||
|
||||
Reference in New Issue
Block a user