My Project
|
Callbacks for defining the scaled saturation function consistency check point of a single active grid block. More...
#include <ScaledSatfuncCheckPoint.hpp>
Public Types | |
using | LocalToGlobal = std::function< std::size_t(const int)> |
Callback for translating active cell index to globally unique point ID. | |
Public Member Functions | |
ScaledSatfuncCheckPoint (const UnscaledSatfuncCheckPoint< Scalar > &unscaled, const EclipseState *eclipseState, const EclEpsGridProperties *epsGridProps, const LocalToGlobal &localToGlobal) | |
Constructor. | |
std::optional< std::size_t > | pointID (const int cellIdx) const override |
Compute global unique, i.e., across all MPI ranks, ID of this check for a particular cell index. | |
void | populateCheckPoint (const int cellIdx, EclEpsScalingPointsInfo< Scalar > &endPoints) const override |
Populate check point values for a particular cell. | |
![]() | |
virtual | ~SatfuncCheckPointInterface ()=default |
Virtual destructor for public inheritance. | |
Callbacks for defining the scaled saturation function consistency check point of a single active grid block.
Scalar | Element type. Typically float or double . |
|
inlineexplicit |
Constructor.
[in] | unscaled | Callbacks for inferring the end-points of the underlying saturation region. |
[in] | eclipseState | Container of static properties such as the scaled saturation function end-points. |
[in] | epsGridProps | Access interface for scaled saturation function end-points. |
[in] | localToGlobal | Callback for translating active cell indices to globally unique point IDs. |
|
inlineoverridevirtual |
Compute global unique, i.e., across all MPI ranks, ID of this check for a particular cell index.
[in] | cellIdx | Active cell index on current rank. |
cellIdx
Implements Opm::Satfunc::PhaseChecks::SatfuncCheckPointInterface< Scalar >.
|
overridevirtual |
Populate check point values for a particular cell.
[in] | cellIdx | Active cell index on current rank. |
[out] | endPoints | Set of saturation function end-points. |
Implements Opm::Satfunc::PhaseChecks::SatfuncCheckPointInterface< Scalar >.