1 /*****************************************************************************/
3 /* 8888888 88888888 88888888 */
6 /* 8 88888888 88888888 */
9 /* 888888 888888888 888888888 */
11 /* A Two-Dimensional General Purpose Semiconductor Simulator. */
13 /* GSS material database Version 0.4 */
14 /* Last update: Feb 17, 2006 */
18 /* NINT, No.69 P.O.Box, Xi'an City, China */
20 /*****************************************************************************/
26 class GSS_PML_BasicParameter
: public PMIP_BasicParameter
29 PetscScalar PERMITTI
; // The relative dielectric permittivity of PML.
30 PetscScalar PERMEABI
; // The relative megnetic permeability of PML.
31 PetscScalar AFFINITY
; // The electron affinity for the material.
32 PetscScalar DENSITY
; // Specific mass density for the material.
35 PERMITTI
= 1.0;//corrected by zhangxih
38 DENSITY
= 0.0*kg
*pow(cm
,-3);//corrected by zhangxih
41 PetscScalar
Density (const PetscScalar
&Tl
) const { return DENSITY
; }
42 PetscScalar
Permittivity () const { return PERMITTI
; }
43 PetscScalar
Permeability () const { return PERMEABI
; }
44 PetscScalar
Affinity (const PetscScalar
&Tl
) const { return AFFINITY
; }
45 GSS_PML_BasicParameter(const PMIP_Environment
&env
):PMIP_BasicParameter(env
)
49 ~GSS_PML_BasicParameter()
57 PMIP_BasicParameter
* PMIP_PML_BasicParameter_Default (const PMIP_Environment
& env
)
59 return new GSS_PML_BasicParameter(env
);