/*
 * SUMMARY:      sizeofnt.h - header for number types defined in DHSVM
 * USAGE:        Part of DHSVM
 *
 * AUTHOR:       Bart Nijssen
 * ORG:          University of Washington, Department of Civil Engineering
 * E-MAIL:       nijssen@u.washington.edu
 * ORIG-DATE:    Apr-1996
 * Last Change: Tue Apr  3 10:20:25 2001 by Scott Waichler <waichler@tuff.pnl.gov>
 * DESCRIPTION:  header for number types defined in DHSVM
 * DESCRIP-END.
 * FUNCTIONS:    
 * COMMENTS:     
 */

/* 	$Id: sizeofnt.h,v 1.3 2001/04/04 16:43:52 waichler Exp $	 */

#ifndef SIZEOFNT_H
#define SIZEOFNT_H

/* type info codes (taken from netcdf.h, although they are enumerated in that
   case) */
#ifndef HAVE_NETCDF
#define NC_BYTE 1 	/* signed 1 byte integer */
#define NC_CHAR	2	/* ISO/ASCII character */
#define NC_SHORT 3	/* signed 2 byte integer */
#define NC_INT 4	/* signed 4 byte integer */
/* #define NC_LONG  */ /* 8 bit integer not yet implemented in NetCDF 3.4, but
			   anticipated in future versions */ 
#define	NC_FLOAT 5	/* single precision floating point number */
#define	NT_FLOAT32 5	/* SRW 12-14-00.  single precision floating point number */
#define NC_DOUBLE 6	/* double precision floating point number */
#else
#include <netcdf.h>
#endif

size_t SizeOfNumberType(int NumberType);

#endif
