

/*
	Header file for access 
*/

#include "./libc/stdvadar.h"
#include <stdio.h>

#define MODULE		"AREA"

#define	ACCESS_FLAG	0
#define CONTACT_FLAG	1
#define	COV		0
#define	VAN		1

#define NUM_ATM		27

#define	C4		0
#define	C4H		1
#define	C4HH		2
#define	C4HHH		3
#define	C3		4
#define	C3H		6
#define	C3HH		7
#define	O1		8
#define	O2H		9
#define O1O2H		10
#define N4		11
#define N4H		12
#define N4HH		13
#define N4HHH		14
#define N3		15
#define N3H		16
#define N3HH		17
#define S2		18
#define S2H		19
#define P4		20
#define O1N3HH		21
#define Z2ION		22
#define FE		23
#define C4D             24
#define C4DD            25
#define C4DDD           26

#define FRACERROR       0.05      /* fractinal error for any atom */




/*..........................................................................*/
/* define macros 
*/
#define EQUAL(a,b)		( 0 == strcmp(a,b) )


/*..........................................................................*/
/* global variables 
*/

extern int 	lastNum, radType, allChains;
extern float 	probeRadius;
extern float	radius[NUM_RAD_TYPES][NUM_ATM];
extern float	contactTotal, accessTotal;
extern FILE 	*atomfp, *resfp, *accessfp, *contactfp;
extern char	lastName[MAX_NAME_LEN];
extern char 	tmp_input[MAX_FNAME_LEN];
extern char 	tmp_output_pdb[MAX_FNAME_LEN];
extern char 	tmp_output_pdb2[MAX_FNAME_LEN];
extern char 	tmp_access[MAX_FNAME_LEN];
extern char 	tmp_contact[MAX_FNAME_LEN];
extern char	pdbFname[MAX_FNAME_LEN];
extern char	resultsFname[MAX_FNAME_LEN];
extern char     atomFname[MAX_FNAME_LEN];
extern char     asaFname[MAX_FNAME_LEN];



extern FILE     *asafp;  // added by B. Han 2010.9.13


