dimensions.h
Go to the documentation of this file.
1 //
2 // This file is part of the FFEA simulation package
3 //
4 // Copyright (c) by the Theory and Development FFEA teams,
5 // as they appear in the README.md file.
6 //
7 // FFEA is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // FFEA is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with FFEA. If not, see <http://www.gnu.org/licenses/>.
19 //
20 // To help us fund FFEA development, we humbly ask that you cite
21 // the research papers on the package.
22 //
23 
24 #ifndef DIMENSIONS_H_INCLUDED
25 #define DIMENSIONS_H_INCLUDED
26 
27 #include "mat_vec_types.h"
28 
29 
30 namespace mesoDimensions {
31  const scalar length = 1.7e-10;
32  const scalar Energy = 4.141945559999999e-21;
33  const scalar mass = 1.994307387553024e-26;
34  const scalar charge = 1.602176565e-19;
35  const scalar area = 2.89e-20;
36  const scalar volume = 4.913e-30;
37  const scalar force = 2.4364705882352941e-11;
38  const scalar time = 3.7302915560886126e-13;
39  const scalar pressure = 8.4305832688784826e8;
40  const scalar velocity = 4.5572845297447225e2;
41 }
42 
44 namespace atomicDimensions {
45  const scalar length = 5.2917721092e-11; /* length */
46  const scalar Energy = 4.35974417e-18; /* Energy */
47  const scalar mass = 9.10938291e-31; /* mass */
48  const scalar charge = 1.602176565e-19; /* charge */
49  const scalar area = 2.8002852055707021e-21; /* area */
50  const scalar volume = 1.4818471148644432e-31; /* volume */
51  const scalar force = 8.2387224544692213e-08; /* force */
52  const scalar time = 2.418884326505e-17; /* time */
53  const scalar pressure = 2.9421912e13; /* pressure */
54  const scalar velocity = 2.1876912633e6; /* velocity */
55 }
56 
57 #endif
atomic units
Definition: dimensions.h:44
Definition: dimensions.h:30
const scalar time
time = l*sqrt(m/E)
Definition: dimensions.h:38
const scalar volume
volume = l**3
Definition: dimensions.h:36
const scalar force
force = E/l
Definition: dimensions.h:37
const scalar velocity
velocity = sqrt(E/m)
Definition: dimensions.h:40
const scalar Energy
Energy = KbT, T=300K.
Definition: dimensions.h:32
const scalar area
area = l**2
Definition: dimensions.h:35
const scalar pressure
pressure = E/l**3
Definition: dimensions.h:39
const scalar length
length = C atom VdW radius
Definition: dimensions.h:31
const scalar mass
mass = C atom mass
Definition: dimensions.h:33
double scalar
Definition: mat_vec_types.h:36
const scalar charge
charge = electron charge
Definition: dimensions.h:34