mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3318 from akva2/eclwellmodel_no_default
changed: do not set the ebos well model as default type
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <ebos/equil/equilibrationhelpers.hh>
|
||||
#include <ebos/eclproblem.hh>
|
||||
#include <ebos/eclwellmanager.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
|
||||
#include <opm/grid/UnstructuredGrid.h>
|
||||
@@ -67,19 +68,27 @@
|
||||
|
||||
namespace Opm::Properties {
|
||||
namespace TTag {
|
||||
|
||||
struct TestEclOutputTypeTag {
|
||||
using InheritsFrom = std::tuple<EclBaseProblem, BlackOilModel>;
|
||||
};
|
||||
}
|
||||
|
||||
template<class TypeTag>
|
||||
struct EnableGravity<TypeTag, TTag::TestEclOutputTypeTag> {
|
||||
static constexpr bool value = false;
|
||||
};
|
||||
|
||||
template<class TypeTag>
|
||||
struct EnableAsyncEclOutput<TypeTag, TTag::TestEclOutputTypeTag> {
|
||||
static constexpr bool value = false;
|
||||
};
|
||||
|
||||
template<class TypeTag>
|
||||
struct EclWellModel<TypeTag, TTag::TestEclOutputTypeTag> {
|
||||
using type = EclWellManager<TypeTag>;
|
||||
};
|
||||
|
||||
} // namespace Opm::Properties
|
||||
|
||||
namespace {
|
||||
|
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <ebos/equil/equilibrationhelpers.hh>
|
||||
#include <ebos/eclproblem.hh>
|
||||
#include <ebos/eclwellmanager.hh>
|
||||
#include <opm/models/utils/start.hh>
|
||||
|
||||
#include <opm/grid/UnstructuredGrid.h>
|
||||
@@ -64,10 +65,17 @@
|
||||
|
||||
namespace Opm::Properties {
|
||||
namespace TTag {
|
||||
|
||||
struct TestEquilTypeTag {
|
||||
using InheritsFrom = std::tuple<EclBaseProblem, BlackOilModel>;
|
||||
};
|
||||
}
|
||||
|
||||
template<class TypeTag>
|
||||
struct EclWellModel<TypeTag, TTag::TestEquilTypeTag> {
|
||||
using type = EclWellManager<TypeTag>;
|
||||
};
|
||||
|
||||
} // namespace Opm::Properties
|
||||
|
||||
template <class TypeTag>
|
||||
|
Reference in New Issue
Block a user