My Project
|
Callbacks for defining the consistency check point of a single region. More...
#include <UnscaledSatfuncCheckPoint.hpp>
Classes | |
struct | UnscaledEndPoints |
Collection of saturation function end-points and function values extracted from tabulated saturation functions. More... | |
Public Member Functions | |
UnscaledSatfuncCheckPoint (const std::vector< int > *region, const int regIdxOffset, const UnscaledEndPoints &unscaledEndPoints) | |
Constructor. | |
std::optional< std::size_t > | pointID (const int cellIdx) const override |
Compute locally unique, i.e., per MPI rank, 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 consistency check point of a single region.
Scalar | Element type. Typically float or double . |
|
inlineexplicit |
Constructor.
[in] | region | Region index for each active cell on rank. |
[in] | regIdxOffset | Region index offset. Pass one (1) if region contains one-based region indices. |
[in] | unscaledEndPoints | Saturation function end-points for all tabulated saturation functions. Lifetime of members must exceed the UnscaledSatfuncCheckPoint object. |
|
overridevirtual |
Compute locally unique, i.e., per MPI rank, ID of this check for a particular cell index.
Common examples include the drainage or imbibition region ID (i.e., SATNUM or IMBNUM) or the Cartesian block index of a cell.
[in] | cellIdx | Active cell index on current rank. |
cellIdx
. Nullopt if this check point does not apply to cellIdx
. Typically because the underlying region of cellIdx
has already been visited. 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 >.