Loading...
Searching...
No Matches
atomicConstants.H
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration |
5 \\ / A nd | www.openfoam.com
6 \\/ M anipulation |
7-------------------------------------------------------------------------------
8 Copyright (C) 2011 OpenFOAM Foundation
9 Copyright (C) 2020 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27Namespace
28 Foam::constant::atomic
29
30Description
31 Atomic constants
32
33\*---------------------------------------------------------------------------*/
34
35#ifndef atomicConstants_H
36#define atomicConstants_H
37
38#include "dimensionedScalar.H"
39
40// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41
42namespace Foam
43{
44namespace constant
45{
46namespace atomic
47{
49// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50
51 //- Group name for atomic constants
52 constexpr const char* const group = "atomic";
53
54 //- Fine-structure constant: default SI units: []
55 extern const dimensionedScalar alpha;
56
57 //- Rydberg constant: default SI units: [1/m]
58 extern const dimensionedScalar Rinf;
59
60 //- Bohr radius: default SI units: [m]
61 extern const dimensionedScalar a0;
62
63 //- Classical electron radius: default SI units: [m]
64 extern const dimensionedScalar re;
65
66 //- Hartree energy: default SI units: [J]
67 extern const dimensionedScalar Eh;
68
69
70// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
71
72} // End namespace atomic
73} // End namespace constant
74} // End namespace Foam
75
76// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
77
78#endif
79
80// ************************************************************************* //
Atomic constants.
const dimensionedScalar re
Classical electron radius: default SI units: [m].
const dimensionedScalar Eh
Hartree energy: default SI units: [J].
const dimensionedScalar Rinf
Rydberg constant: default SI units: [1/m].
const dimensionedScalar a0
Bohr radius: default SI units: [m].
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
constexpr const char *const group
Group name for atomic constants.
Different types of constants.
Namespace for OpenFOAM.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.