Commit c209462f by Christoph Grueninger

### [cleanup] Remove emtpy deconstructors, minor code cleanups.

```(reviewed by nicolas)

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14373 2fb0f335-1f38-0410-981e-8018bf24f1b0```
parent 289b229c
 ... ... @@ -26,15 +26,17 @@ #ifndef DUMUX_IMPLICIT_DARCY_FLUX_VARIABLES_HH #define DUMUX_IMPLICIT_DARCY_FLUX_VARIABLES_HH #include "implicitproperties.hh" #include #include #include #include #include "implicitproperties.hh" namespace Dumux { namespace Properties { // forward declaration of properties ... ... @@ -74,7 +76,7 @@ class ImplicitDarcyFluxVariables typedef typename FVElementGeometry::SubControlVolumeFace SCVFace; public: /* /*! * \brief The constructor * * \param problem The problem ... ... @@ -103,9 +105,8 @@ public: * \brief Return the volumetric flux over a face of a given phase. * * This is the calculated velocity multiplied by the unit normal * and the area of the face. * face().normal * has already the magnitude of the area. * and the area of the face. face().normal has already the * magnitude of the area. * * \param phaseIdx index of the phase */ ... ... @@ -165,8 +166,8 @@ public: } protected: /* /*! * \brief Calculation of the potential gradients * * \param problem The problem ... ... @@ -180,7 +181,8 @@ protected: // loop over all phases for (int phaseIdx = 0; phaseIdx < numPhases; phaseIdx++) { potentialGrad_[phaseIdx]= 0.0 ; potentialGrad_[phaseIdx]= 0.0; for (unsigned int idx = 0; idx < face().numFap; idx++) // loop over adjacent vertices ... ... @@ -227,7 +229,7 @@ protected: } // loop over all phases } /* /*! * \brief Actual calculation of the normal Darcy velocities. * * \param problem The problem ... ... @@ -307,7 +309,7 @@ protected: + (1.0 - mobilityUpwindWeight_)*downVolVars.mobility(phaseIdx)) ; // set the volume flux volumeFlux_[phaseIdx] = velocity_[phaseIdx] * face().normal ; volumeFlux_[phaseIdx] = velocity_[phaseIdx] * face().normal; }// loop all phases } ... ... @@ -325,4 +327,4 @@ protected: } // end namespace #endif #endif // DUMUX_IMPLICIT_DARCY_FLUX_VARIABLES_HH
 ... ... @@ -64,9 +64,6 @@ public: ImplicitLocalResidual() { } ~ImplicitLocalResidual() { } /*! * \brief Initialize the local residual. * ... ...
 ... ... @@ -70,10 +70,6 @@ public: BoxCouplingLocalResidual() { } //! \brief The destructor ~BoxCouplingLocalResidual() { } /*! * \brief Compute the local residual, i.e. the deviation of the * equations from zero. Gets a solution vector computed by PDELab ... ...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!