Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
physconst.cpp
Go to the documentation of this file.
1/*
2 * This file is part of Vlasiator.
3 * Copyright 2010-2016 Finnish Meteorological Institute
4 *
5 * For details of usage, see the COPYING file and read the "Rules of the Road"
6 * at http://www.physics.helsinki.fi/vlasiator/
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 */
22#include "physconst.h"
23
24const double PhysicalConstantsCGS::me = 9.1094e-28; // g
25const double PhysicalConstantsCGS::mp = 1.6726231e-24; // g
26const double PhysicalConstantsCGS::mpi0 = 2.406175207e-25; // g
27const double PhysicalConstantsCGS::e = 4.8032068e-10;// statC / electro static unit
28const double PhysicalConstantsCGS::c = 29979245800.;// cm/s
29const double PhysicalConstantsCGS::eps0 = 1;
30const double PhysicalConstantsCGS::mu0 = 1;
31const double PhysicalConstantsCGS::thomcs = 6.65245e-25; // cm^2
32const double PhysicalConstantsCGS::h = 6.6260755e-27; // erg s
33const double PhysicalConstantsCGS::hbar = 1.054572669e-27; // erg s
34const double PhysicalConstantsCGS::k = 1.380658e-16; // erg/Kelvin
35const double PhysicalConstantsCGS::r0 = 2.8179e-13; // cm
36const double PhysicalConstantsCGS::G = 6.67428e-8; // Gravitationskonstante cm^3/(g sec^2)
37
38const double PhysicalConstantsSI::me = 9.1094e-31; // kg
39const double PhysicalConstantsSI::mp = 1.6726e-27; // kg
40const double PhysicalConstantsSI::mpi0 = 2.406176e-28; // kg
41const double PhysicalConstantsSI::e = 1.6022e-19; // C
42const double PhysicalConstantsSI::c = 299792458.;// m/s
43const double PhysicalConstantsSI::eps0 = 8.854187817620e-12; // F/m;
44const double PhysicalConstantsSI::mu0 = 1.2566370614e-6; // H / m
45const double PhysicalConstantsSI::thomcs = 6.65245e-29; // m^2
46const double PhysicalConstantsSI::h = 6.6260755e-34; // J s
47const double PhysicalConstantsSI::hbar = 1.054572669e-34; // J s
48const double PhysicalConstantsSI::k = 1.380658e-23; // J / K
49const double PhysicalConstantsSI::r0 = 2.8179e-15; // m
50const double PhysicalConstantsSI::G = 6.67428e-11; // m^3/(kg s^2)
51
52const double PhysicalConstantsnorm::me = 1;
53const double PhysicalConstantsnorm::mp = 1836.15;
54const double PhysicalConstantsnorm::mpi0 = 264.14;
55const double PhysicalConstantsnorm::e = 1;
56const double PhysicalConstantsnorm::c = 1;
57const double PhysicalConstantsnorm::eps0 = .07957747154594766788;
58const double PhysicalConstantsnorm::mu0 = 12.56637061435917295376;
59const double PhysicalConstantsnorm::thomcs = 3.488e43;
60const double PhysicalConstantsnorm::h = 861.022579738;
61const double PhysicalConstantsnorm::hbar = 137.035999679;
62const double PhysicalConstantsnorm::k = 1;
63const double PhysicalConstantsnorm::r0 = 2.0405e21;
64const double PhysicalConstantsnorm::G = 1;
static const double h
Definition physconst.h:39
static const double mu0
Definition physconst.h:37
static const double hbar
Definition physconst.h:40
static const double mp
Definition physconst.h:32
static const double eps0
Definition physconst.h:36
static const double thomcs
Definition physconst.h:38
static const double me
Definition physconst.h:31
static const double k
Definition physconst.h:41
static const double G
Definition physconst.h:43
static const double e
Definition physconst.h:34
static const double c
Definition physconst.h:35
static const double mpi0
Definition physconst.h:33
static const double r0
Definition physconst.h:42
static const double thomcs
Definition physconst.h:59
static const double mp
Definition physconst.h:53
static const double r0
Definition physconst.h:63
static const double eps0
Definition physconst.h:57
static const double e
Definition physconst.h:55
static const double c
Definition physconst.h:56
static const double mu0
Definition physconst.h:58
static const double hbar
Definition physconst.h:61
static const double me
Definition physconst.h:52
static const double h
Definition physconst.h:60
static const double k
Definition physconst.h:62
static const double mpi0
Definition physconst.h:54
static const double G
Definition physconst.h:64
static const double r0
Definition physconst.h:84
static const double me
Definition physconst.h:73
static const double G
Definition physconst.h:85
static const double k
Definition physconst.h:83
static const double hbar
Definition physconst.h:82
static const double eps0
Definition physconst.h:78
static const double mpi0
Definition physconst.h:75
static const double c
Definition physconst.h:77
static const double thomcs
Definition physconst.h:80
static const double mu0
Definition physconst.h:79
static const double mp
Definition physconst.h:74
static const double h
Definition physconst.h:81
static const double e
Definition physconst.h:76