00001 #ifndef _MY_FBucleyLeverettGravityMob_ 00002 #define _MY_FBucleyLeverettGravityMob_ 00003 #include "sfunctions.h" 00004 #include "probefunction1d.h" 00005 00006 /*----------------- CLASS FBucleyLeverettGravityMob -------------- 00007 ----------------------------------------*/ 00008 00009 class FBucleyLeverettGravityMob : public Function1D 00010 { 00011 private: 00012 double _vo,_vw; 00013 double _MaxSw; 00014 double _Srw; 00015 double _c1; 00016 double _c2; 00017 00018 00019 // double m_a,m_b,m_c,m_d; /*!<Coefficients for the polynomium in the expression of the first derivative of the function*/ 00020 ProbeFunction1D *m_scanInf; 00021 protected: 00022 00023 public: 00024 FBucleyLeverettGravityMob(double vW,double vO,double srw,double sro); 00025 FBucleyLeverettGravityMob(FBucleyLeverettGravityMob& f); 00026 00027 virtual double operator()(double x,unsigned cmp=0) const; 00028 virtual void getMinMaxValues(double a, double b,double &min,double &max) const; 00029 00030 virtual ~FBucleyLeverettGravityMob(); 00031 00032 }; 00033 00034 #endif