00001 #ifndef DUANETALVAPORCOMPONENT_H 00002 #define DUANETALVAPORCOMPONENT_H 00003 00004 #include "Phase.h" 00005 00019 class DuanetalVaporPhase: public Phase { 00020 public: 00021 00023 DuanetalVaporPhase(void); 00025 virtual ~DuanetalVaporPhase(); 00027 virtual double getGibbs(); 00029 virtual double getEnthalpy(); 00031 virtual double getEntropy(); 00033 virtual double getCp(); 00035 virtual double getVolume(); 00037 virtual void setTk(double ltk); 00039 virtual void setPa(double lpa); 00040 protected: 00042 double pb; 00044 double *a; 00046 double sigma; 00048 double *sigmas; 00050 double epsilon; 00052 double *epsilonss; 00054 double **ljk; 00056 virtual int init(); 00058 double getZ(); 00060 double getlnphi(); 00062 void UpdateReferenceState(); 00064 double ZPdP(); 00066 const double vmtol; 00068 const double spectol; 00069 }; 00070 00071 #endif 00072 00073 00074 00075