mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -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
|
||||
static void initFromState(const EclipseState& eclState)
|
||||
{
|
||||
if (!eclState.getSimulationConfig().rock_config().dispersion()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (eclState.getSimulationConfig().hasVAPWAT() || eclState.getSimulationConfig().hasVAPOIL()) {
|
||||
OpmLog::warning("Dispersion is activated in combination with VAPWAT/VAPOIL. \n"
|
||||
"Water/oil is still allowed to vaporize, but dispersion in the "
|
||||
|
Loading…
Reference in New Issue
Block a user