31 const double Smax,
const double Pc_max)
46 virtual double getSaturation(
const double capillary_pressure)
const = 0;
49 virtual double getdPcdS(
const double saturation)
const = 0;
53 virtual double getd2PcdS2(
const double saturation)
const = 0;
Base class of capillary pressure models.
virtual std::string getName() const =0
Get model name.
const double _saturation_nonwet_r
const double _saturation_r
Residual saturation.
const double _saturation_max
Maximum saturation.
virtual double getd2PcdS2(const double saturation) const =0
virtual ~CapillaryPressureSaturation()=default
const double _pc_max
Maximum capillary pressure.
CapillaryPressureSaturation(const double Sr, const double Sg_r, const double Smax, const double Pc_max)
virtual double getdPcdS(const double saturation) const =0
Get the derivative of the capillary pressure with respect to saturation.
virtual double getCapillaryPressure(const double saturation) const =0
Get capillary pressure.
virtual double getSaturation(const double capillary_pressure) const =0
Get saturation.
const double _minor_offset