CCL Home Page
Up Directory CCL utility.h
/*============================================================================*/
/* FILENAME: UTILITY.H
/* PURPOSE: DEFINES AND DECLARATIONS FOR UTILITY LIBRARY ROUTINES.
/* WRITTEN: M.V.GRIESHABER
/* LAST MODIFICATION: 27 MARCH 1992 MVG (ADDITION OF FN_* ROUTINES)
/*============================================================================*/
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

#define NULL_ENTRY 1		/* RETURN STATUS; NO CHARACTERS ENTERED. */
#define ABORT_ENTRY 2		/* RETURN STATUS; ABORT CHARACTER ENTERED. */
#define VALID_ENTRY 3		/* RETURN STATUS; SOMETHING VALID ENTERED. */

#define ABORT_CHARACTER '^'	/* CHARACTER ENTERED TO ABORT RESPONSE. */

#define NULL_OK 1		/* FLAG; NULL RESPONSE IS ALLOWED. */
#define NULL_NOT_OK 0		/* FLAG; NULL RESPONSE IS NOT ALLOWED. */

#define RANGE_CHECK 1		/* FLAG; CHECK MIN/MAX NUMBER RANGE. */
#define NO_RANGE_CHECK 0	/* FLAG; NO CHECKING OF NUMBER RANGE. */

#define PROGRAM_SUCCEEDED 0	/* TOP LEVEL EXIT STATUS VALUE. */
#define PROGRAM_FAILED 1	/* TOP LEVEL EXIT STATUS VALUE. */

#define DEGREES_PER_RADIAN 57.2957795147
#define RADIANS_PER_DEGREE  0.0174532925
#define ANGSTROMS_PER_AU 0.529177249
#define AUS_PER_ANGSTROM 1.889725989
#define ANGSTROMS_PER_BOHR ANGSTROMS_PER_AU
#define BOHRS_PER_ANGSTROM AUS_PER_ANGSTROM
#define PI M_PI			/* MORE CONVENTIONAL NAME FOR PI. */

#define TRUE 1
#define FALSE 0

Modified: Tue Apr 14 16:00:00 1992 GMT
Page accessed 5727 times since Sat Apr 17 21:32:57 1999 GMT