Skip to content
Snippets Groups Projects
Commit c1677a3b authored by Dennis Gläser's avatar Dennis Gläser
Browse files

Merge branch 'feature/deprecate-unit-component' into 'cleanup/next'

Deprecated unit component. Use Components::Constant component

See merge request !599
parents bf3c7711 2c1ab045
No related branches found
No related tags found
Loading
......@@ -24,6 +24,7 @@
#ifndef DUMUX_UNIT_HH
#define DUMUX_UNIT_HH
#include <dune/common/deprecated.hh>
#include "component.hh"
namespace Dumux
......@@ -36,7 +37,8 @@ namespace Dumux
* \tparam Scalar The type used for scalar values
*/
template <class Scalar>
class Unit : public Component<Scalar, Unit<Scalar> >
class DUNE_DEPRECATED_MSG("Use Components::Constant<id, Scalar> instead. The default is a unit fluid system.")
Unit : public Component<Scalar, Unit<Scalar> >
{
public:
......
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