diff --git a/dumux/material/components/component.hh b/dumux/material/components/component.hh index 9ae42e9ed..7a2d86527 100644 --- a/dumux/material/components/component.hh +++ b/dumux/material/components/component.hh @@ -21,6 +21,8 @@ #ifndef DUMUX_COMPONENT_HH #define DUMUX_COMPONENT_HH +#include + namespace Dumux { @@ -31,10 +33,6 @@ template class Component { public: - static void init(Scalar tempMin, Scalar tempMax, unsigned nTemp, - Scalar pressMin, Scalar pressMax, unsigned nPress) - { Dune::dwarn << "No init routine defined - make shure that this is not necessary!" << std::endl; } - /*! * \brief A human readable name for the compoent. */ diff --git a/dumux/material/fluidsystems/defaultcomponents.hh b/dumux/material/fluidsystems/defaultcomponents.hh index 861b84202..3eb95ea89 100644 --- a/dumux/material/fluidsystems/defaultcomponents.hh +++ b/dumux/material/fluidsystems/defaultcomponents.hh @@ -33,6 +33,8 @@ #include #include +#include + namespace Dumux { namespace Properties @@ -45,6 +47,8 @@ NEW_PROP_TAG(DefaultComponents); //! system NEW_PROP_TAG(Components); +NEW_PROP_TAG(Scalar); + SET_PROP_DEFAULT(DefaultComponents) { private: typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; diff --git a/dumux/material/fluidsystems/h2o_n2_system.hh b/dumux/material/fluidsystems/h2o_n2_system.hh index dd0ed0a67..94eb44686 100644 --- a/dumux/material/fluidsystems/h2o_n2_system.hh +++ b/dumux/material/fluidsystems/h2o_n2_system.hh @@ -605,7 +605,7 @@ private: } #endif } - }; +}; } // end namepace