Jpp
18.2.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
#ifndef RADIATION
26
static
double
O
() {
return
0.8584; }
27
static
double
H
() {
return
0.1082; }
28
static
double
Na
() {
return
0.0108; }
29
static
double
Cl
() {
return
0.0194; }
30
#else
31
static
double
O
() {
return
0.85630; }
32
static
double
H
() {
return
0.10790; }
33
static
double
Na
() {
return
0.01160; }
34
static
double
Cl
() {
return
0.02090; }
35
static
double
Ca() {
return
0.00045; }
36
static
double
Mg() {
return
0.00140; }
37
static
double
K
() {
return
0.00045; }
38
static
double
S () {
return
0.00100; }
39
#endif
40
};
41
}
42
43
#endif
K
static const uint32_t K[64]
Definition:
crypt.cc:77
JSIRENE::JSeaWater::O
static double O()
Estimated mass fractions of chemical elements in sea water.
Definition:
JSeaWater.hh:26
JSIRENE::JSeaWater::H
static double H()
Definition:
JSeaWater.hh:27
JCC.hh
Compiler version dependent expressions, macros, etc.
JSIRENE::JSeaWater::Cl
static double Cl()
Definition:
JSeaWater.hh:29
JSIRENE::JSeaWater::Na
static double Na()
Definition:
JSeaWater.hh:28
JSIRENE::JSeaWater
Sea water composition.
Definition:
JSeaWater.hh:19
Generated by
1.8.5