Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

haconst.h File Reference

Go to the source code of this file.

Defines

#define HACONST_H
#define TRUE   1
#define FALSE   0
#define TNT_BASE_OFFSET   (1)
#define TNT_BOUNDS_CHECK
#define TNT_USE_REGIONS
#define AbsFun(a)   (((a)<0)? -(a) : (a))
#define MinFun(a, b)   (((a)<(b))? (a) : (b) )
#define MaxFun(a, b)   (((a)>(b))? (a) : (b) )

Typedefs

typedef unsigned char Byte
typedef int Long
typedef int int_4
typedef unsigned int uint_4
typedef char int_1
typedef unsigned char uint_1
typedef short int_2
typedef int Subscript

Enumerations

enum  RunMode { RUN_FOREGROUND = 0, RUN_BACKGROUND = 1 }

Variables

const int True = 1
const int False = 0
const double PI = 3.14159265358979323846
const double BOHR_TO_ANG = 0.529177249
 Bohr to Angstroms.

const double HARTREE_TO_EV = 27.21121
 HARTREE TO eV at 298K.

const double HARTREE_TO_KT = 1059.642
 HARTREE TO kT at 298K.

const double HARTREE_TO_JOULES = 4.3597482e-18
 Joules per Hartree.

const double AU_TO_KG = 1.6605402e-27
 Kg per atomic unit mass.

const double EV_TO_KT = HARTREE_TO_KT/HARTREE_TO_EV
 EV to kT at 298K.

const double AVOG_NUM = 6.0221367e+23
 Avogadro constant.

const double CAL_TO_JOULES = 4.184
 Joules per calorie.

const double PLANCK = 6.6260755e-34
 Planck constant (Joules * sec).

const double LIGHT_SPEED_CM = 2.99792458e+10
 Speed of light (cm/s).

const double BOLTZ = 1.380658e-23
 Boltzmann constant (Joules per Kelvin).

const double HARTREE_TO_KCAL = AVOG_NUM*HARTREE_TO_JOULES/(1000.0*CAL_TO_JOULES)
const double KT_300_KCAL = 300.0 * BOLTZ * AVOG_NUM/(1000.0*CAL_TO_JOULES)
 kT in kcal/mol for 300K

const double Rad2Deg = 180.0/PI
const double Deg2Rad = PI/180.0
const int ItemCount = 8
const int AdvPickAtom = 0
const int AdvPickNumber = 1
const int AdvSelectCount = 2
const int AdvName = 3
const int AdvIdent = 4
const int AdvClass = 5
const int AdvImage = 6
const int AdvPickCoord = 7


Detailed Description

Application-wide Constants and Macros in HARLEM

Partially Derived from:

rasmol.h RasMol2 Molecular Graphics Roger Sayle, August 1995 Version 2.6

Author:
Igor Kurnikov
Date:
1999-2002

Generated on Tue Feb 17 02:03:09 2004 for harlem by doxygen 1.3.6