initial checkin, based on GSS 0.46 CVS
[gss-tcad.git] / src / material / SiGe / SiGe_basic.cc
blobe4792b25a6151f8f6431063bd07e12d344471c9f
1 /*****************************************************************************/
2 /* */
3 /* 8888888 88888888 88888888 */
4 /* 8 8 8 */
5 /* 8 8 8 */
6 /* 8 88888888 88888888 */
7 /* 8 8888 8 8 */
8 /* 8 8 8 8 */
9 /* 888888 888888888 888888888 */
10 /* */
11 /* A Two-Dimensional General Purpose Semiconductor Simulator. */
12 /* */
13 /* GSS material database Version 0.4 */
14 /* Last update: Feb 17, 2006 */
15 /* */
16 /* Gong Ding */
17 /* gdiso@ustc.edu */
18 /* NINT, No.69 P.O.Box, Xi'an City, China */
19 /* */
20 /*****************************************************************************/
22 // Material Type: Si(1-x)Ge(x).
25 #include "PMI.h"
27 class GSS_SiGe_BasicParameter : public PMIS_BasicParameter
29 private:
30 PetscScalar PERMITTI; // The relative dielectric permittivity of Si(1-x)Ge(x).
31 PetscScalar EPS_X1;
32 PetscScalar EPS_X2;
33 PetscScalar AFFINITY; // The electron affinity for the material.
34 PetscScalar AF_X1;
35 PetscScalar AF_X2;
36 PetscScalar PERMEABI; // The relative megnetic permeability of silicon.
37 PetscScalar DENSITY; // Specific mass density for the material.
39 void Basic_Init()
41 PERMITTI = 1.180000e+01;
42 EPS_X1 = 0.000000E+00;
43 EPS_X2 = 0.000000E+00;
44 AFFINITY = 4.170000e+00*eV;
45 AF_X1 = 0.000000E+00;
46 AF_X2 = 0.000000E+00;
47 PERMEABI = 1.0;
48 DENSITY = 2.320000e-03*kg*pow(cm,-3);
50 public:
51 PetscScalar Density(const PetscScalar &Tl) const
53 return DENSITY;
56 PetscScalar Permittivity() const
58 PetscScalar mole_x = ReadxMoleFraction();
59 return PERMITTI + EPS_X1*mole_x + EPS_X2*mole_x*mole_x;
62 PetscScalar Permeability() const
64 return PERMEABI;
67 PetscScalar Affinity(const PetscScalar &Tl) const
69 PetscScalar mole_x = ReadxMoleFraction();
70 return AFFINITY + AF_X1*mole_x + AF_X2*mole_x*mole_x;
73 public:
74 GSS_SiGe_BasicParameter(const PMIS_Environment &env):PMIS_BasicParameter(env)
76 Basic_Init();
78 ~GSS_SiGe_BasicParameter()
84 extern "C"
86 PMIS_BasicParameter* PMIS_SiGe_BasicParameter_Default (const PMIS_Environment& env)
88 return new GSS_SiGe_BasicParameter(env);