From cae2f675d63ddde84148c67538c3adf976fc4679 Mon Sep 17 00:00:00 2001 From: Sina Ackermann <sina.ackermann@iws.uni-stuttgart.de> Date: Thu, 5 Apr 2018 13:21:24 +0200 Subject: [PATCH] [localresidual] Fix intendation --- dumux/porousmediumflow/2p1c/localresidual.hh | 14 +++---- dumux/porousmediumflow/3p3c/localresidual.hh | 14 +++---- .../3pwateroil/localresidual.hh | 14 +++---- .../compositional/localresidual.hh | 14 +++---- .../immiscible/localresidual.hh | 14 +++---- .../mineralization/localresidual.hh | 4 +- .../nonequilibrium/localresidual.hh | 40 +++++++++---------- .../richards/localresidual.hh | 14 +++---- .../porousmediumflow/tracer/localresidual.hh | 14 +++---- 9 files changed, 71 insertions(+), 71 deletions(-) diff --git a/dumux/porousmediumflow/2p1c/localresidual.hh b/dumux/porousmediumflow/2p1c/localresidual.hh index c1d0ec016f..6bbebc4dc3 100644 --- a/dumux/porousmediumflow/2p1c/localresidual.hh +++ b/dumux/porousmediumflow/2p1c/localresidual.hh @@ -63,8 +63,8 @@ public: //! Evaluate the storage term within a given scv NumEqVector computeStorage(const Problem& problem, - const SubControlVolume& scv, - const VolumeVariables& volVars) const + const SubControlVolume& scv, + const VolumeVariables& volVars) const { NumEqVector storage(0.0); // Compute storage term of all components within all phases @@ -85,11 +85,11 @@ public: //! Evaluate the fluxes over a face of a sub control volume NumEqVector computeFlux(const Problem& problem, - const Element& element, - const FVElementGeometry& fvGeometry, - const ElementVolumeVariables& elemVolVars, - const SubControlVolumeFace& scvf, - const ElementFluxVariablesCache& elemFluxVarsCache) const + const Element& element, + const FVElementGeometry& fvGeometry, + const ElementVolumeVariables& elemVolVars, + const SubControlVolumeFace& scvf, + const ElementFluxVariablesCache& elemFluxVarsCache) const { FluxVariables fluxVars; fluxVars.init(problem, element, fvGeometry, elemVolVars, scvf, elemFluxVarsCache); diff --git a/dumux/porousmediumflow/3p3c/localresidual.hh b/dumux/porousmediumflow/3p3c/localresidual.hh index 53bf9ea7fc..df127346e4 100644 --- a/dumux/porousmediumflow/3p3c/localresidual.hh +++ b/dumux/porousmediumflow/3p3c/localresidual.hh @@ -89,8 +89,8 @@ public: * \param volVars The volume variables */ NumEqVector computeStorage(const Problem& problem, - const SubControlVolume& scv, - const VolumeVariables& volVars) const + const SubControlVolume& scv, + const VolumeVariables& volVars) const { NumEqVector storage(0.0); @@ -128,11 +128,11 @@ public: * \param elemFluxVarsCache The element flux variables cache */ NumEqVector computeFlux(const Problem& problem, - const Element& element, - const FVElementGeometry& fvGeometry, - const ElementVolumeVariables& elemVolVars, - const SubControlVolumeFace& scvf, - const ElementFluxVariablesCache& elemFluxVarsCache) const + const Element& element, + const FVElementGeometry& fvGeometry, + const ElementVolumeVariables& elemVolVars, + const SubControlVolumeFace& scvf, + const ElementFluxVariablesCache& elemFluxVarsCache) const { FluxVariables fluxVars; fluxVars.init(problem, element, fvGeometry, elemVolVars, scvf, elemFluxVarsCache); diff --git a/dumux/porousmediumflow/3pwateroil/localresidual.hh b/dumux/porousmediumflow/3pwateroil/localresidual.hh index 0cbff1a0ef..d4f456af65 100644 --- a/dumux/porousmediumflow/3pwateroil/localresidual.hh +++ b/dumux/porousmediumflow/3pwateroil/localresidual.hh @@ -91,8 +91,8 @@ public: * \param usePrevSol Evaluate function with solution of current or previous time step */ NumEqVector computeStorage(const Problem& problem, - const SubControlVolume& scv, - const VolumeVariables& volVars) const + const SubControlVolume& scv, + const VolumeVariables& volVars) const { NumEqVector storage(0.0); @@ -134,11 +134,11 @@ public: * are calculated for interior SCV faces or boundary faces, default=false */ NumEqVector computeFlux(const Problem& problem, - const Element& element, - const FVElementGeometry& fvGeometry, - const ElementVolumeVariables& elemVolVars, - const SubControlVolumeFace& scvf, - const ElementFluxVariablesCache& elemFluxVarsCache) const + const Element& element, + const FVElementGeometry& fvGeometry, + const ElementVolumeVariables& elemVolVars, + const SubControlVolumeFace& scvf, + const ElementFluxVariablesCache& elemFluxVarsCache) const { FluxVariables fluxVars; fluxVars.init(problem, element, fvGeometry, elemVolVars, scvf, elemFluxVarsCache); diff --git a/dumux/porousmediumflow/compositional/localresidual.hh b/dumux/porousmediumflow/compositional/localresidual.hh index 6d1cbc05bb..098e70f9df 100644 --- a/dumux/porousmediumflow/compositional/localresidual.hh +++ b/dumux/porousmediumflow/compositional/localresidual.hh @@ -82,8 +82,8 @@ public: * \param volVars The current or previous volVars */ NumEqVector computeStorage(const Problem& problem, - const SubControlVolume& scv, - const VolumeVariables& volVars) const + const SubControlVolume& scv, + const VolumeVariables& volVars) const { NumEqVector storage(0.0); @@ -134,11 +134,11 @@ public: * \param elemFluxVarsCache The cache related to flux compuation */ NumEqVector computeFlux(const Problem& problem, - const Element& element, - const FVElementGeometry& fvGeometry, - const ElementVolumeVariables& elemVolVars, - const SubControlVolumeFace& scvf, - const ElementFluxVariablesCache& elemFluxVarsCache) const + const Element& element, + const FVElementGeometry& fvGeometry, + const ElementVolumeVariables& elemVolVars, + const SubControlVolumeFace& scvf, + const ElementFluxVariablesCache& elemFluxVarsCache) const { FluxVariables fluxVars; fluxVars.init(problem, element, fvGeometry, elemVolVars, scvf, elemFluxVarsCache); diff --git a/dumux/porousmediumflow/immiscible/localresidual.hh b/dumux/porousmediumflow/immiscible/localresidual.hh index 3055d82759..0b60c613ff 100644 --- a/dumux/porousmediumflow/immiscible/localresidual.hh +++ b/dumux/porousmediumflow/immiscible/localresidual.hh @@ -72,8 +72,8 @@ public: * the implicit euler time derivative here */ NumEqVector computeStorage(const Problem& problem, - const SubControlVolume& scv, - const VolumeVariables& volVars) const + const SubControlVolume& scv, + const VolumeVariables& volVars) const { // partial time derivative of the phase mass NumEqVector storage; @@ -106,11 +106,11 @@ public: * \param elemFluxVarsCache The cache related to flux compuation */ NumEqVector computeFlux(const Problem& problem, - const Element& element, - const FVElementGeometry& fvGeometry, - const ElementVolumeVariables& elemVolVars, - const SubControlVolumeFace& scvf, - const ElementFluxVariablesCache& elemFluxVarsCache) const + const Element& element, + const FVElementGeometry& fvGeometry, + const ElementVolumeVariables& elemVolVars, + const SubControlVolumeFace& scvf, + const ElementFluxVariablesCache& elemFluxVarsCache) const { FluxVariables fluxVars; fluxVars.init(problem, element, fvGeometry, elemVolVars, scvf, elemFluxVarsCache); diff --git a/dumux/porousmediumflow/mineralization/localresidual.hh b/dumux/porousmediumflow/mineralization/localresidual.hh index d11bebcd26..f99d8af5a7 100644 --- a/dumux/porousmediumflow/mineralization/localresidual.hh +++ b/dumux/porousmediumflow/mineralization/localresidual.hh @@ -71,8 +71,8 @@ public: * \return Amount per volume of the conserved quantities */ NumEqVector computeStorage(const Problem& problem, - const SubControlVolume& scv, - const VolumeVariables& volVars) const + const SubControlVolume& scv, + const VolumeVariables& volVars) const { auto storage = ParentType::computeStorage(problem, scv, volVars); diff --git a/dumux/porousmediumflow/nonequilibrium/localresidual.hh b/dumux/porousmediumflow/nonequilibrium/localresidual.hh index 268df54329..8703124437 100644 --- a/dumux/porousmediumflow/nonequilibrium/localresidual.hh +++ b/dumux/porousmediumflow/nonequilibrium/localresidual.hh @@ -75,11 +75,11 @@ public: */ NumEqVector computeFlux(const Problem& problem, - const Element& element, - const FVElementGeometry& fvGeometry, - const ElementVolumeVariables& elemVolVars, - const SubControlVolumeFace& scvf, - const ElementFluxVariablesCache& elemFluxVarsCache) const + const Element& element, + const FVElementGeometry& fvGeometry, + const ElementVolumeVariables& elemVolVars, + const SubControlVolumeFace& scvf, + const ElementFluxVariablesCache& elemFluxVarsCache) const { FluxVariables fluxVars; fluxVars.init(problem, element, fvGeometry, elemVolVars, scvf, elemFluxVarsCache); @@ -123,10 +123,10 @@ public: } NumEqVector computeSource(const Problem& problem, - const Element& element, - const FVElementGeometry& fvGeometry, - const ElementVolumeVariables& elemVolVars, - const SubControlVolume &scv) const + const Element& element, + const FVElementGeometry& fvGeometry, + const ElementVolumeVariables& elemVolVars, + const SubControlVolume &scv) const { NumEqVector source(0.0); @@ -195,8 +195,8 @@ public: * \param volVars The volume variables */ NumEqVector computeStorage(const Problem& problem, - const SubControlVolume& scv, - const VolumeVariables& volVars) const + const SubControlVolume& scv, + const VolumeVariables& volVars) const { NumEqVector storage(0.0); @@ -227,11 +227,11 @@ public: * \param elemVolVars The volume variables of the current element */ NumEqVector computeFlux(const Problem& problem, - const Element& element, - const FVElementGeometry& fvGeometry, - const ElementVolumeVariables& elemVolVars, - const SubControlVolumeFace& scvf, - const ElementFluxVariablesCache& elemFluxVarsCache) const + const Element& element, + const FVElementGeometry& fvGeometry, + const ElementVolumeVariables& elemVolVars, + const SubControlVolumeFace& scvf, + const ElementFluxVariablesCache& elemFluxVarsCache) const { FluxVariables fluxVars; fluxVars.init(problem, element, fvGeometry, elemVolVars, scvf, elemFluxVarsCache); @@ -269,10 +269,10 @@ public: NumEqVector computeSource(const Problem& problem, - const Element& element, - const FVElementGeometry& fvGeometry, - const ElementVolumeVariables& elemVolVars, - const SubControlVolume &scv) const + const Element& element, + const FVElementGeometry& fvGeometry, + const ElementVolumeVariables& elemVolVars, + const SubControlVolume &scv) const { NumEqVector source(0.0); // In the case of a kinetic consideration, mass transfer diff --git a/dumux/porousmediumflow/richards/localresidual.hh b/dumux/porousmediumflow/richards/localresidual.hh index 817c3d9e5c..a74420e0d2 100644 --- a/dumux/porousmediumflow/richards/localresidual.hh +++ b/dumux/porousmediumflow/richards/localresidual.hh @@ -82,8 +82,8 @@ public: * the implicit euler time derivative here */ NumEqVector computeStorage(const Problem& problem, - const SubControlVolume& scv, - const VolumeVariables& volVars) const + const SubControlVolume& scv, + const VolumeVariables& volVars) const { // partial time derivative of the phase mass NumEqVector storage(0.0); @@ -119,11 +119,11 @@ public: * \param elemFluxVarsCache The cache related to flux compuation */ NumEqVector computeFlux(const Problem& problem, - const Element& element, - const FVElementGeometry& fvGeometry, - const ElementVolumeVariables& elemVolVars, - const SubControlVolumeFace& scvf, - const ElementFluxVariablesCache& elemFluxVarsCache) const + const Element& element, + const FVElementGeometry& fvGeometry, + const ElementVolumeVariables& elemVolVars, + const SubControlVolumeFace& scvf, + const ElementFluxVariablesCache& elemFluxVarsCache) const { FluxVariables fluxVars; fluxVars.init(problem, element, fvGeometry, elemVolVars, scvf, elemFluxVarsCache); diff --git a/dumux/porousmediumflow/tracer/localresidual.hh b/dumux/porousmediumflow/tracer/localresidual.hh index 1773322253..ea845f1c59 100644 --- a/dumux/porousmediumflow/tracer/localresidual.hh +++ b/dumux/porousmediumflow/tracer/localresidual.hh @@ -75,8 +75,8 @@ public: * \param volVars The primary and secondary varaibles on the scv */ NumEqVector computeStorage(const Problem& problem, - const SubControlVolume& scv, - const VolumeVariables& volVars) const + const SubControlVolume& scv, + const VolumeVariables& volVars) const { NumEqVector storage(0.0); @@ -112,11 +112,11 @@ public: * \param elemFluxVarsCache The cache related to flux compuation */ NumEqVector computeFlux(const Problem& problem, - const Element& element, - const FVElementGeometry& fvGeometry, - const ElementVolumeVariables& elemVolVars, - const SubControlVolumeFace& scvf, - const ElementFluxVariablesCache& elemFluxVarsCache) const + const Element& element, + const FVElementGeometry& fvGeometry, + const ElementVolumeVariables& elemVolVars, + const SubControlVolumeFace& scvf, + const ElementFluxVariablesCache& elemFluxVarsCache) const { FluxVariables fluxVars; fluxVars.init(problem, element, fvGeometry, elemVolVars, scvf, elemFluxVarsCache); -- GitLab