opm-common
opm-common copied to clipboard
[testing] adding member to check whether WVFPDP active
alternatively, we can use
bool WVFPDP::active() const {
return this->dp != 0.0 || this->m_fp != 1.0;
}
jenkins build this opm-simulators=4958 please
alternatively, we can use
bool WVFPDP::active() const { return this->dp != 0.0 || this->m_fp != 1.0; }
Using this way will be much less work and not need to think about how it should be affected by the RESTART implementation.
We can also explore usage of std::optional for this purpose.
jenkins build this opm-simulators=4958 please