From 6f6cafc338ce40113491fabd20bf59bf26f3d517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de> Date: Tue, 8 May 2018 20:23:29 +0200 Subject: [PATCH] [ni][volvars] cleanup --- .../nonisothermal/volumevariables.hh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/dumux/porousmediumflow/nonisothermal/volumevariables.hh b/dumux/porousmediumflow/nonisothermal/volumevariables.hh index 75845b4ff2..a10e8c6bae 100644 --- a/dumux/porousmediumflow/nonisothermal/volumevariables.hh +++ b/dumux/porousmediumflow/nonisothermal/volumevariables.hh @@ -58,12 +58,12 @@ public: //! The temperature is obtained from the problem as a constant for isothermal models template<class ElemSol, class Problem, class Element, class Scv> - void updateTemperature(const ElemSol &elemSol, + void updateTemperature(const ElemSol& elemSol, const Problem& problem, - const Element &element, - const Scv &scv, + const Element& element, + const Scv& scv, FluidState& fluidState, - SolidState & solidState) + SolidState& solidState) { // retrieve temperature from solution vector, all phases have the same temperature Scalar T = problem.temperatureAtPos(scv.dofPosition()); @@ -115,12 +115,12 @@ public: //! The temperature is obtained from the problem as a constant for isothermal models template<class ElemSol, class Problem, class Element, class Scv> - void updateTemperature(const ElemSol &elemSol, + void updateTemperature(const ElemSol& elemSol, const Problem& problem, - const Element &element, - const Scv &scv, + const Element& element, + const Scv& scv, FluidState& fluidState, - SolidState & solidState) + SolidState& solidState) { if (numEnergyEq == 1) { @@ -128,7 +128,7 @@ public: const Scalar T = ParentType::extractDofPriVars(elemSol, scv)[temperatureIdx]; for(int phaseIdx=0; phaseIdx < FluidSystem::numPhases; ++phaseIdx) { - fluidState.setTemperature(phaseIdx, T); + fluidState.setTemperature(phaseIdx, T); } solidState.setTemperature(T); } -- GitLab