mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
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:
commit
6e8b38952c
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user