Athena++/Atmosphere
Planetary Atmosphere Simulator
sodium_vapors.hpp
Go to the documentation of this file.
1 
9 #ifndef SODIUM_VAPORS_HPP
10 #define SODIUM_VAPORS_HPP
11 
12 // TODO check this equation
13 inline double sat_vapor_p_Na_H2S_Visscher(double T, double pH2S) {
14  double log10p = 8.55 - 13889./T - 0.5*log10(pH2S/1E5);
15  return 1.E5*pow(10., log10p);
16 }
17 
18 #endif /* end of include guard SODIUM_VAPORS_HPP */
19 
double sat_vapor_p_Na_H2S_Visscher(double T, double pH2S)