diff --git a/opm/core/props/satfunc/RelpermDiagnostics.hpp b/opm/core/props/satfunc/RelpermDiagnostics.hpp index 80e2c00ea..478acf26c 100644 --- a/opm/core/props/satfunc/RelpermDiagnostics.hpp +++ b/opm/core/props/satfunc/RelpermDiagnostics.hpp @@ -23,7 +23,10 @@ #include #include +#if HAVE_CONFIG_H #include "config.h" +#endif // HAVE_CONFIG_H + #include #include #include @@ -33,19 +36,6 @@ #include namespace Opm { - enum FluidSystem { - OilWater, - OilGas, - WaterGas, - BlackOil - }; - - enum SaturationFunctionFamily { - FamilyI, - FamilyII, - NoFamily - }; - ///This class is intend to be a relpmer diganostics, to detect ///wrong input of relperm table and endpoints. @@ -57,8 +47,21 @@ namespace Opm { const UnstructuredGrid& grid); private: - FluidSystem fluidSystem_; + enum FluidSystem { + OilWater, + OilGas, + WaterGas, + BlackOil + }; + FluidSystem fluidSystem_; + + enum SaturationFunctionFamily { + FamilyI, + FamilyII, + NoFamily + }; + SaturationFunctionFamily satFamily_; std::vector > unscaledEpsInfo_;