Jpp
17.3.0-rc.1
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JSirene
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
//Comment the first block and uncomment this one if you desire more accuracy (in exchange for time). Remember to do the same in JSirene.cc.
31
/*
32
static double O () { return 0.85630; }
33
static double H () { return 0.10790; }
34
static double Na() { return 0.01160; }
35
static double Cl() { return 0.02090; }
36
static double Ca() { return 0.00045; }
37
static double Mg() { return 0.00140; }
38
static double K () { return 0.00045; }
39
static double S () { return 0.00100; }
40
*/
41
42
};
43
}
44
45
#endif
JSIRENE::JSeaWater::O
static double O()
Estimated mass fractions of chemical elements in sea water.
Definition:
JSeaWater.hh:25
JSIRENE::JSeaWater::H
static double H()
Definition:
JSeaWater.hh:26
JCC.hh
Compiler version dependent expressions, macros, etc.
JSIRENE::JSeaWater::Cl
static double Cl()
Definition:
JSeaWater.hh:28
JSIRENE::JSeaWater::Na
static double Na()
Definition:
JSeaWater.hh:27
JSIRENE::JSeaWater
Sea water composition.
Definition:
JSeaWater.hh:19
Generated by
1.8.5