mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-23 07:53:29 -06:00
fixing AquiferModel in AlugridModel
This commit is contained in:
parent
c4c4c7ac88
commit
3832fd5eb7
@ -108,15 +108,6 @@ public:
|
||||
unsigned) const
|
||||
{ }
|
||||
|
||||
/*!
|
||||
* \brief Add the water which enters or leaves the reservoir due to aquifiers.
|
||||
*/
|
||||
template <class Context>
|
||||
void addToSource(RateVector&,
|
||||
const Context&,
|
||||
unsigned) const
|
||||
{ }
|
||||
|
||||
/*!
|
||||
* \brief This method is called after each Newton-Raphson successful iteration.
|
||||
*
|
||||
|
@ -19,26 +19,19 @@
|
||||
#include "config.h"
|
||||
#include <opm/simulators/flow/Main.hpp>
|
||||
|
||||
namespace Opm::Properties {
|
||||
namespace TTag {
|
||||
struct EclFlowProblemAlugrid {
|
||||
using InheritsFrom = std::tuple<EclFlowProblem>;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
// by default use the dummy aquifer "model"
|
||||
template<class TypeTag>
|
||||
struct EclAquiferModel<TypeTag, TTag::EclFlowProblemAlugrid> {
|
||||
using type = Opm::EclBaseAquiferModel<TypeTag>;
|
||||
namespace Opm {
|
||||
namespace Properties {
|
||||
namespace TTag {
|
||||
struct EclFlowProblemAlugrid {
|
||||
using InheritsFrom = std::tuple<EclFlowProblem>;
|
||||
};
|
||||
// Enable aquifers by default in experimental mode
|
||||
}
|
||||
template<class TypeTag>
|
||||
struct EclEnableAquifers<TypeTag, TTag::EclFlowProblemAlugrid> {
|
||||
static constexpr bool value = false;
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
using TypeTag = Opm::Properties::TTag::EclFlowProblemAlugrid;
|
||||
|
Loading…
Reference in New Issue
Block a user