diff --git a/dumux/implicit/mpnc/energy/mpncindicesenergykinetic.hh b/dumux/implicit/mpnc/energy/mpncindicesenergykinetic.hh index 4f1f619fceacf046a6dbdb10639095ceddfc82e3..7163ccfebfb3708516d4b84e588a235ccca2ea46 100644 --- a/dumux/implicit/mpnc/energy/mpncindicesenergykinetic.hh +++ b/dumux/implicit/mpnc/energy/mpncindicesenergykinetic.hh @@ -74,7 +74,10 @@ public: /*! * \brief This module defines one new primary variable. */ - static const unsigned int NumPrimaryVars = 1; + static const unsigned int numPrimaryVars = 1; + + DUNE_DEPRECATED_MSG("use numPrimaryVars (uncapitalized 'n') instead") + static const unsigned int NumPrimaryVars = numPrimaryVars; //!< \deprecated /*! * \brief Index for the temperature in a vector of primary @@ -100,7 +103,10 @@ public: * \brief This module does not define any primary variables in the * isothermal case. */ - static const unsigned int NumPrimaryVars = 0; + static const unsigned int numPrimaryVars = 0; + + DUNE_DEPRECATED_MSG("use numPrimaryVars (uncapitalized 'n') instead") + static const unsigned int NumPrimaryVars = numPrimaryVars; //!< \deprecated /*! * \brief Equation index of the temperature primary variable. This diff --git a/dumux/implicit/mpnc/mpncvolumevariablesia.hh b/dumux/implicit/mpnc/mpncvolumevariablesia.hh index 6341f6dab552b4d50642e4eb59efcd03bc9038de..c49ef0d7dbff431d68900d5f41e6f53018fc66d5 100644 --- a/dumux/implicit/mpnc/mpncvolumevariablesia.hh +++ b/dumux/implicit/mpnc/mpncvolumevariablesia.hh @@ -91,34 +91,6 @@ public: */ void checkDefined() const { } - - /*! - * \brief Check the set variables as to whether they are in physically possible ranges. - * - * \param fluidState Container for all the secondary variables concerning the fluids - * \param globalPos The position at which the check is conducted - * - * Since we are in equilibrium, we don't need to do anything! - */ - bool physicalness(const FluidState & fluidState, - const GlobalPosition & globalPos) - { - return true; // all the checks went through: tell calling function, nothing bad could be found. - } - - /*! - * \brief Output for the case that the current state is not physical. - * This calls the output functions of the modules and throws and exception: - * i.e. a smaller timestep is tried. - * - * Since we are in equilibrium, we don't need to do anything! - * - * \param fs Container for all the secondary variables concerning the fluids - * \param message A string returning the error message for this module - */ - const void physicalnessError(const FluidState & fs, - std::stringstream & message) - { } }; } // namespace Dumux