Opm::SatfuncConsistencyChecks< Scalar >::Check Class Referenceabstract

#include <SatfuncConsistencyChecks.hpp>

Inheritance diagram for Opm::SatfuncConsistencyChecks< Scalar >::Check:
Inheritance graph

Public Member Functions

virtual ~Check ()=default
 Virtual destructor since class has virtual functions. More...
 
virtual void test (const EclEpsScalingPointsInfo< Scalar > &endPoints)=0
 
virtual bool isViolated () const =0
 Whether or not last set of end-points violated this particular check. More...
 
virtual bool isCritical () const =0
 
virtual std::size_t numExportedCheckValues () const =0
 Number of Scalar values involved in the check. More...
 
virtual void exportCheckValues (Scalar *exportedCheckValues) const =0
 
virtual std::string description () const =0
 
virtual std::string condition () const =0
 Textual representation of the consistency condition. More...
 
virtual void columnNames (std::string *headers) const =0
 

Detailed Description

template<typename Scalar>
class Opm::SatfuncConsistencyChecks< Scalar >::Check

Call-back interface for an individual check.

Specific checks are expected to inherit from this base class.

Constructor & Destructor Documentation

◆ ~Check()

template<typename Scalar >
virtual Opm::SatfuncConsistencyChecks< Scalar >::Check::~Check ( )
virtualdefault

Virtual destructor since class has virtual functions.

Member Function Documentation

◆ columnNames()

◆ condition()

◆ description()

◆ exportCheckValues()

◆ isCritical()

template<typename Scalar >
virtual bool Opm::SatfuncConsistencyChecks< Scalar >::Check::isCritical ( ) const
pure virtual

Whether or not this check is critical to the simulator's ability to run the case.

Violating critical checks should typically stop the run.

Implemented in Opm::Satfunc::PhaseChecks::PhaseCheckBase< Scalar >.

◆ isViolated()

template<typename Scalar >
virtual bool Opm::SatfuncConsistencyChecks< Scalar >::Check::isViolated ( ) const
pure virtual

Whether or not last set of end-points violated this particular check.

Implemented in Opm::Satfunc::PhaseChecks::PhaseCheckBase< Scalar >.

◆ numExportedCheckValues()

◆ test()

template<typename Scalar >
virtual void Opm::SatfuncConsistencyChecks< Scalar >::Check::test ( const EclEpsScalingPointsInfo< Scalar > &  endPoints)
pure virtual

Run specific check against a set of saturation function end-points.

Parameters
[in]endPointsSet 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.

Implemented in Opm::Satfunc::PhaseChecks::PhaseCheckBase< Scalar >.


The documentation for this class was generated from the following file: