20#ifndef UNSCALED_SATFUNC_CHECKPOINT_HPP_INCLUDED
21#define UNSCALED_SATFUNC_CHECKPOINT_HPP_INCLUDED
23#include <opm/simulators/utils/satfunc/SatfuncCheckPointInterface.hpp>
27#include <unordered_set>
31 template <
typename Scalar>
32 struct EclEpsScalingPointsInfo;
35namespace Opm::satfunc {
40namespace Opm::Satfunc::PhaseChecks {
45 template <
typename Scalar>
56 const satfunc::RawTableEndPoints*
rtep{
nullptr};
61 const satfunc::RawFunctionValues*
rfunc{
nullptr};
93 std::optional<std::size_t>
pointID(
const int cellIdx)
const override;
107 UnscaledEndPoints unscaledEndPoints_;
114 const std::vector<int>* region_{
nullptr};
117 mutable std::unordered_set<int> seen_{};
Callbacks for defining the consistency check point of a single region.
Definition UnscaledSatfuncCheckPoint.hpp:47
UnscaledSatfuncCheckPoint(const std::vector< int > *region, const int regIdxOffset, const UnscaledEndPoints &unscaledEndPoints)
Constructor.
Definition UnscaledSatfuncCheckPoint.hpp:74
void populateCheckPoint(const int cellIdx, EclEpsScalingPointsInfo< Scalar > &endPoints) const override
Populate check point values for a particular cell.
Definition UnscaledSatfuncCheckPoint.cpp:53
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.
Definition UnscaledSatfuncCheckPoint.cpp:38
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
Collection of saturation function end-points and function values extracted from tabulated saturation ...
Definition UnscaledSatfuncCheckPoint.hpp:52
const satfunc::RawFunctionValues * rfunc
Raw saturation function values.
Definition UnscaledSatfuncCheckPoint.hpp:61
const satfunc::RawTableEndPoints * rtep
Raw table end-points.
Definition UnscaledSatfuncCheckPoint.hpp:56