mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
FingerProblem: remove warning.
This commit is contained in:
parent
c36cba7660
commit
b9c0368915
@ -312,7 +312,8 @@ public:
|
|||||||
for (; elemIt != elemEndIt; ++elemIt) {
|
for (; elemIt != elemEndIt; ++elemIt) {
|
||||||
const auto& elem = *elemIt;
|
const auto& elem = *elemIt;
|
||||||
elemCtx.updateAll( elem );
|
elemCtx.updateAll( elem );
|
||||||
for (int scvIdx = 0; scvIdx < elemCtx.numDof(/*timeIdx=*/0); ++scvIdx)
|
const int numDofs = elemCtx.numDof(/*timeIdx=*/0);
|
||||||
|
for (int scvIdx = 0; scvIdx < numDofs; ++scvIdx)
|
||||||
{
|
{
|
||||||
MaterialLawParams& materialParam = materialLawParams( elemCtx, scvIdx, /*timeIdx=*/0 );
|
MaterialLawParams& materialParam = materialLawParams( elemCtx, scvIdx, /*timeIdx=*/0 );
|
||||||
const auto &fs = elemCtx.intensiveQuantities(scvIdx, /*timeIdx=*/0).fluidState();
|
const auto &fs = elemCtx.intensiveQuantities(scvIdx, /*timeIdx=*/0).fluidState();
|
||||||
|
Loading…
Reference in New Issue
Block a user