Skip to content
Snippets Groups Projects
Commit 69fb2805 authored by Philipp Nuske's avatar Philipp Nuske
Browse files

cleanup:

- removed old unsused functions
- renamed NumPrimaryVars to numPrimaryVars

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11506 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 0826839b
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,10 @@ public: ...@@ -74,7 +74,10 @@ public:
/*! /*!
* \brief This module defines one new primary variable. * \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 * \brief Index for the temperature in a vector of primary
...@@ -100,7 +103,10 @@ public: ...@@ -100,7 +103,10 @@ public:
* \brief This module does not define any primary variables in the * \brief This module does not define any primary variables in the
* isothermal case. * 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 * \brief Equation index of the temperature primary variable. This
......
...@@ -91,34 +91,6 @@ public: ...@@ -91,34 +91,6 @@ public:
*/ */
void checkDefined() const 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 } // namespace Dumux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment