adapt to the move of the valgrind client requests into the Opm namespace

This commit is contained in:
Andreas Lauser 2017-02-09 18:25:44 +01:00
parent 8d398772e7
commit 8a10a4d901
2 changed files with 5 additions and 5 deletions

View File

@ -200,7 +200,7 @@ public:
{
ParentType::finishInit();
if (Valgrind::IsRunning())
if (Opm::Valgrind::IsRunning())
FluidSystem::init(/*minT=*/283.15, /*maxT=*/500.0, /*nT=*/20,
/*minp=*/0.8e5, /*maxp=*/2e5, /*np=*/10);
else

View File

@ -362,7 +362,7 @@ public:
molarRate[conti0EqIdx + NAPLIdx] = -0.001;
values.setMolarRate(molarRate);
Valgrind::CheckDefined(values);
Opm::Valgrind::CheckDefined(values);
}
else
values.setNoFlow();
@ -390,7 +390,7 @@ public:
const auto& matParams = materialLawParams(context, spaceIdx, timeIdx);
values.assignMassConservative(fs, matParams, /*inEquilibrium=*/true);
Valgrind::CheckDefined(values);
Opm::Valgrind::CheckDefined(values);
}
/*!
@ -448,8 +448,8 @@ private:
Sw = 1 - Sgr;
Scalar Sg = 1 - Sw;
Valgrind::CheckDefined(Sw);
Valgrind::CheckDefined(Sg);
Opm::Valgrind::CheckDefined(Sw);
Opm::Valgrind::CheckDefined(Sg);
fs.setSaturation(waterPhaseIdx, Sw);
fs.setSaturation(gasPhaseIdx, Sg);