mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-12 01:11:55 -06:00
fix a few "unused variable" warnings that occur on more uncommon compilers
i.e. on ICC. the compiler is right in producing warnings here, though.
This commit is contained in:
parent
aaf885098d
commit
21cce7514e
@ -457,7 +457,7 @@ public:
|
|||||||
try {
|
try {
|
||||||
bubblePointPressure_[globalDofIdx] = Opm::getValue(FluidSystem::bubblePointPressure(fs, intQuants.pvtRegionIndex()));
|
bubblePointPressure_[globalDofIdx] = Opm::getValue(FluidSystem::bubblePointPressure(fs, intQuants.pvtRegionIndex()));
|
||||||
}
|
}
|
||||||
catch (const Opm::NumericalIssue& e) {
|
catch (const Opm::NumericalIssue&) {
|
||||||
const auto globalIdx = elemCtx.simulator().vanguard().grid().globalCell()[globalDofIdx];
|
const auto globalIdx = elemCtx.simulator().vanguard().grid().globalCell()[globalDofIdx];
|
||||||
failedCellsPb_.push_back(globalIdx);
|
failedCellsPb_.push_back(globalIdx);
|
||||||
}
|
}
|
||||||
@ -467,7 +467,7 @@ public:
|
|||||||
try {
|
try {
|
||||||
dewPointPressure_[globalDofIdx] = Opm::getValue(FluidSystem::dewPointPressure(fs, intQuants.pvtRegionIndex()));
|
dewPointPressure_[globalDofIdx] = Opm::getValue(FluidSystem::dewPointPressure(fs, intQuants.pvtRegionIndex()));
|
||||||
}
|
}
|
||||||
catch (const Opm::NumericalIssue& e) {
|
catch (const Opm::NumericalIssue&) {
|
||||||
const auto globalIdx = elemCtx.simulator().vanguard().grid().globalCell()[globalDofIdx];
|
const auto globalIdx = elemCtx.simulator().vanguard().grid().globalCell()[globalDofIdx];
|
||||||
failedCellsPd_.push_back(globalIdx);
|
failedCellsPd_.push_back(globalIdx);
|
||||||
}
|
}
|
||||||
|
@ -763,7 +763,7 @@ protected:
|
|||||||
try {
|
try {
|
||||||
eclWell->setRadius(elemCtx, dofIdx, 0.5*completion->getDiameter());
|
eclWell->setRadius(elemCtx, dofIdx, 0.5*completion->getDiameter());
|
||||||
}
|
}
|
||||||
catch (const std::logic_error& e)
|
catch (const std::logic_error&)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
// overwrite the automatically computed effective
|
// overwrite the automatically computed effective
|
||||||
|
Loading…
Reference in New Issue
Block a user