MURE
Loading...
Searching...
No Matches
MureConstant.hxx
Go to the documentation of this file.
1/*
2 This file is part of MURE,
3 Copyright (C) 2007-2021 MURE developers.
4
5 MURE is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser 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 MURE 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 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with MURE. If not, see <http://www.gnu.org/licenses/>.
17*/
18
19#ifndef _MURECONSTANT_HXX_
20#define _MURECONSTANT_HXX_
21
22#include <cmath>
23const double e_charge = 1.602176634e-19, eV2Joule = e_charge; //Coulomb since 2019/05/20
24const double Kb = 1.380649e-23 / (e_charge * 1e6); //Boltzamann cte from J/K to MeV/K (2018 CODATA);
25const double AVOGADRO = 6.02214076e23 ; //2018 CODATA value
26const double AtomicMassUnit_kg = 1. / (AVOGADRO * 1e3) ; //kg 2018 CODATA value
27const double Pi = M_PI;
28const double EPSILON = 1e-10;
29const double Meter2Centimeter = 1e2;
30const double eV2MeV = 1.e-6;
31const double s2shakes = 1e-8;
32const double day = 24 * 3600; //s
33const double year = 365.25 * day; //s this is a julian mean year ; 365.2422 is recommended by IUPAC 2011
34const double month = year / 12 ; //s
35#endif
const double eV2MeV
Definition MureConstant.hxx:30
const double e_charge
Definition MureConstant.hxx:23
const double year
Definition MureConstant.hxx:33
const double EPSILON
Definition MureConstant.hxx:28
const double AVOGADRO
Definition MureConstant.hxx:25
const double day
Definition MureConstant.hxx:32
const double s2shakes
Definition MureConstant.hxx:31
const double Meter2Centimeter
Definition MureConstant.hxx:29
const double eV2Joule
Definition MureConstant.hxx:23
const double AtomicMassUnit_kg
Definition MureConstant.hxx:26
const double Pi
Definition MureConstant.hxx:27
const double Kb
Definition MureConstant.hxx:24
const double month
Definition MureConstant.hxx:34

MURE Project, documentation generated by Doxygen 1.9.7 - Fri Jan 19 2024