diff --git a/opm/models/ncp/ncpboundaryratevector.hh b/opm/models/ncp/ncpboundaryratevector.hh index aa28d86f97..855ee60325 100644 --- a/opm/models/ncp/ncpboundaryratevector.hh +++ b/opm/models/ncp/ncpboundaryratevector.hh @@ -61,19 +61,19 @@ class NcpBoundaryRateVector : public GetPropType() }; - using EnergyModule = Opm::EnergyModule; + using EnergyModule = ::Opm::EnergyModule; - using Toolbox = Opm::MathToolbox; + using Toolbox = MathToolbox; public: - NcpBoundaryRateVector() : ParentType() - {} + NcpBoundaryRateVector() = default; /*! * \copydoc * ImmiscibleBoundaryRateVector::ImmiscibleBoundaryRateVector(Scalar) */ - NcpBoundaryRateVector(const Evaluation& value) : ParentType(value) + NcpBoundaryRateVector(const Evaluation& value) + : ParentType(value) {} /*! @@ -138,7 +138,7 @@ public: // add advective flux of current component in current // phase - (*this)[conti0EqIdx + compIdx] += extQuants.volumeFlux(phaseIdx)*molarity; + (*this)[conti0EqIdx + compIdx] += extQuants.volumeFlux(phaseIdx) * molarity; } if (enableEnergy) { @@ -158,7 +158,7 @@ public: specificEnthalpy = getValue(insideIntQuants.fluidState().enthalpy(phaseIdx)); } - const Evaluation enthalpyRate = density*extQuants.volumeFlux(phaseIdx)*specificEnthalpy; + const Evaluation enthalpyRate = density * extQuants.volumeFlux(phaseIdx) * specificEnthalpy; EnergyModule::addToEnthalpyRate(*this, enthalpyRate); } } @@ -168,7 +168,7 @@ public: #ifndef NDEBUG for (unsigned i = 0; i < numEq; ++i) { - Opm::Valgrind::CheckDefined((*this)[i]); + Valgrind::CheckDefined((*this)[i]); } #endif }