00001 #ifndef SORPISOROORGRUN_H 00002 #define SORPISOROORGRUN_H 00003 00004 #include <stdio.h> 00005 #include "genfile.h" 00006 00007 /** 00008 class contains Root (Grunewald) sorption isotherm 00009 00010 Grunewald, J., 2000, DELPHIN 4.1 - Documentation, Theoretical Fundamentals. 00011 TU Dresden, Dresden 00012 00013 19. 11. 2012, JK 00014 */ 00015 class sorpisorootgrun 00016 { 00017 public: 00018 sorpisorootgrun (void); 00019 ~sorpisorootgrun (void); 00020 00021 void read (XFILE *in); 00022 void print (FILE *out); 00023 00024 /// sorption isotherm value 00025 double sorption_isotherm (double rh); 00026 /// inverse sorption isotherm value 00027 double inverse_sorption_isotherm (double w); 00028 /// derivative of the sorption isotherm with respect to relative humidity 00029 double derivative_sorption_isotherm (double rh); 00030 /// derivative of the inverse sorption isotherm with respect to volumetric moisture content 00031 double derivative_inverse_sorption_isotherm (double w); 00032 00033 /// the hygroscopic moisture content 00034 double whyg; 00035 /// the maximum hygroscopic relative humidity 00036 double rhhyg; 00037 /// the saturated volumetric moisture content 00038 double wsat; 00039 }; 00040 00041 #endif