#ifndef __JSIRENE__SEAWATER__ #define __JSIRENE__SEAWATER__ #include "JLang/JCC.hh" /** * \author mdejong */ namespace JSIRENE {} namespace JPP { using namespace JSIRENE; } namespace JSIRENE { /** * Sea water composition. */ class JSeaWater { public: /** * Estimated mass fractions of chemical elements in sea water */ static double O () { return 0.8584; } static double H () { return 0.1082; } static double Na() { return 0.0108; } static double Cl() { return 0.0194; } //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. /* static double O () { return 0.85630; } static double H () { return 0.10790; } static double Na() { return 0.01160; } static double Cl() { return 0.02090; } static double Ca() { return 0.00045; } static double Mg() { return 0.00140; } static double K () { return 0.00045; } static double S () { return 0.00100; } */ }; } #endif