Update ChangeLog
[gss-tcad.git] / src / include / typedef.h
blob534c39055c3eca7d92c30389387f82d731563f9d
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: Sep 5, 2005 */
14 /* */
15 /* Gong Ding */
16 /* gdiso@ustc.edu */
17 /* NINT, No.69 P.O.Box, Xi'an City, China */
18 /* */
19 /*****************************************************************************/
21 /* */
22 /* global typedef header */
23 /* */
25 #ifndef _typedef_h_
26 #define _typedef_h_
29 /******************************************************************************/
30 /**************************** TYPE DEFINITIONS *******************************/
31 /******************************************************************************/
33 typedef unsigned int UINT;
35 const int ERROR = 1;
37 the default precision for float point arithmetic is double
40 #define DPREC
41 typedef double REAL;
43 // PETSC_SCALAR is double precision
44 #define DP_PETSC_SCALAR
46 // PETSC_SCALAR is long double precision
47 #define LP_PETSC_SCALAR
49 #endif