Qucs-core
0.0.19
|
00001 /* 00002 * constants.h - global natural constant header file 00003 * 00004 * Copyright (C) 2004, 2005 Stefan Jahn <stefan@lkcc.org> 00005 * Copyright (C) 2015 Guilherme Brondani Torri <guitorri@gmail.com> 00006 * 00007 * This is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2, or (at your option) 00010 * any later version. 00011 * 00012 * This software is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this package; see the file COPYING. If not, write to 00019 * the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, 00020 * Boston, MA 02110-1301, USA. 00021 * 00022 * $Id$ 00023 * 00024 */ 00025 00033 #ifndef __CONSTANTS_H__ 00034 #define __CONSTANTS_H__ 00035 00036 #include "consts.h" 00037 #include "precision.h" 00038 00039 namespace qucs { 00040 00048 static const double C0 = 299792458.0; 00050 static const double MU0 = 12.566370614e-7; 00052 static const double E0 = 8.854187817e-12; 00054 static const double Z0 = 376.73031346958504364963; 00058 static const double Hp = 6.626069311e-34; 00060 static const double K = -273.15; 00062 static const double T0 = 290; 00063 00065 static const double kB = 1.380650524e-23; 00067 static const double Q_e = 1.6021765314e-19; 00069 static const double kBoverQ = 0.86173433260414314916e-4; 00071 static const double QoverkB = 1.16045045690360379713e+4; 00072 00074 static const double ESiO2 = 3.9; 00076 static const double ESi = 11.7; 00078 static const double EGe = 15.8; 00080 static const double EGaAs = 13.1; 00082 static const double NiSi = 1.45e16; 00084 static const double NiGe = 2.40e19; 00086 static const double NiGaAs = 9.00e12; 00088 static const double EgSi = 1.11; 00092 static const double EgSchottky = 0.69; 00094 static const double EgGe = 0.67; 00096 static const double EgGaAs = 1.43; 00098 static const double Eg0Si = 1.16; 00099 00103 static const double GMin = NR_TINY; 00104 00109 } // namespace qucs 00110 00111 #endif /* __CONSTANTS_H__ */