mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #870 from totto82/fixOutputDisp
Only output warning if dispersion is activated
This commit is contained in:
commit
5f7180b1f8
@ -122,6 +122,10 @@ public:
|
|||||||
#if HAVE_ECL_INPUT
|
#if HAVE_ECL_INPUT
|
||||||
static void initFromState(const EclipseState& eclState)
|
static void initFromState(const EclipseState& eclState)
|
||||||
{
|
{
|
||||||
|
if (!eclState.getSimulationConfig().rock_config().dispersion()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (eclState.getSimulationConfig().hasVAPWAT() || eclState.getSimulationConfig().hasVAPOIL()) {
|
if (eclState.getSimulationConfig().hasVAPWAT() || eclState.getSimulationConfig().hasVAPOIL()) {
|
||||||
OpmLog::warning("Dispersion is activated in combination with VAPWAT/VAPOIL. \n"
|
OpmLog::warning("Dispersion is activated in combination with VAPWAT/VAPOIL. \n"
|
||||||
"Water/oil is still allowed to vaporize, but dispersion in the "
|
"Water/oil is still allowed to vaporize, but dispersion in the "
|
||||||
|
Loading…
Reference in New Issue
Block a user