Memosa-FVM  0.2
PhysicsConstant.h
Go to the documentation of this file.
1 // This file os part of FVM
2 // Copyright (c) 2012 FVM Authors
3 // See LICENSE file for terms.
4 
5 #ifndef _PHYSICSCONSTANT_H_
6 #define _PHYSICSCONSTANT_H_
7 
8 #include <math.h>
9 
10 #define PI M_PI
11 
12 #define K_SI 1.3806503e-23
13 
14 #define H_SI 6.626068e-34 //m2.kg.s-1 - plancks constant
15 
16 #define ME 9.10938188e-31 //kg - mass of electron
17 
18 #define QE 1.60217646e-19 //C - electron charge
19 
20 #define E0_SI 8.854187826e-12 //F.m-1 - permittivity vacuum
21 
22 #define HBAR_SI (H_SI/(2*PI))
23 
24 #endif