20 #ifndef GAS_PHASE_CONSISTENCY_CHECKS_HPP_INCLUDED 21 #define GAS_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->sgl_;
53 return {
"Non-negative minimum gas saturation" };
59 return {
"0 <= SGL < 1" };
88 template <
typename Scalar>
101 exportedCheckValues[0] = this->sgu_;
107 return {
"Positive maximum gas saturation must not exceed one" };
113 return {
"0 < SGU <= 1" };
142 template <
typename Scalar>
155 exportedCheckValues[0] = this->sgl_;
156 exportedCheckValues[1] = this->sgcr_;
157 exportedCheckValues[2] = this->sgu_;
163 return {
"Mobile gas saturation" };
169 return {
"SGL <= SGCR < SGU" };
205 #endif // GAS_PHASE_CONSISTENCY_CHECKS_HPP_INCLUDED void columnNames(std::string *headers) const override
Retrieve names of the exported check values.
Definition: GasPhaseConsistencyChecks.hpp:176
std::string description() const override
Descriptive textual summary of this check.
Definition: GasPhaseConsistencyChecks.hpp:105
void columnNames(std::string *headers) const override
Retrieve names of the exported check values.
Definition: GasPhaseConsistencyChecks.hpp:66
void columnNames(std::string *headers) const override
Retrieve names of the exported check values.
Definition: GasPhaseConsistencyChecks.hpp:120
Verify that minimum gas saturation is in valid range.
Definition: GasPhaseConsistencyChecks.hpp:35
Base class for all phase saturation function consistency checks.
Definition: PhaseCheckBase.hpp:34
void exportCheckValues(Scalar *exportedCheckValues) const override
Get a linearised copy of the Scalar values involved in the check.
Definition: GasPhaseConsistencyChecks.hpp:99
std::size_t numExportedCheckValues() const override
Number of Scalar values involved in the check.
Definition: GasPhaseConsistencyChecks.hpp:147
std::string condition() const override
Textual representation of the consistency condition.
Definition: GasPhaseConsistencyChecks.hpp:111
Verify that maximum gas saturation is in valid range.
Definition: GasPhaseConsistencyChecks.hpp:89
Definition: SatfuncCheckPointInterface.hpp:28
std::size_t numExportedCheckValues() const override
Number of Scalar values involved in the check.
Definition: GasPhaseConsistencyChecks.hpp:39
std::string condition() const override
Textual representation of the consistency condition.
Definition: GasPhaseConsistencyChecks.hpp:57
std::string description() const override
Descriptive textual summary of this check.
Definition: GasPhaseConsistencyChecks.hpp:51
Verify that critical gas saturation is in valid range.
Definition: GasPhaseConsistencyChecks.hpp:143
std::string condition() const override
Textual representation of the consistency condition.
Definition: GasPhaseConsistencyChecks.hpp:167
std::string description() const override
Descriptive textual summary of this check.
Definition: GasPhaseConsistencyChecks.hpp:161
void exportCheckValues(Scalar *exportedCheckValues) const override
Get a linearised copy of the Scalar values involved in the check.
Definition: GasPhaseConsistencyChecks.hpp:153
void exportCheckValues(Scalar *exportedCheckValues) const override
Get a linearised copy of the Scalar values involved in the check.
Definition: GasPhaseConsistencyChecks.hpp:45
Definition: GasPhaseConsistencyChecks.hpp:29
std::size_t numExportedCheckValues() const override
Number of Scalar values involved in the check.
Definition: GasPhaseConsistencyChecks.hpp:93