more fix on Ec/Ev.
[gss-tcad.git] / src / material / S-SiO2 / SiO2S_mob_Constant.cc
blob068e05e90cb34c0934bad0827d9e7c544ab9225a
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: SiO2 as semicondcutor
25 #include "PMI.h"
27 class GSS_Mob_Constant : public PMIS_Mobility
29 private:
30 // parameters for constant mobility
31 PetscScalar mumaxn ;
32 PetscScalar mumaxp ;
33 PetscScalar Exponentn ;
34 PetscScalar Exponentp ;
35 PetscScalar T0;
36 void Mob_Constant_Init()
38 mumaxn = 0.05*cm*cm/V/s;
39 mumaxp = 4.7050e+02*cm*cm/V/s;
40 Exponentn = 2.5;
41 Exponentp = 2.2;
42 T0 = 300*K;
45 public:
46 //---------------------------------------------------------------------------
47 // Electron mobility
48 PetscScalar ElecMob(const PetscScalar &p, const PetscScalar &n, const PetscScalar &Tl,
49 const PetscScalar &Ep, const PetscScalar &Et, const PetscScalar &Tn) const
51 return mumaxn*pow(Tl/T0,-Exponentn);
53 AutoDScalar ElecMob(const AutoDScalar &p, const AutoDScalar &n, const AutoDScalar &Tl,
54 const AutoDScalar &Ep, const AutoDScalar &Et, const AutoDScalar &Tn) const
56 return mumaxn*pow(Tl/T0,-Exponentn);
59 //---------------------------------------------------------------------------
60 // Hole mobility
61 PetscScalar HoleMob (const PetscScalar &p, const PetscScalar &n, const PetscScalar &Tl,
62 const PetscScalar &Ep, const PetscScalar &Et, const PetscScalar &Tp) const
64 return mumaxp*pow(Tl/T0,-Exponentp);
66 AutoDScalar HoleMob(const AutoDScalar &p, const AutoDScalar &n, const AutoDScalar &Tl,
67 const AutoDScalar &Ep, const AutoDScalar &Et, const AutoDScalar &Tp) const
69 return mumaxp*pow(Tl/T0,-Exponentp);
72 // constructor
73 public:
74 GSS_Mob_Constant(const PMIS_Environment &env):PMIS_Mobility(env)
76 Mob_Constant_Init();
80 ~GSS_Mob_Constant()
87 /*---------------------------------------------------------------
88 * the interface function called by material databse controller
90 extern "C"
92 PMIS_Mobility* PMIS_SiO2S_Mob_Default (const PMIS_Environment& env)
94 return new GSS_Mob_Constant(env);