Merge pull request #151 from andlaus/move_valgrind_crs

adapt to the move of the valgrind client requests into the Opm namespace
This commit is contained in:
Atgeirr Flø Rasmussen 2017-02-10 10:22:19 +01:00 committed by GitHub
commit 6e8b38952c
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);