#include "RothFuelModel.h"
Go to the source code of this file.
Functions | |
RothFuelModel* | InitRothFuelModelEmpty () |
Initializes an empty RothFuelModel. More... | |
RothFuelModel* | InitRothFuelModelFMDFile (FILE * fstream, int model_num) |
Opens and reads a .fmd file containing fuel models and associated values. More... | |
RothFuelModel* | InitRothFuelModelUnBurnable () |
Creates a fuel model with attributes that correspond to unburnable fuel. More... | |
int | RothFuelModelMetricToEnglish (RothFuelModel * rfm) |
Takes a Ptr to existing RothFuelModel structure. More... | |
int | RothFuelModelEnglishToMetric (RothFuelModel * rfm) |
Takes a Ptr to existing RothFuelModel structure. More... | |
void | RothFuelModelDumpToStream (RothFuelModel * rfm, FILE * fstream) |
Dumps contents of RothFuelModel to stream. More... | |
void | FreeRothFuelModel (void * vptr) |
Frees memory associated with RothFuelModel structure. More... |
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Definition in file RothFuelModel.c.
|
Frees memory associated with RothFuelModel structure.
Subsequent calls to methods taking RothFuelModel as argument will not work.
Definition at line 492 of file RothFuelModel.c. Referenced by FreeFuelModel(), and InitRothFuelModelFMDFile(). |
|
Initializes an empty RothFuelModel.
Definition at line 26 of file RothFuelModel.c. Referenced by InitRothFuelModelFMDFile(), and InitRothFuelModelUnBurnable(). |
|
Opens and reads a .fmd file containing fuel models and associated values.
Inserts the values of model_num in RothFuelModel.
Definition at line 55 of file RothFuelModel.c. |
|
Creates a fuel model with attributes that correspond to unburnable fuel.
Definition at line 193 of file RothFuelModel.c. |
|
Dumps contents of RothFuelModel to stream.
Definition at line 421 of file RothFuelModel.c. Referenced by FuelModelDumpToStream(). |
|
Takes a Ptr to existing RothFuelModel structure.
Tests if data in structure is METRIC or ENGLISH units. If METRIC, then does nothing. If ENGLISH, then converts values to METRIC.
Definition at line 368 of file RothFuelModel.c. |
|
Takes a Ptr to existing RothFuelModel structure.
Tests if data in structure is METRIC or ENGLISH units. If METRIC, then converts data to ENGLISH. If ENGLISH, then does nothing.
Definition at line 315 of file RothFuelModel.c. Referenced by Roth1972FireSpreadSetFuelBed(). |
|
Definition at line 220 of file RothFuelModel.c. |