Main Page   Compound List   File List   Compound Members   File Members  

Roth1972.h

Go to the documentation of this file.
00001 
00027 #ifndef Roth1972_H
00028 #define Roth1972_H
00029 
00030 #include <stdlib.h>
00031 #include <math.h>
00032 
00033 #include "Err.h"
00034 #include "Units.h"
00035 #include "RothFuelModel.h"
00036 #include "RothPipeline.h"
00037 
00038 /*
00039  *********************************************************
00040  * DEFINES, ENUMS
00041  *********************************************************
00042  */
00043 
00044 /* value for PI */
00045 #define ROTH_1972_PI                                (3.141592654)
00046  
00047 /*
00048  *********************************************************
00049  * STRUCTS, TYPEDEFS
00050  *********************************************************
00051  */
00052  
00053 /*
00054  *********************************************************
00055  * MACROS
00056  *********************************************************
00057  */
00058 
00059 /* converts degrees to radians */
00060 #define ROTH_1972_DEG_TO_RAD(deg)                   (((deg) * 2.0 * ROTH_1972_PI) / 360.0)
00061 
00062 /* converts radians to degrees */
00063 #define ROTH_1972_RAD_TO_DEG(rad)                   (((rad) * 360.0) / (2.0 * ROTH_1972_PI))
00064  
00065 /*
00066  *********************************************************
00067  * PUBLIC FUNCTIONS
00068  *********************************************************
00069  */
00070 
00087 int Roth1972FireSpreadSetFuelBed(RothFuelModel * rfm);
00088 
00113 int Roth1972FireSpreadNoWindNoSlope(RothFuelModel * rfm, double d1hfm, double d10hfm, double d100hfm,
00114                                         double lhfm, double lwfm);
00115 
00138 int Roth1972FireSpreadWindSlopeMax(RothFuelModel * rfm, double wnd_fpm, double wnd_az, 
00139                                         double slp_pcnt, double asp);
00140 
00159 int Roth1972FireSpreadGetAtAzimuth(RothFuelModel * rfm, double az);
00160   
00161 #endif Roth1972_H       /* end of Roth1972.h */

Generated at Fri Jun 22 00:46:51 2001 for HFire by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000