/*
 * SUMMARY:      slopeaspect.h - header file for SlopeAspect.c
 * 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: Wed Jan 27 23:52:36 1999 by Bart Nijssen <nijssen@u.washington.edu>
 * DESCRIPTION:  header file for SlopeAspect.c
 * DESCRIP-END.
 * FUNCTIONS:    
 * COMMENTS:     
 */

/* 	$Id: slopeaspect.h,v 1.2 2001/03/31 00:10:47 waichler Exp $	 */

#ifndef SLOPEASPECT_H
#define SLOPEASPECT_H

#include "settings.h"
#include "data.h"
#include "ArrayBuilder.h"

#define MIN_SLOPE 0.001
/* -------------------------------------------------------------
   available variables
   ------------------------------------------------------------- 
extern int xneighbor[NDIRS];
extern int yneighbor[NDIRS];*/

/* -------------------------------------------------------------
   available functions
   ------------------------------------------------------------- */
void ElevationSlopeAspect(MAPSIZE *Map, TOPOPIX **TopoMap, int ReadFlowDir,
                          char FlowDirFileName[BUFSIZE+1]);
void HeadSlopeAspect(MAPSIZE *Map, TOPOPIX **TopoMap, SOILPIX **SoilMap);
int valid_cell(MAPSIZE *Map, int x, int y);
void ReadFlowDirs( MAPSIZE Map, TOPOPIX **TopoMap, char FlowDirFileName[BUFSIZE+1]);
int CheckForLoops( MAPSIZE Map, TOPOPIX **TopoMap);

#endif

