|
My Project
|
Base class for all phase saturation function consistency checks. More...
#include <PhaseCheckBase.hpp>
Public Member Functions | |
| void | test (const EclEpsScalingPointsInfo< Scalar > &endPoints) override |
| Run specific check against a set of saturation function end-points. | |
| bool | isViolated () const override |
| Whether or not last set of end-points violated this particular check. | |
| bool | isCritical () const override |
| Whether or not this check is critical to the simulator's ability to run the case. | |
Public Member Functions inherited from Opm::SatfuncConsistencyChecks< Scalar >::Check | |
| virtual | ~Check ()=default |
| Virtual destructor since class has virtual functions. | |
| virtual std::size_t | numExportedCheckValues () const =0 |
Number of Scalar values involved in the check. | |
| virtual void | exportCheckValues (Scalar *exportedCheckValues) const =0 |
Get a linearised copy of the Scalar values involved in the check. | |
| virtual std::string | description () const =0 |
| Descriptive textual summary of this check. | |
| virtual std::string | condition () const =0 |
| Textual representation of the consistency condition. | |
| virtual void | columnNames (std::string *headers) const =0 |
| Retrieve names of the exported check values. | |
Protected Member Functions | |
| void | setViolated () |
| Mark check as violated. | |
| void | setCritical () |
| Mark check as violated at critical level. | |
Base class for all phase saturation function consistency checks.
Provides common implementation of parts of the public Check interface in terms of packed flags.
| Scalar | Element type. Typically float or double. |
|
overridevirtual |
Whether or not this check is critical to the simulator's ability to run the case.
Violating critical checks should typically stop the run.
Implements Opm::SatfuncConsistencyChecks< Scalar >::Check.
|
overridevirtual |
Whether or not last set of end-points violated this particular check.
Implements Opm::SatfuncConsistencyChecks< Scalar >::Check.
|
protected |
Mark check as violated at critical level.
Intended to be called by derived types only.
|
protected |
Mark check as violated.
Intended to be called by derived types only.
|
overridevirtual |
Run specific check against a set of saturation function end-points.
| [in] | endPoints | Set of saturation function end-points. Might for instance be the scaled end-points of the drainage functions in a single grid block or the unscaled end-points of the tabulated saturation functions in a single saturation region. |
Implements Opm::SatfuncConsistencyChecks< Scalar >::Check.