Reaktoro 
A unified framework for modeling chemically reactive systems
Constants.hpp
1 // Reaktoro is a unified framework for modeling chemically reactive systems.
2 //
3 // Copyright (C) 2014-2015 Allan Leal
4 //
5 // This program is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 
18 #pragma once
19 
20 namespace Reaktoro {
21 
23 const double universalGasConstant = 8.3144621;
24 
26 const double faradayConstant = 96485.3329;
27 
29 const double jouleToCalorie = 0.239005736;
30 
32 const double calorieToJoule = 4.184;
33 
35 const double barToPascal = 1.0e+05;
36 
38 const double cubicCentimeterToCubicMeter = 1.0e-06;
39 
41 const double cubicMeterToCubicCentimeter = 1.0e+06;
42 
43 } // namespace Reaktoro
const double universalGasConstant
The universal gas constant (in units of J/(mol*K))
Definition: Constants.hpp:23
const double barToPascal
The conversion factor from bar to pascal.
Definition: Constants.hpp:35
const double calorieToJoule
The constant factor that converts calorie to joule.
Definition: Constants.hpp:32
const double faradayConstant
The Faraday constant (in units of C/mol)
Definition: Constants.hpp:26
const double jouleToCalorie
The constant factor that converts joule to calorie.
Definition: Constants.hpp:29
const double cubicCentimeterToCubicMeter
The conversion factor from cubic centimeters to cubic meters.
Definition: Constants.hpp:38
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
const double cubicMeterToCubicCentimeter
The conversion factor from cubic meters to cubic centimeters.
Definition: Constants.hpp:41