diff --git a/dumux/material/components/air.hh b/dumux/material/components/air.hh index a22328a918a8985f70f6cb866cea6bb04ef36f53..6b49313dc1c50b9b9235b401bd143b9cc787b646 100644 --- a/dumux/material/components/air.hh +++ b/dumux/material/components/air.hh @@ -28,8 +28,11 @@ #include <dumux/material/components/component.hh> #include <dumux/material/idealgas.hh> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { + /*! * \ingroup Components * \brief A class for the air fluid properties @@ -331,6 +334,11 @@ public: } }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using Air DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::Air<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/benzene.hh b/dumux/material/components/benzene.hh index 4aa834036b376fcb1e95a89f46f0bb35b0fa643e..1bc38eda5d40570924f48538e3271e397378a5cb 100644 --- a/dumux/material/components/benzene.hh +++ b/dumux/material/components/benzene.hh @@ -27,9 +27,11 @@ #include <dumux/material/idealgas.hh> #include "component.hh" +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { -namespace Dumux -{ /*! * \ingroup Components * \brief A simple benzene component (LNAPL). @@ -170,6 +172,11 @@ public: } }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using Benzene DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::Benzene<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/brine.hh b/dumux/material/components/brine.hh index 73c9926423fd73c36e13a65f06b3cb88f435cfb7..eeb89a1727d468cecb36793d772215151d1011b0 100644 --- a/dumux/material/components/brine.hh +++ b/dumux/material/components/brine.hh @@ -32,8 +32,11 @@ #include <cmath> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { + /*! * \ingroup Components * \brief A class for the brine fluid properties. @@ -42,7 +45,7 @@ namespace Dumux * \tparam H2O Static polymorphism: the Brine class can access all properties of the H2O class */ template <class Scalar, -class H2O_Tabulated = TabulatedComponent<Scalar, H2O<Scalar>>> + class H2O_Tabulated = TabulatedComponent<Scalar, H2O<Scalar>>> class Brine : public Component<Scalar, Brine<Scalar, H2O_Tabulated> > { public: @@ -391,6 +394,11 @@ public: template <class Scalar, class H2O> Scalar Brine<Scalar, H2O>::constantSalinity = 0.1; +} // end namespace Components + +template <class Scalar, class H2O> +using Brine DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::Brine<Scalar, H2O>; + } // end namespace Dumux #endif diff --git a/dumux/material/components/cao.hh b/dumux/material/components/cao.hh index ae05818289d831cbd7324aaa841b990112c4bbdd..11aa1c00690fb5aeb12e71d99e380b56ef78d15a 100644 --- a/dumux/material/components/cao.hh +++ b/dumux/material/components/cao.hh @@ -31,8 +31,11 @@ #include <cmath> #include <iostream> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { + /*! * \ingroup Components * \brief A class for the CaO properties @@ -74,6 +77,11 @@ public: } }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using CaO DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::CaO<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/cao2h2.hh b/dumux/material/components/cao2h2.hh index 62d754d1238f0aeea226a3b60898c84dc9eb6f30..ec8a036151ac2fffa0bc29aeae64f5a5c0535d8e 100644 --- a/dumux/material/components/cao2h2.hh +++ b/dumux/material/components/cao2h2.hh @@ -31,8 +31,11 @@ #include <cmath> #include <iostream> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { + /*! * \ingroup Components * \brief A class for the CaO2H2 properties @@ -74,6 +77,11 @@ public: } }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using CaO2H2 DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::CaO2H2<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/ch4.hh b/dumux/material/components/ch4.hh index 81b8e275d777181d1e8c4ea1a988ba6224a87d82..c4cd42578db5e9d6cc936299363418cc6a4524cc 100644 --- a/dumux/material/components/ch4.hh +++ b/dumux/material/components/ch4.hh @@ -30,8 +30,10 @@ #include <cmath> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { /*! * \ingroup Components @@ -228,6 +230,11 @@ public: } }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using CH4 DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::CH4<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/co2.hh b/dumux/material/components/co2.hh index dbd8a46cc247f01324ef82d65c2edfdc3d05c985..c7a988caafe7bb1ff923d0335aa12f74ddf8d9a7 100644 --- a/dumux/material/components/co2.hh +++ b/dumux/material/components/co2.hh @@ -32,8 +32,11 @@ #include <cmath> #include <iostream> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { + /*! * \ingroup Components * \brief A class for the CO2 fluid properties @@ -387,6 +390,11 @@ const Scalar CO2<Scalar, CO2Tables>::R = Constants<Scalar>::R; template <class Scalar, class CO2Tables> bool CO2<Scalar, CO2Tables>::warningThrown = false; -} // end namespace +} // end namespace Components + +template <class Scalar, class CO2Tables> +using CO2 DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::CO2<Scalar, CO2Tables>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/constant.hh b/dumux/material/components/constant.hh index 878255a52dbf47a2017f79f17115c0dc4d8b7635..97d8ec64fb57e07a4dc58b90a5cbc27b68f076fc 100644 --- a/dumux/material/components/constant.hh +++ b/dumux/material/components/constant.hh @@ -156,9 +156,6 @@ public: } // end namespace Components -template<class TypeTag, class Scalar> -using Constant DUNE_DEPRECATED_MSG("Use Components::Constant<id, Scalar> instead") = Dumux::Components::Constant<1, Scalar>; - } // end namespace Dumux #endif // DUMUX_COMPONENTS_CONSTANT_HH diff --git a/dumux/material/components/dnapl.hh b/dumux/material/components/dnapl.hh index 30ca653fb2fea059eba42ffaaee06e389cae76a4..a5eec0d4703c8a8914d20757e742acd119785013 100644 --- a/dumux/material/components/dnapl.hh +++ b/dumux/material/components/dnapl.hh @@ -27,9 +27,11 @@ #include <dumux/material/idealgas.hh> #include "component.hh" +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { -namespace Dumux -{ /*! * \ingroup Components * \brief A simple implementation of TCE as exemplary component for a dense NAPL. @@ -152,6 +154,11 @@ public: } }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using DNAPL DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::DNAPL<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/h2.hh b/dumux/material/components/h2.hh index 5b705b67ed7df2109433a3f71ef18ee9282d138d..ae4cc908eca6666259cb30dac8bbc2d698f7fe86 100644 --- a/dumux/material/components/h2.hh +++ b/dumux/material/components/h2.hh @@ -30,8 +30,10 @@ #include <cmath> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { /*! * \ingroup Components @@ -220,6 +222,11 @@ public: } }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using H2 DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::H2<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/h2o.hh b/dumux/material/components/h2o.hh index c92a63868e675253da219cd48eaaec6472811763..e0866cfa1d3ce02602180f0035ea429397f6d56e 100644 --- a/dumux/material/components/h2o.hh +++ b/dumux/material/components/h2o.hh @@ -38,8 +38,11 @@ #include "iapws/region2.hh" #include "iapws/region4.hh" -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { + /*! * \ingroup Components * \brief Material properties of pure water \f$H_2O\f$. @@ -888,6 +891,12 @@ private: Rs * temperature / pressure; } }; // end class -} // end namespace + +} // end namespace Components + +template<class Scalar> +using H2O DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::H2O<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/heavyoil.hh b/dumux/material/components/heavyoil.hh index c866c8e6535b3f7e264f0eb550952decffd4716c..a3db2f96a7ed1e7baafabf434be2d7824fb7bb34 100644 --- a/dumux/material/components/heavyoil.hh +++ b/dumux/material/components/heavyoil.hh @@ -29,8 +29,11 @@ #include <dumux/material/components/component.hh> #include <dumux/material/constants.hh> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { + /*! * \ingroup Components * \brief Properties of the component heavyoil @@ -484,6 +487,11 @@ protected: }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using HeavyOil DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::HeavyOil<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/lnapl.hh b/dumux/material/components/lnapl.hh index 67d1be4302b1fe59664abf8c0ee827dc63ec6c34..f050b781c592a4ccb517753bc61fe5270024f707 100644 --- a/dumux/material/components/lnapl.hh +++ b/dumux/material/components/lnapl.hh @@ -27,8 +27,11 @@ #include "component.hh" -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { + /*! * \ingroup Components * \brief A simple implementation of a LNAPL, e.g. a kind of oil @@ -76,6 +79,11 @@ public: }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using LNAPL DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::LNAPL<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/mesitylene.hh b/dumux/material/components/mesitylene.hh index d0aa656f6fd23a6cca83d11add998d6d3c3dce8b..61d55d2e31134b39cf5a870ceae523cc232598c8 100644 --- a/dumux/material/components/mesitylene.hh +++ b/dumux/material/components/mesitylene.hh @@ -29,8 +29,11 @@ #include <dumux/material/components/component.hh> #include <dumux/material/constants.hh> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { + /*! * \ingroup Components * \brief mesitylene @@ -368,6 +371,11 @@ protected: }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using Mesitylene DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::Mesitylene<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/n2.hh b/dumux/material/components/n2.hh index c137c6f29bfdb90dafc8ccf24cc645ec01c1c0c2..8f674d841440c88a11237ffb3021c82864034f4a 100644 --- a/dumux/material/components/n2.hh +++ b/dumux/material/components/n2.hh @@ -30,8 +30,10 @@ #include <cmath> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { /*! * \ingroup Componentss @@ -271,6 +273,11 @@ public: } }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using N2 DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::N2<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/nacl.hh b/dumux/material/components/nacl.hh index 66d3c241632c3196b61eee883c88db60f4d3c424..c831fc8e32710e77fc8d608c0448725218115b35 100644 --- a/dumux/material/components/nacl.hh +++ b/dumux/material/components/nacl.hh @@ -30,9 +30,11 @@ #include <cmath> #include <iostream> +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { -namespace Dumux -{ /*! * \ingroup Components * \brief A class for the NaCl properties @@ -84,7 +86,11 @@ public: } }; -} // end namespace +} // end namespace Components -#endif +template<class Scalar> +using NaCl DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::NaCl<Scalar>; +} // end namespace Dumux + +#endif diff --git a/dumux/material/components/o2.hh b/dumux/material/components/o2.hh index 8d2d5955973b3fc108a51f825b54af99505a056b..90b64fc9dbb5473e8d6f59ef98235d83bafd0a84 100644 --- a/dumux/material/components/o2.hh +++ b/dumux/material/components/o2.hh @@ -30,8 +30,10 @@ #include <cmath> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { /*! * \ingroup Components @@ -247,6 +249,11 @@ public: } }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using O2 DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::O2<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/simpleco2.hh b/dumux/material/components/simpleco2.hh index 90c533a7e98e209bd0a734f4d170b800d3775442..5751d38169c19eda5c20714da504aa1a51f3212d 100644 --- a/dumux/material/components/simpleco2.hh +++ b/dumux/material/components/simpleco2.hh @@ -30,8 +30,11 @@ #include <cmath> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { + /*! * \ingroup Components * \brief A class for the \f$CO_2\f$ fluid properties @@ -196,6 +199,11 @@ public: } }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using SimpleCO2 DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::SimpleCO2<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/simpleh2o.hh b/dumux/material/components/simpleh2o.hh index 00851dccdaf7aaac1e4ec7f6e057fa827b2ff2b8..f7ea57d88011bf2eb2c61e0a6784638b0b8ade7f 100644 --- a/dumux/material/components/simpleh2o.hh +++ b/dumux/material/components/simpleh2o.hh @@ -31,8 +31,11 @@ #include <cmath> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { + /*! * \ingroup Components * \brief A much simpler (and thus potentially less buggy) version of @@ -325,6 +328,11 @@ public: template <class Scalar> const Scalar SimpleH2O<Scalar>::R = Constants<Scalar>::R / 18e-3; -} // end namespace +} // end namespace Components + +template<class Scalar> +using SimpleH2O DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::SimpleH2O<Scalar>; + +} // end namespace Dumux #endif diff --git a/dumux/material/components/tabulatedcomponent.hh b/dumux/material/components/tabulatedcomponent.hh index eaf559061bef4785c6f0d04b6c86838675d0255b..c4347531b000650fd2d3c7db36b3b8e413cbbdf7 100644 --- a/dumux/material/components/tabulatedcomponent.hh +++ b/dumux/material/components/tabulatedcomponent.hh @@ -35,8 +35,10 @@ #include <dumux/common/exceptions.hh> -namespace Dumux -{ +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { /*! * \ingroup Components @@ -950,7 +952,11 @@ Scalar TabulatedComponent<Scalar, RawComponent, useVaporPressure>::densityMax_; template <class Scalar, class RawComponent, bool useVaporPressure> unsigned TabulatedComponent<Scalar, RawComponent, useVaporPressure>::nDensity_; +} // end namespace Components + +template <class Scalar, class RawComponent, bool useVaporPressure=true> +using TabulatedComponent DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::TabulatedComponent<Scalar, RawComponent, useVaporPressure>; -} // end namespace +} // end namespace Dumux #endif diff --git a/dumux/material/components/xylene.hh b/dumux/material/components/xylene.hh index d234602148382172ac7c17cde80d7246b9ff4978..f144d23a62f9876a0a34ebdf8e803db08d7f4ea7 100644 --- a/dumux/material/components/xylene.hh +++ b/dumux/material/components/xylene.hh @@ -29,9 +29,11 @@ #include <dumux/material/components/component.hh> #include <dumux/material/constants.hh> +#include <dune/common/deprecated.hh> + +namespace Dumux { +namespace Components { -namespace Dumux -{ /*! * \ingroup Components * \brief Properties of xylene. @@ -383,6 +385,11 @@ public: } }; -} // end namespace +} // end namespace Components + +template<class Scalar> +using Xylene DUNE_DEPRECATED_MSG("Now in the namespace: Components") = Dumux::Components::Xylene<Scalar>; + +} // end namespace Dumux #endif