diff --git a/ebos/ebos_plain.cc b/ebos/ebos_plain.cc index 089c943f6..d2dd983c1 100644 --- a/ebos/ebos_plain.cc +++ b/ebos/ebos_plain.cc @@ -28,6 +28,7 @@ #include "config.h" #include "eclproblem.hh" +#include "eclwellmanager.hh" #include @@ -39,6 +40,11 @@ struct EbosPlainTypeTag { }; } +template +struct EclWellModel { + using type = EclWellManager; +}; + } // namespace Opm::Properties int main(int argc, char **argv) diff --git a/ebos/eclproblem.hh b/ebos/eclproblem.hh index 91bd5baca..3b9f303ad 100644 --- a/ebos/eclproblem.hh +++ b/ebos/eclproblem.hh @@ -53,7 +53,6 @@ #include "eclcpgridvanguard.hh" #endif -#include "eclwellmanager.hh" #include "eclequilinitializer.hh" #include "eclwriter.hh" #include "ecloutputblackoilmodule.hh" @@ -307,12 +306,6 @@ struct EclAquiferModel { using type = EclBaseAquiferModel; }; -// use the built-in proof of concept well model by default -template -struct EclWellModel { - using type = EclWellManager; -}; - // Enable aquifers by default in experimental mode template struct EclEnableAquifers { diff --git a/opm/simulators/wells/WellInterface_impl.hpp b/opm/simulators/wells/WellInterface_impl.hpp index 54861aebe..18ce7033f 100644 --- a/opm/simulators/wells/WellInterface_impl.hpp +++ b/opm/simulators/wells/WellInterface_impl.hpp @@ -21,6 +21,7 @@ #include #include +#include #include namespace Opm diff --git a/tests/test_ecl_output.cc b/tests/test_ecl_output.cc index 3e9095be7..b0dcaf59c 100644 --- a/tests/test_ecl_output.cc +++ b/tests/test_ecl_output.cc @@ -26,6 +26,7 @@ #include #include +#include #include #include @@ -67,19 +68,27 @@ namespace Opm::Properties { namespace TTag { + struct TestEclOutputTypeTag { using InheritsFrom = std::tuple; }; } + template struct EnableGravity { static constexpr bool value = false; }; + template struct EnableAsyncEclOutput { static constexpr bool value = false; }; +template +struct EclWellModel { + using type = EclWellManager; +}; + } // namespace Opm::Properties namespace { diff --git a/tests/test_equil.cc b/tests/test_equil.cc index 1dc36eff1..d4e454e69 100644 --- a/tests/test_equil.cc +++ b/tests/test_equil.cc @@ -26,6 +26,7 @@ #include #include +#include #include #include @@ -64,10 +65,17 @@ namespace Opm::Properties { namespace TTag { + struct TestEquilTypeTag { using InheritsFrom = std::tuple; }; } + +template +struct EclWellModel { + using type = EclWellManager; +}; + } // namespace Opm::Properties template