115 int nZeroThickness = 0;
129 #pragma omp parallel for collapse(2) reduction(+:nZeroThickness) \
130 reduction(+:m_dStartIterConsFineAllCells,m_dStartIterConsSandAllCells,m_dStartIterConsCoarseAllCells) \
131 reduction(+:m_dStartIterSuspFineAllCells,m_dStartIterUnconsFineAllCells,m_dStartIterUnconsSandAllCells,m_dStartIterUnconsCoarseAllCells)
144 double dSedThickness =
m_pRasterGrid->m_Cell[nX][nY].dGetTotAllSedThickness();
146 if (dSedThickness <= 0)
155 #pragma omp critical(logging)
211 if (nZeroThickness > 0)
213 cerr <<
m_ulIter <<
": " <<
WARN << nZeroThickness << (nZeroThickness > 1 ?
" cells" :
" cell") <<
"( out of " <<
m_nXGridSize *
m_nYGridSize <<
") have no sediment, is this correct?" << endl;
214 LogStream <<
m_ulIter <<
": " <<
WARN << nZeroThickness <<
" cells have no sediment, is this correct?" << endl;
Contains CGeomCell definitions.
double m_dThisIterPotentialBeachErosion
void CalcDepthOfClosure(void)
Calculate the depth of closure.
double m_dAllCellsDeepWaterWaveHeight
Deep water wave height (m) for all sea cells.
int m_nYMinBoundingBox
The minimum y value of the bounding box.
CGeomRasterGrid * m_pRasterGrid
Pointer to the raster grid object.
int m_nXGridSize
The size of the grid in the x direction.
double m_dThisIterBeachErosionCoarse
vector< CRWCoast > m_VFloodWaveSetupSurgeRunup
TODO 007 Info needed.
double m_dStartIterUnconsCoarseAllCells
vector< CRWCoast > m_VCoast
The coastline objects.
bool m_bSingleDeepWaterWaveValues
double m_dThisIterActualPlatformErosionCoarseCons
vector< CGeomCoastPolygon * > m_pVCoastPolygon
int m_nYGridSize
The size of the grid in the y direction.
double m_dStartIterSuspFineInPolygons
unsigned long m_ulThisIterNumCoastCells
The number of grid cells which are marked as coast, for this iteration.
double m_dThisIterCliffCollapseErosionCoarseUncons
vector< CRWCoast > m_VFloodWaveSetupSurge
TODO 007 Info needed.
unsigned long m_ulThisIterNumActualPlatformErosionCells
int m_nXMaxBoundingBox
The maximum x value of the bounding box.
double m_dThisIterCliffCollapseErosionFineUncons
int m_nLayers
The number of sediment layers.
double m_dStartIterConsCoarseAllCells
double m_dStartIterConsSandAllCells
unsigned long m_ulThisIterNumBeachDepositionCells
double m_dThisiterUnconsCoarseInput
Depth (m) of coarse unconsolidated sediment added, at this iteration.
double m_dThisIterPotentialPlatformErosion
double m_dThisiterUnconsFineInput
Depth (m) of fine unconsolidated sediment added, at this iteration.
bool m_bHaveWaveStationData
Do we have wave station data?
double m_dThisIterActualPlatformErosionSandCons
double m_dThisIterBeachDepositionCoarse
double dGridCentroidYToExtCRSY(int const) const
Given the integer Y-axis ordinate of a cell in the raster grid CRS, returns the external CRS Y-axis o...
double m_dAllCellsDeepWaterWaveAngle
Deep water wave angle for all sea cells.
double m_dThisIterUnconsCoarseCliffDeposition
double m_dThisIterTotSeaDepth
Total sea depth (m) for this iteration.
double m_dThisIterUnconsSandCliffDeposition
int nInterpolateAllDeepWaterWaveValues(void)
If the user supplies multiple deep water wave height and angle values, this routine interplates these...
double m_dThisIterPotentialSedLostBeachErosion
double m_dStartIterConsFineAllCells
double m_dThisIterBeachErosionSand
double m_dThisIterFineSedimentToSuspension
double m_dThisIterBeachErosionFine
unsigned long m_ulThisIterNumActualBeachErosionCells
int m_nYMaxBoundingBox
The maximum y value of the bounding box.
vector< bool > m_bUnconsChangedThisIter
unsigned long m_ulThisIterNumPotentialPlatformErosionCells
double m_dStartIterUnconsSandAllCells
double m_dThisIterCliffCollapseErosionFineCons
unsigned long m_ulThisIterNumSeaCells
The number of grid cells which are marked as sea, for this iteration.
double m_dStartIterUnconsFineAllCells
int m_nXMinBoundingBox
The minimum x value of the bounding box.
unsigned long m_ulThisIterNumPotentialBeachErosionCells
double m_dThisIterCliffCollapseErosionSandCons
double m_dThisIterBeachDepositionSand
double m_dThisIterLeftGridUnconsCoarse
double m_dThisIterCliffCollapseErosionSandUncons
unsigned long m_ulIter
The number of the current iteration (time step)
double dGridCentroidXToExtCRSX(int const) const
Given the integer X-axis ordinate of a cell in the raster grid CRS, returns the external CRS X-axis o...
double m_dThisiterUnconsSandInput
Depth (m) of sand unconsolidated sediment added, at this iteration.
double m_dAllCellsDeepWaterWavePeriod
Deep water wave period for all sea cells.
double m_dThisIterActualPlatformErosionFineCons
double m_dThisIterCliffCollapseErosionCoarseCons
double m_dThisIterLeftGridUnconsSand
int nInitGridAndCalcStillWaterLevel(void)
At the beginning of each timestep: clear vector coasts, profiles, and polygons, initialize the raster...
double m_dStartIterSuspFineAllCells
vector< bool > m_bConsChangedThisIter
double m_dThisIterLeftGridUnconsFine
This file contains global definitions for CoastalME.
int const LOG_FILE_MIDDLE_DETAIL
Contains CRWCoast definitions.
Contains CGeomLine definitions.
Contains CGeomRasterGrid definitions.
Contains CSimulation definitions.