00001 #ifndef ISOTHERM_H 00002 #define ISOTHERM_H 00003 00004 #include "aliast.h" 00005 #include "genfile.h" 00006 #include "sorpisohansen.h" 00007 #include "sorpisorootgrun.h" 00008 00009 /** 00010 class contains tools for any isotherms description and manipulation 00011 00012 JK, 2.10.2013 00013 */ 00014 class isotherm 00015 { 00016 public: 00017 isotherm (); // constructor 00018 ~isotherm (); // destructor 00019 00020 void read (XFILE *in); 00021 void print (FILE *out); 00022 00023 double isotherm_value (double in); 00024 double inverse_isotherm_value (double in); 00025 double derivative_isotherm_value (double in); 00026 double derivative_inverse_isotherm_value (double in); 00027 00028 00029 /// type of isotherm 00030 isotypet isothermtype; 00031 00032 /// general function for isotherm given by set of data 00033 gfunct data; 00034 00035 /// Hansen sorption isotherm 00036 sorpisohansen hanseni; 00037 /// Root sorption isotherm 00038 sorpisorootgrun rooti; 00039 00040 }; 00041 00042 #endif