#include "CellState.h"
Go to the source code of this file.
Functions | |
CellState* | InitCellStateFuels (GridData * fuels, ChHashTable * fmtble) |
Allocates memory for CellState structure of same size as fuels array. More... | |
int | CellStateSetCellStateRowCol (CellState * cs, int i, int j, EnumCellState state) |
Sets the state of the cell at array i,j location. More... | |
int | CellStateSetCellStateRealWorld (CellState * cs, double rwx, double rwy, EnumCellState state) |
Sets the state of the cell at real world x,y location. More... | |
void | FreeCellState (CellState * cs) |
Frees memory associated with CellState 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 CellState.c.
|
Sets the state of the cell at real world x,y location.
Definition at line 96 of file CellState.c. |
|
Sets the state of the cell at array i,j location.
Definition at line 82 of file CellState.c. |
|
Frees memory associated with CellState structure.
Subsequent calls to methods taking FuelModel as argument will not work.
Definition at line 119 of file CellState.c. |
|
Allocates memory for CellState structure of same size as fuels array.
Definition at line 27 of file CellState.c. |