Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JSeaWater.hh
Go to the documentation of this file.
1 #ifndef __JSIRENE__SEAWATER__
2 #define __JSIRENE__SEAWATER__
3 
4 #include "JLang/JCC.hh"
5 
6 /**
7  * \author mdejong
8  */
9 
10 namespace JSIRENE {}
11 namespace JPP { using namespace JSIRENE; }
12 
13 namespace JSIRENE {
14 
15 
16  /**
17  * Sea water composition.
18  */
19  class JSeaWater
20  {
21  public:
22  /**
23  * Estimated mass fractions of chemical elements in sea water
24  */
25  static double O () { return 0.8584; }
26  static double H () { return 0.1082; }
27  static double Na() { return 0.0108; }
28  static double Cl() { return 0.0194; }
29  };
30 }
31 
32 #endif
static double O()
Estimated mass fractions of chemical elements in sea water.
Definition: JSeaWater.hh:25
static double H()
Definition: JSeaWater.hh:26
Compiler version dependent expressions, macros, etc.
static double Cl()
Definition: JSeaWater.hh:28
static double Na()
Definition: JSeaWater.hh:27
Sea water composition.
Definition: JSeaWater.hh:19