20 #ifndef WATER_PHASE_CONSISTENCY_CHECKS_HPP_INCLUDED 21 #define WATER_PHASE_CONSISTENCY_CHECKS_HPP_INCLUDED 23 #include <opm/simulators/utils/satfunc/PhaseCheckBase.hpp> 24 #include <opm/simulators/utils/satfunc/SatfuncConsistencyChecks.hpp> 34 template <
typename Scalar>
47 exportedCheckValues[0] = this->swl_;
53 return {
"Non-negative minimum water saturation" };
59 return {
"0 <= SWL < 1" };
88 template <
typename Scalar>
101 exportedCheckValues[0] = this->swu_;
107 return {
"Positive maximum water saturation" };
113 return {
"0 < SWU <= 1" };
142 template <
typename Scalar>
155 exportedCheckValues[0] = this->swl_;
156 exportedCheckValues[1] = this->swcr_;
157 exportedCheckValues[2] = this->swu_;
163 return {
"Mobile water saturation" };
169 return {
"SWL <= SWCR < SWU" };
205 #endif // WATER_PHASE_CONSISTENCY_CHECKS_HPP_INCLUDED void columnNames(std::string *headers) const override
Retrieve names of the exported check values.
Definition: WaterPhaseConsistencyChecks.hpp:176
std::string description() const override
Descriptive textual summary of this check.
Definition: WaterPhaseConsistencyChecks.hpp:161
std::string description() const override
Descriptive textual summary of this check.
Definition: WaterPhaseConsistencyChecks.hpp:105
std::string condition() const override
Textual representation of the consistency condition.
Definition: WaterPhaseConsistencyChecks.hpp:167
std::size_t numExportedCheckValues() const override
Number of Scalar values involved in the check.
Definition: WaterPhaseConsistencyChecks.hpp:93
Base class for all phase saturation function consistency checks.
Definition: PhaseCheckBase.hpp:34
Verify that maximum gas saturation is in valid range.
Definition: WaterPhaseConsistencyChecks.hpp:89
std::size_t numExportedCheckValues() const override
Number of Scalar values involved in the check.
Definition: WaterPhaseConsistencyChecks.hpp:147
Verify that critical gas saturation is in valid range.
Definition: WaterPhaseConsistencyChecks.hpp:143
void exportCheckValues(Scalar *exportedCheckValues) const override
Get a linearised copy of the Scalar values involved in the check.
Definition: WaterPhaseConsistencyChecks.hpp:45
Definition: SatfuncCheckPointInterface.hpp:28
void exportCheckValues(Scalar *exportedCheckValues) const override
Get a linearised copy of the Scalar values involved in the check.
Definition: WaterPhaseConsistencyChecks.hpp:153
void exportCheckValues(Scalar *exportedCheckValues) const override
Get a linearised copy of the Scalar values involved in the check.
Definition: WaterPhaseConsistencyChecks.hpp:99
Verify that minimum gas saturation is in valid range.
Definition: WaterPhaseConsistencyChecks.hpp:35
std::string description() const override
Descriptive textual summary of this check.
Definition: WaterPhaseConsistencyChecks.hpp:51
std::size_t numExportedCheckValues() const override
Number of Scalar values involved in the check.
Definition: WaterPhaseConsistencyChecks.hpp:39
std::string condition() const override
Textual representation of the consistency condition.
Definition: WaterPhaseConsistencyChecks.hpp:111
void columnNames(std::string *headers) const override
Retrieve names of the exported check values.
Definition: WaterPhaseConsistencyChecks.hpp:120
std::string condition() const override
Textual representation of the consistency condition.
Definition: WaterPhaseConsistencyChecks.hpp:57
Definition: WaterPhaseConsistencyChecks.hpp:29
void columnNames(std::string *headers) const override
Retrieve names of the exported check values.
Definition: WaterPhaseConsistencyChecks.hpp:66