20 #ifndef OPM_RELPERMDIAGNOSTICS_HEADER_INCLUDED 21 #define OPM_RELPERMDIAGNOSTICS_HEADER_INCLUDED 26 #include <opm/material/fluidmatrixinteractions/EclEpsScalingPoints.hpp> 31 template <
typename Gr
id>
class LevelCartesianIndexMapper;
58 template <
class LevelCartesianIndexMapper>
59 void diagnosis(
const EclipseState& eclState,
71 FluidSystem fluidSystem_;
73 enum SaturationFunctionFamily {
80 SaturationFunctionFamily satFamily_{NoFamily};
82 std::vector<EclEpsScalingPointsInfo<double> > unscaledEpsInfo_{};
83 std::vector<EclEpsScalingPointsInfo<double> > scaledEpsInfo_{};
88 bool phaseCheck_(
const EclipseState& es);
91 void satFamilyCheck_(
const EclipseState& eclState);
94 void tableCheck_(
const EclipseState& eclState);
97 void unscaledEndPointsCheck_(
const EclipseState& eclState);
99 template <
class LevelCartesianIndexMapper>
100 void scaledEndPointsCheck_(
const EclipseState& eclState,
104 template<
class TableType>
105 void checkTable_(
const TableType& tables,
106 const std::size_t satnumIdx);
108 void analyzeFamily(
const EclipseState& eclState,
109 const std::array<bool,3>& family);
111 void blackoilChecks(
const EclipseState& eclState,
112 const std::size_t satnumIdx);
117 #endif // OPM_RELPERMDIAGNOSTICS_HEADER_INCLUDED void diagnosis(const EclipseState &eclState, const LevelCartesianIndexMapper &levelCartesianIndexMapper)
This function is used to diagnosis relperm in eclipse data file.
Definition: RelpermDiagnostics.cpp:907
Definition: EclGenericWriter.hpp:52
Structs needed for tpfalinearizer and its gpuparams struct extracted to be defined in one place that ...
Definition: blackoilbioeffectsmodules.hh:45
This class is intend to be a relperm diagnostics, to detect wrong input of relperm table and endpoint...
Definition: RelpermDiagnostics.hpp:50