fix portability.
[gss-tcad.git] / src / include / phy_scale.h
blob3a8f3f266ad1558612fd41f6a238add57f983879
1 /*****************************************************************************/
2 /* 8888888 88888888 88888888 */
3 /* 8 8 8 */
4 /* 8 8 8 */
5 /* 8 88888888 88888888 */
6 /* 8 8888 8 8 */
7 /* 8 8 8 8 */
8 /* 888888 888888888 888888888 */
9 /* */
10 /* A Two-Dimensional General Purpose Semiconductor Simulator. */
11 /* */
12 /* GSS 0.4x */
13 /* Last update: Oct 17 2005 */
14 /* */
15 /* Gong Ding */
16 /* gdiso@ustc.edu */
17 /* NINT, No.69 P.O.Box, Xi'an City, China */
18 /* */
19 /*****************************************************************************/
20 #ifndef _phy_scale_h_
21 #define _phy_scale_h_
23 #include "typedef.h"
25 class PhysicalUnitScale
27 public:
28 // use as fundamental physical unit
29 double s_meter; // the length unit
30 double s_second; // the time unit
31 double s_volt; // potential unit
32 double s_coulomb; // the charge unit
33 double s_kelvin; // the temperature unit
34 public:
35 // set as induced physical unit
36 double s_micron;
37 double s_centimeter;
38 double s_kg; // the mass unit
39 double s_joule,s_eV; // energy unit
40 double s_W; // power unit
41 double s_ps;
42 double s_A;
43 double s_mA;
44 public:
45 PhysicalUnitScale();
46 void SetPhysicalUnitScale(double);
47 void SetPhysicalUnitScale(double,double);
48 void SetPhysicalUnitScale(double,double,double,double,double);
51 #endif