20#ifndef OPM_RELPERMDIAGNOSTICS_HEADER_INCLUDED
21#define OPM_RELPERMDIAGNOSTICS_HEADER_INCLUDED
26#include <opm/material/fluidmatrixinteractions/EclEpsScalingPoints.hpp>
57 template <
class CartesianIndexMapper>
58 void diagnosis(
const EclipseState& eclState,
59 const CartesianIndexMapper& cartesianIndexMapper);
70 FluidSystem fluidSystem_;
72 enum SaturationFunctionFamily {
79 SaturationFunctionFamily satFamily_;
81 std::vector<EclEpsScalingPointsInfo<double> > unscaledEpsInfo_;
82 std::vector<EclEpsScalingPointsInfo<double> > scaledEpsInfo_;
87 bool phaseCheck_(
const EclipseState& es);
90 void satFamilyCheck_(
const EclipseState& eclState);
93 void tableCheck_(
const EclipseState& eclState);
96 void unscaledEndPointsCheck_(
const EclipseState& eclState);
98 template <
class CartesianIndexMapper>
99 void scaledEndPointsCheck_(
const EclipseState& eclState,
100 const CartesianIndexMapper& cartesianIndexMapper);
103 void swofTableCheck_(
const SwofTable& swofTables,
104 const int satnumIdx);
105 void sgofTableCheck_(
const SgofTable& sgofTables,
106 const int satnumIdx);
107 void slgofTableCheck_(
const SlgofTable& slgofTables,
108 const int satnumIdx);
109 void swfnTableCheck_(
const SwfnTable& swfnTables,
110 const int satnumIdx);
111 void sgfnTableCheck_(
const SgfnTable& sgfnTables,
112 const int satnumIdx);
113 void wsfTableCheck_(
const WsfTable& wsfTables,
114 const int satnumIdx);
115 void gsfTableCheck_(
const GsfTable& gsfTables,
116 const int satnumIdx);
117 void sof3TableCheck_(
const Sof3Table& sof3Tables,
118 const int satnumIdx);
119 void sof2TableCheck_(
const Sof2Table& sof2Tables,
120 const int satnumIdx);
121 void sgwfnTableCheck_(
const SgwfnTable& sgwfnTables,
122 const int satnumIdx);
124 void sgcwmisTableCheck_(
const SgcwmisTable& sgcwmisTables,
125 const int satnumIdx);
126 void sorwmisTableCheck_(
const SorwmisTable& sorwmisTables,
127 const int satnumIdx);
128 void ssfnTableCheck_(
const SsfnTable& ssfnTables,
129 const int satnumIdx);
130 void miscTableCheck_(
const MiscTable& miscTables,
131 const int miscnumIdx);
132 void msfnTableCheck_(
const MsfnTable& msfnTables,
133 const int satnumIdx);
This class is intend to be a relperm diagnostics, to detect wrong input of relperm table and endpoint...
Definition: RelpermDiagnostics.hpp:50
void diagnosis(const EclipseState &eclState, const CartesianIndexMapper &cartesianIndexMapper)
This function is used to diagnosis relperm in eclipse data file.
Definition: RelpermDiagnostics.cpp:823
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: BlackoilPhases.hpp:27