mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-22 09:16:27 -06:00
fixed: don't use a EnableVtkOutput parameters as a property
query it as a parameter should be queried instead
This commit is contained in:
parent
bd4ed90b78
commit
ca21f087b5
@ -78,7 +78,6 @@ class BlackOilFoamModule
|
||||
static constexpr unsigned waterPhaseIdx = FluidSystem::waterPhaseIdx;
|
||||
|
||||
static constexpr unsigned enableFoam = enableFoamV;
|
||||
static constexpr bool enableVtkOutput = getPropValue<TypeTag, Properties::EnableVtkOutput>();
|
||||
|
||||
static constexpr unsigned numEq = getPropValue<TypeTag, Properties::NumEq>();
|
||||
static constexpr unsigned numPhases = FluidSystem::numPhases;
|
||||
@ -188,7 +187,7 @@ public:
|
||||
Simulator&)
|
||||
{
|
||||
if constexpr (enableFoam) {
|
||||
if (enableVtkOutput) {
|
||||
if (Parameters::get<TypeTag, Properties::EnableVtkOutput>()) {
|
||||
OpmLog::warning("VTK output requested, currently unsupported by the foam module.");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user