20 #ifndef OPM_RELPERMDIAGNOSTICS_HEADER_INCLUDED
21 #define OPM_RELPERMDIAGNOSTICS_HEADER_INCLUDED
26 #include <opm/material/fluidmatrixinteractions/EclEpsScalingPoints.hpp>
49 template <
class CartesianIndexMapper>
50 void diagnosis(
const EclipseState& eclState,
51 const CartesianIndexMapper& cartesianIndexMapper);
62 FluidSystem fluidSystem_;
64 enum SaturationFunctionFamily {
70 SaturationFunctionFamily satFamily_;
72 std::vector<EclEpsScalingPointsInfo<double> > unscaledEpsInfo_;
73 std::vector<EclEpsScalingPointsInfo<double> > scaledEpsInfo_;
78 bool phaseCheck_(
const EclipseState& es);
81 void satFamilyCheck_(
const EclipseState& eclState);
84 void tableCheck_(
const EclipseState& eclState);
87 void unscaledEndPointsCheck_(
const EclipseState& eclState);
89 template <
class CartesianIndexMapper>
90 void scaledEndPointsCheck_(
const EclipseState& eclState,
91 const CartesianIndexMapper& cartesianIndexMapper);
94 void swofTableCheck_(
const SwofTable& swofTables,
96 void sgofTableCheck_(
const SgofTable& sgofTables,
98 void slgofTableCheck_(
const SlgofTable& slgofTables,
100 void swfnTableCheck_(
const SwfnTable& swfnTables,
101 const int satnumIdx);
102 void sgfnTableCheck_(
const SgfnTable& sgfnTables,
103 const int satnumIdx);
104 void sof3TableCheck_(
const Sof3Table& sof3Tables,
105 const int satnumIdx);
106 void sof2TableCheck_(
const Sof2Table& sof2Tables,
107 const int satnumIdx);
108 void sgwfnTableCheck_(
const SgwfnTable& sgwfnTables,
109 const int satnumIdx);
111 void sgcwmisTableCheck_(
const SgcwmisTable& sgcwmisTables,
112 const int satnumIdx);
113 void sorwmisTableCheck_(
const SorwmisTable& sorwmisTables,
114 const int satnumIdx);
115 void ssfnTableCheck_(
const SsfnTable& ssfnTables,
116 const int satnumIdx);
117 void miscTableCheck_(
const MiscTable& miscTables,
118 const int miscnumIdx);
119 void msfnTableCheck_(
const MsfnTable& msfnTables,
120 const int satnumIdx);
This class is intend to be a relperm diagnostics, to detect wrong input of relperm table and endpoint...
Definition: RelpermDiagnostics.hpp:42
void diagnosis(const EclipseState &eclState, const CartesianIndexMapper &cartesianIndexMapper)
This function is used to diagnosis relperm in eclipse data file.
Definition: RelpermDiagnostics.cpp:750
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: BlackoilPhases.hpp:27