45 int nXMax =
m_pSim->nGetGridXMax();
48 for (
int nX = 0; nX < nXMax; nX++)
69 int nXMax =
m_pSim->nGetGridXMax();
70 int nYMax =
m_pSim->nGetGridYMax();
76 for (
int nX = 0; nX < nXMax; nX++)
Geometry class for the cell objects which comprise the raster grid.
static CGeomRasterGrid * m_pGrid
Geometry cass used to represent the raster grid of cell objects.
double m_dD50Fine
The d50 of fine-sized sediment.
double m_dD50Sand
The d50 of sand-sized sediment.
CGeomCell ** m_Cell
The 2D array of m_Cell objects. A c-style 2D array seems to be faster than using 2D STL vectors.
~CGeomRasterGrid(void)
Destructor.
int nCreateGrid(void)
Creates the 2D CGeomCell array.
double m_dD50Coarse
The d50 of coarse-sized sediment.
CSimulation * m_pSim
A pointer to the CSimulation object.
friend class CSimulation
The CSimulation class is a friend of the CGeomRasterGrid class.
CGeomRasterGrid(CSimulation *)
Constructor.
CSimulation * pGetSim(void)
Returns a pointer to the simulation object.
This file contains global definitions for CoastalME.
int const RTN_ERR_MEMALLOC
Contains CGeomRasterGrid definitions.