20#ifndef SCALED_SATFUNC_CHECKPOINT_HPP_INCLUDED
21#define SCALED_SATFUNC_CHECKPOINT_HPP_INCLUDED
23#include <opm/simulators/utils/satfunc/SatfuncCheckPointInterface.hpp>
24#include <opm/simulators/utils/satfunc/UnscaledSatfuncCheckPoint.hpp>
34 template <
typename Scalar>
35 struct EclEpsScalingPointsInfo;
38namespace Opm::Satfunc::PhaseChecks {
44 template <
typename Scalar>
66 const EclipseState* eclipseState,
70 , eclipseState_ { eclipseState }
72 , localToGlobal_ { localToGlobal }
83 return { this->localToGlobal_(
cellIdx) };
101 const EclipseState* eclipseState_{
nullptr};
Callbacks for defining the scaled saturation function consistency check point of a single active grid...
Definition ScaledSatfuncCheckPoint.hpp:46
std::function< std::size_t(const int)> LocalToGlobal
Callback for translating active cell index to globally unique point ID.
Definition ScaledSatfuncCheckPoint.hpp:50
ScaledSatfuncCheckPoint(const UnscaledSatfuncCheckPoint< Scalar > &unscaled, const EclipseState *eclipseState, const EclEpsGridProperties *epsGridProps, const LocalToGlobal &localToGlobal)
Constructor.
Definition ScaledSatfuncCheckPoint.hpp:65
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.
Definition ScaledSatfuncCheckPoint.hpp:81
void populateCheckPoint(const int cellIdx, EclEpsScalingPointsInfo< Scalar > &endPoints) const override
Populate check point values for a particular cell.
Definition ScaledSatfuncCheckPoint.cpp:35
Callbacks for defining the consistency check point of a single region.
Definition UnscaledSatfuncCheckPoint.hpp:47
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242
Definition SatfuncCheckPointInterface.hpp:28
Callback protocol for single saturation function consistency check point.
Definition SatfuncCheckPointInterface.hpp:40