CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
Loading...
Searching...
No Matches
cell.h
Go to the documentation of this file.
1
13
14#ifndef CELL_H
15#define CELL_H
16/* ===============================================================================================================================
17
18 This file is part of CoastalME, the Coastal Modelling Environment.
19
20 CoastalME is free software; you can redistribute it and/or modify it under
21the terms of the GNU General Public License as published by the Free Software
22Foundation; either version 3 of the License, or (at your option) any later
23version.
24
25 This program is distributed in the hope that it will be useful, but WITHOUT
26ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
27FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
28
29 You should have received a copy of the GNU General Public License along with
30this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave,
31Cambridge, MA 02139, USA.
32
33===============================================================================================================================*/
34#include <vector>
35using std::vector;
36
37#include "cell_landform.h"
38#include "cell_layer.h"
39#include "cme.h"
40#include "raster_grid.h"
41
42class CGeomRasterGrid; // Forward declaration
43
44class CGeomCell {
45 friend class CSimulation;
46
47private:
50
53
56
59
62
65
68
69 // //! TODO 007 What is this used for?
70 // bool m_bCheckCell;
71
74
77
80
83
86
89
92
95
98
102
106
110
113
116
118 double m_dSlope;
119
122
126
129
132
135
138
141
144
147
150
154
157
161
165
169
172
175
179
183
187
191
195
199
203
207
211
215
219
223
226
229
232
235
239
242
245
246 // Initialize these as empty vectors
248 vector<CRWCellLayer> m_VLayerAboveBasement;
249
253 vector<double> m_VdAllHorizonTopElev;
254
255protected:
256public:
258
259 CGeomCell();
260 ~CGeomCell(void);
261
262 void SetInContiguousSea(void);
263 bool bIsInContiguousSea(void) const;
264
265 void SetInContiguousFlood(void);
266 void UnSetInContiguousFlood(void);
267 void SetFloodBySetupSurge(void);
268 bool bIsFloodBySetupSurge(void) const;
269 void SetFloodBySetupSurgeRunup(void);
270 bool bIsFloodBySetupSurgeRunup(void) const;
271 bool bIsInContiguousSeaArea(void) const;
272
273 void SetInActiveZone(bool const);
274 bool bIsInActiveZone(void) const;
275 bool bPotentialPlatformErosion(void) const;
276 // bool bActualPlatformErosion(void) const;
277 void SetAsCoastline(bool const);
278 bool bIsCoastline(void) const;
279 void SetAsFloodLine(bool const);
280 bool bIsFloodLine(void) const;
281
282 void SetAsCliff(bool const);
283 bool bIsCliff(void) const;
284
285 void SetProfileID(int const);
286 int nGetProfileID(void) const;
287 bool bIsProfile(void) const;
288
289 void SetShadowZoneBoundary(void);
290 bool bIsShadowZoneBoundary(void) const;
291
292 void SetBoundingBoxEdge(int const);
293 int nGetBoundingBoxEdge(void) const;
294 bool bIsBoundingBoxEdge(void) const;
295
296 void SetPossibleCoastStartCell(void);
297 bool bIsPossibleCoastStartCell(void) const;
298
299 void SetPossibleFloodStartCell(void);
300 bool bIsPossibleFloodStartCell(void) const;
301
302 void SetPolygonID(int const);
303 int nGetPolygonID(void) const;
304
305 void SetPolygonCoastID(int const);
306 int nGetPolygonCoastID(void) const;
307
308 void SetCoastAndPolygonID(int const, int const);
309
311
312 void SetWaveFlood(void);
313 bool bIsElevLessThanWaterLevel(void) const;
314
315 void SetCheckCell(void);
316 bool bIsCellCheck(void) const;
317
318 void SetCheckFloodCell(void);
319 void UnSetCheckFloodCell(void);
320 bool bIsCellFloodCheck(void) const;
321
322 void SetLocalConsSlope(double const);
323 double dGetLocalConsSlope(void) const;
324
325 void SetBasementElev(double const);
326 double dGetBasementElev(void) const;
327 bool bBasementElevIsMissingValue(void) const;
328
329 void SetSlope(double const);
330 double dGetSlope(void) const;
331
332 // double dGetVolEquivSedTopElev(void) const;
333 double dGetSedimentTopElev(void) const;
334 double dGetSedimentPlusInterventionTopElev(void) const;
335 double dGetOverallTopElev(void) const;
336
337 bool bIsInundated(void) const;
338 double dGetThisIterSWL(void) const;
339 double dGetThisIterTotWaterLevel(void) const;
340 // bool bIsSeaIncBeach(void) const;
341 void SetSeaDepth(void);
342 double dGetSeaDepth(void) const;
343 void InitCell(void);
344 double dGetTotSeaDepth(void) const;
345
346 void SetWaveHeight(double const);
347 double dGetWaveHeight(void) const;
348 double dGetTotWaveHeight(void) const;
349 void SetWaveAngle(double const);
350 double dGetWaveAngle(void) const;
351 double dGetTotWaveAngle(void) const;
352
353 void SetCellDeepWaterWaveHeight(double const);
354 double dGetCellDeepWaterWaveHeight(void) const;
355 void SetCellDeepWaterWaveAngle(double const);
356 double dGetCellDeepWaterWaveAngle(void) const;
357 void SetCellDeepWaterWavePeriod(double const);
358 double dGetCellDeepWaterWavePeriod(void) const;
359
361
362 void SetBeachProtectionFactor(double const);
363 double dGetBeachProtectionFactor(void) const;
364
365 void SetSuspendedSediment(double const);
366 void AddSuspendedSediment(double const);
367 double dGetSuspendedSediment(void) const;
368 double dGetTotSuspendedSediment(void) const;
369
370 int nGetTopNonZeroLayerAboveBasement(void) const;
371 int nGetTopLayerAboveBasement(void) const;
372
373 double dGetConsSedTopForLayerAboveBasement(int const) const;
375 void AppendLayers(int const);
376 void CalcAllLayerElevsAndD50(void);
377 int nGetLayerAtElev(double const) const;
378 double dCalcLayerElev(const int);
379
380 double dGetTotConsFineThickConsiderNotch(void) const;
381 double dGetTotUnconsFine(void) const;
382 double dGetTotConsSandThickConsiderNotch(void) const;
383 double dGetTotUnconsSand(void) const;
384 double dGetTotConsCoarseThickConsiderNotch(void) const;
385 double dGetTotUnconsCoarse(void) const;
386
387 double dGetTotConsThickness(void) const;
388 double dGetTotUnconsThickness(void) const;
389 double dGetTotAllSedThickness(void) const;
390
391 void SetPotentialPlatformErosion(double const);
392 double dGetPotentialPlatformErosion(void) const;
393 double dGetTotPotentialPlatformErosion(void) const;
394
395 void SetActualPlatformErosion(double const);
396 double dGetActualPlatformErosion(void) const;
397 double dGetTotActualPlatformErosion(void) const;
398
399 void IncrCliffCollapseErosion(double const, double const, double const);
400 double dGetThisIterCliffCollapseErosionFine(void) const;
401 double dGetThisIterCliffCollapseErosionSand(void) const;
403 double dGetTotCliffCollapseFine(void) const;
404 double dGetTotCliffCollapseSand(void) const;
405 double dGetTotCliffCollapseCoarse(void) const;
406
407 void AddSandTalusDeposition(double const);
409 double dGetTotSandTalusDeposition(void) const;
410 void AddCoarseTalusDeposition(double const);
412 double dGetTotCoarseTalusDeposition(void) const;
413
414 void SetPotentialBeachErosion(double const);
415 double dGetPotentialBeachErosion(void) const;
416 double dGetTotPotentialBeachErosion(void) const;
417 void SetActualBeachErosion(double const);
418 double dGetActualBeachErosion(void) const;
419 double dGetTotActualBeachErosion(void) const;
420 // bool bActualBeachErosionThisIter(void) const;
421
422 void IncrBeachDeposition(double const);
423 double dGetBeachDeposition(void) const;
424 double dGetTotBeachDeposition(void) const;
425 // bool bBeachDepositionThisIter(void) const;
426
427 bool bBeachErosionOrDepositionThisIter(void) const;
428
429 double dGetUnconsD50(void) const;
430
431 void SetInterventionClass(int const);
432 int nGetInterventionClass(void) const;
433 void SetInterventionHeight(double const);
434 double dGetInterventionHeight(void) const;
435 double dGetInterventionTopElev(void) const;
436
437 void SetShadowZoneNumber(int const);
438 int nGetShadowZoneNumber(void) const;
439 bool bIsinThisShadowZone(int const) const;
440 bool bIsinAnyShadowZone(void) const;
441 void SetDownDriftZoneNumber(int const);
442 int nGetDownDriftZoneNumber(void) const;
443};
444#endif // CELL_H
Contains CRWCellLandform definitions.
Contains CRWCellLayer definitions.
double m_dTotActualPlatformErosion
Total depth of sediment actually eroded from the shore platform.
Definition cell.h:174
double dGetTotCliffCollapseFine(void) const
Definition cell.cpp:900
void SetCellDeepWaterWavePeriod(double const)
Sets the deep water wave Period on this cell.
Definition cell.cpp:839
double dGetTotWaveHeight(void) const
Returns the total wave height on this cell.
Definition cell.cpp:803
void SetInContiguousFlood(void)
Set this cell as in the contiguous runup flood area.
Definition cell.cpp:93
double dGetThisIterCliffCollapseErosionFine(void) const
Definition cell.cpp:882
double m_dTotTalusCoarseDeposition
Definition cell.h:214
double dGetTotCoarseTalusDeposition(void) const
Definition cell.cpp:950
double m_dTotPotentialPlatformErosion
Definition cell.h:168
int m_nBoundingBoxEdge
If this cell is an edge (or bounding box) cell, this specifies the edge.
Definition cell.h:91
double m_dWaveAngle
Wave orientation.
Definition cell.h:134
double dGetTotPotentialPlatformErosion(void) const
Get total potential (unconstrained) shore platform erosion.
Definition cell.cpp:720
bool bIsinAnyShadowZone(void) const
Returns true if this cell is in any shadow zone, false otherwise.
Definition cell.cpp:244
double dGetTotConsFineThickConsiderNotch(void) const
Definition cell.cpp:518
bool bIsFloodBySetupSurge(void) const
Is this cell flooded by setup surge?
Definition cell.cpp:102
bool m_bCheckFloodCell
TODO 007 What is this used for?
Definition cell.h:73
void CalcAllLayerElevsAndD50(void)
Definition cell.cpp:633
bool m_bCliff
Is this cell a cliff.
Definition cell.h:61
int nGetTopLayerAboveBasement(void) const
Definition cell.cpp:410
double dCalcLayerElev(const int)
For this cell, calculates the elevation of the top of a given layer.
Definition cell.cpp:697
int nGetShadowZoneNumber(void) const
Gets the number of the shadow zone that this cell is in.
Definition cell.cpp:232
void SetWaveHeight(double const)
Sets the wave height on this cell, also increments the total wave height.
Definition cell.cpp:791
bool bIsShadowZoneBoundary(void) const
Returns a flag which shows whether this cell is a shadow zone boundary.
Definition cell.cpp:131
double dGetCellDeepWaterWavePeriod(void) const
Returns the deep water wave period on this cell.
Definition cell.cpp:844
void InitCell(void)
Initialise values for this cell.
Definition cell.cpp:750
double dGetCellDeepWaterWaveAngle(void) const
Returns the deep water wave orientation on this cell.
Definition cell.cpp:834
bool bBeachErosionOrDepositionThisIter(void) const
Definition cell.cpp:1019
double dGetTotPotentialBeachErosion(void) const
Get total potential (supply-unconstrained) beach erosion.
Definition cell.cpp:967
bool bIsFloodBySetupSurgeRunup(void) const
Is this cell flooded by setup surge runup?
Definition cell.cpp:112
void SetInActiveZone(bool const)
Sets a flag to show whether this cell is in the active zone.
Definition cell.cpp:122
double dGetPotentialBeachErosion(void) const
Get potential (unconstrained) beach erosion.
Definition cell.cpp:962
bool bIsInContiguousSea(void) const
Is this a sea cell?
Definition cell.cpp:90
double m_dBeachProtectionFactor
Definition cell.h:153
bool m_bInContiguousSea
Switch to indicate if this is a sea cell, contiguous with other sea cells.
Definition cell.h:49
int nGetPolygonCoastID(void) const
Definition cell.cpp:216
bool bIsBoundingBoxEdge(void) const
Is this an edge bounding-box cell?
Definition cell.cpp:82
double m_dTotActualBeachErosion
Total depth of unconsolidated beach sediment actually eroded.
Definition cell.h:228
double dGetTotBeachDeposition(void) const
Get beach erosion.
Definition cell.cpp:1007
void SetSuspendedSediment(double const)
Definition cell.cpp:365
double dGetTotWaveAngle(void) const
Returns the total wave orientation on this cell.
Definition cell.cpp:816
void IncrBeachDeposition(double const)
Definition cell.cpp:996
void SetActualPlatformErosion(double const)
Definition cell.cpp:726
double dGetSeaDepth(void) const
Returns the depth of seawater on this cell.
Definition cell.cpp:358
bool bPotentialPlatformErosion(void) const
Returns true if this cell has had potential erosion this timestep.
Definition cell.cpp:158
double dGetTotActualBeachErosion(void) const
Get total actual (supply-constrained) beach erosion.
Definition cell.cpp:984
double m_dBasementElevation
Elevation of basement surface (m)
Definition cell.h:115
int m_nCoastlineNormal
Definition cell.h:101
double dGetCellDeepWaterWaveHeight(void) const
Returns the deep water wave height on this cell.
Definition cell.cpp:824
double dGetInterventionTopElev(void) const
Definition cell.cpp:1070
double dGetOverallTopElev(void) const
Definition cell.cpp:471
double dGetTotUnconsFine(void) const
Returns the total thickness of fine unconsolidated sediment on this cell.
Definition cell.cpp:534
double m_dLocalConsSlope
Used in erosion calculations, stored here for display purposes.
Definition cell.h:112
int nGetTopNonZeroLayerAboveBasement(void) const
Definition cell.cpp:394
bool m_bFloodBySetupSurgeRunup
TODO 007 What is this used for?
Definition cell.h:88
double dGetTotConsSandThickConsiderNotch(void) const
Definition cell.cpp:545
double dGetTotSandTalusDeposition(void) const
Definition cell.cpp:944
double m_dBeachDepositionThisIter
Depth of unconsolidated beach sediment deposited this timestep.
Definition cell.h:231
bool m_bPossibleFloodStartCell
TODO 007 What is this used for?
Definition cell.h:82
double dGetTotCliffCollapseSand(void) const
Definition cell.cpp:906
double dGetBeachDeposition(void) const
Get beach deposition.
Definition cell.cpp:1002
bool bIsInundated(void) const
Definition cell.cpp:478
void AppendLayers(int const)
Appends sediment layers.
Definition cell.cpp:626
bool bIsPossibleCoastStartCell(void) const
Definition cell.cpp:141
int m_nPolygonCoastID
If this cell is within a polygon, this is the ID of the polygon's coast.
Definition cell.h:97
void SetActualBeachErosion(double const)
Definition cell.cpp:973
double dGetBeachProtectionFactor(void) const
Returns this cell's beach protection factor.
Definition cell.cpp:862
double m_dTalusSandDepositionThisIter
Definition cell.h:202
double m_dTalusCoarseDepositionThisIter
Definition cell.h:210
double dGetTotAllSedThickness(void) const
Returns the total thickness of all sediment (all size classes) on this cell.
Definition cell.cpp:621
double m_dTotBeachDeposition
Total depth of unconsolidated beach sediment deposited.
Definition cell.h:234
void AddCoarseTalusDeposition(double const)
Definition cell.cpp:925
void SetPotentialBeachErosion(double const)
Definition cell.cpp:956
double m_dTotWaveHeight
Total wave height (m) (used to calc average)
Definition cell.h:131
int nGetPolygonID(void) const
Definition cell.cpp:207
double dGetSedimentTopElev(void) const
Definition cell.cpp:458
~CGeomCell(void)
Destructor.
Definition cell.cpp:71
int nGetBoundingBoxEdge(void) const
Returns the number of the bounding-box edge, or NO_DIRECTION if it is not.
Definition cell.cpp:79
bool bIsInActiveZone(void) const
Returns a flag which shows whether this cell is in the active zone.
Definition cell.cpp:125
CRWCellLayer * pGetLayerAboveBasement(int const)
Definition cell.cpp:435
double m_dTotWaveAngle
Total wave orientation (used to calc average)
Definition cell.h:140
void SetInterventionHeight(double const)
Sets the intervention height.
Definition cell.cpp:1059
bool bIsFloodLine(void) const
Returns true if the cell is flood line.
Definition cell.cpp:183
int nGetProfileID(void) const
Definition cell.cpp:192
double m_dCliffCollapseSandThisIter
Definition cell.h:182
double dGetThisIterCliffCollapseCoarseTalusDeposition(void) const
Definition cell.cpp:938
double dGetSedimentPlusInterventionTopElev(void) const
Definition cell.cpp:465
double dGetSlope(void) const
Returns this cell's slope.
Definition cell.cpp:344
double dGetInterventionHeight(void) const
Returns the intervention height.
Definition cell.cpp:1064
bool bIsCellCheck(void) const
void SetPolygonID(int const)
Sets the global ID number of the polygon which 'contains' this cell.
Definition cell.cpp:203
void SetAsCoastline(bool const)
Marks this cell as 'under' a coastline.
Definition cell.cpp:168
double m_dPotentialPlatformErosionThisIter
Definition cell.h:164
double m_dTotSandCliffCollapse
Definition cell.h:194
double dGetThisIterSWL(void) const
Returns the sea surface elevation at current iteration.
Definition cell.cpp:484
int nGetInterventionClass(void) const
Gets the intervention class.
Definition cell.cpp:1043
void SetLocalConsSlope(double const)
Sets the local slope of the consolidated sediment only.
Definition cell.cpp:323
double dGetThisIterCliffCollapseSandTalusDeposition(void) const
Definition cell.cpp:932
void SetDownDriftZoneNumber(int const)
Sets the down drift zone number.
Definition cell.cpp:310
static CGeomRasterGrid * m_pGrid
Definition cell.h:257
double dGetWaveHeight(void) const
Returns the wave height on this cell.
Definition cell.cpp:800
double dGetWaveAngle(void) const
Returns the wave orientation on this cell.
Definition cell.cpp:813
double dGetTotSeaDepth(void) const
Returns the total depth of seawater on this cell.
Definition cell.cpp:361
void SetSlope(double const)
Sets this cell's slope.
Definition cell.cpp:341
bool bIsCliff(void) const
Returns true if the cell is 'under' a coastline.
Definition cell.cpp:177
double m_dTotFineCliffCollapse
Definition cell.h:190
int nGetLayerAtElev(double const) const
Definition cell.cpp:679
double m_dTotCoarseCliffCollapse
Definition cell.h:198
CRWCellLandform m_Landform
This cell's landform data.
Definition cell.h:244
void SetCoastAndPolygonID(int const, int const)
Definition cell.cpp:220
double m_dCliffCollapseFineThisIter
Definition cell.h:178
double m_dDeepWaterWaveHeight
Wave height if this is a deep water cell.
Definition cell.h:143
double dGetLocalConsSlope(void) const
Returns the local slope of the consolidated sediment only.
Definition cell.cpp:328
double m_dActualBeachErosionThisIter
Depth of unconsolidated beach sediment actually eroded this timestep.
Definition cell.h:225
double m_dTotSuspendedSediment
Definition cell.h:160
void SetInterventionClass(int const)
Sets the landform category and subcategory for an intervention.
Definition cell.cpp:1030
bool m_bInContiguousFlood
Switch to indicate that this cell is in the contiguous runup flood area.
Definition cell.h:52
void SetWaveValuesToDeepWaterWaveValues(void)
Definition cell.cpp:850
void SetBoundingBoxEdge(int const)
Set the edge number if this cell is an edge bounding-box cell.
Definition cell.cpp:74
double dGetTotUnconsCoarse(void) const
Returns the total thickness of coarse unconsolidated sediment on this cell.
Definition cell.cpp:589
void SetFloodBySetupSurgeRunup(void)
Set this cell as flooded by setup surge runup.
Definition cell.cpp:107
void SetPotentialPlatformErosion(double const)
Definition cell.cpp:709
bool m_bIsInActiveZone
Switch to indicate that this cell is in the active zone.
Definition cell.h:55
void SetPossibleFloodStartCell(void)
Definition cell.cpp:147
void AddSuspendedSediment(double const)
Definition cell.cpp:374
bool m_bShadowBoundary
Switch to show this cell is 'under' a shadow boundaryu.
Definition cell.h:76
int nGetDownDriftZoneNumber(void) const
Gets the down drift zone number.
Definition cell.cpp:315
double dGetTotUnconsSand(void) const
Definition cell.cpp:562
void UnSetInContiguousFlood(void)
Set this cell as not in the contiguous runup flood area.
Definition cell.cpp:96
friend class CSimulation
Definition cell.h:45
bool bIsInContiguousSeaArea(void) const
Is this cell in the contiguous sea area?
Definition cell.cpp:117
double dGetUnconsD50(void) const
Returns the D50 of unconsolidated sediment on this cell.
Definition cell.cpp:1027
double m_dPotentialBeachErosionThisIter
Definition cell.h:218
bool bIsCellFloodCheck(void) const
Returns true if this cell is checked, false otherwise (flood switch)
Definition cell.cpp:307
double dGetTotActualPlatformErosion(void) const
Get total actual (constrained) shore platform erosion.
Definition cell.cpp:737
bool bIsElevLessThanWaterLevel(void) const
Definition cell.cpp:282
vector< double > m_VdAllHorizonTopElev
Definition cell.h:253
double m_dWavePeriod
Wave period (s)
Definition cell.h:137
double m_dSeaDepth
Depth of still water (m), is zero if not inundated.
Definition cell.h:121
double dGetTotUnconsThickness(void) const
Definition cell.cpp:611
double dGetBasementElev(void) const
Returns this cell's basement elevation.
Definition cell.cpp:336
int m_nPolygonID
If this cell is within a polygon, this is the ID of the polygon.
Definition cell.h:94
bool bIsPossibleFloodStartCell(void) const
Definition cell.cpp:153
double m_dActualPlatformErosionThisIter
Depth of sediment actually eroded from the shore platform this timestep.
Definition cell.h:171
double dGetPotentialPlatformErosion(void) const
Get potential (unconstrained) shore platform erosion.
Definition cell.cpp:715
double dGetTotSuspendedSediment(void) const
Returns the total suspended sediment depth equivalent on this cell.
Definition cell.cpp:387
double m_dDeepWaterWaveAngle
Wave orientation if this is a deep water cell.
Definition cell.h:146
double dGetActualBeachErosion(void) const
Get actual (supply-constrained) beach erosion.
Definition cell.cpp:979
void SetSeaDepth(void)
Definition cell.cpp:743
void SetShadowZoneNumber(int const)
Set the number of the shadow zone that this cell is in.
Definition cell.cpp:227
double dGetTotConsCoarseThickConsiderNotch(void) const
Definition cell.cpp:573
void SetCellDeepWaterWaveAngle(double const)
Sets the deep water wave orientation on this cell.
Definition cell.cpp:829
bool m_bPossibleCoastStartCell
Switch to show that this cell could be the start of a coastline.
Definition cell.h:79
CGeomCell()
Constructor with initialization list.
Definition cell.cpp:41
double dGetActualPlatformErosion(void) const
Get actual (constrained) shore platform erosion.
Definition cell.cpp:732
void SetFloodBySetupSurge(void)
Set this cell as flooded by setup surge.
Definition cell.cpp:99
int m_nShadowZoneNumber
Definition cell.h:105
bool bIsinThisShadowZone(int const) const
Definition cell.cpp:236
double m_dDeepWaterWavePeriod
Wave period if this is a deep water cell.
Definition cell.h:149
double m_dTotPotentialBeachErosion
Definition cell.h:222
double m_dSuspendedSediment
Suspended sediment as depth equivalent (m)
Definition cell.h:156
double m_dTotTalusSandDeposition
Definition cell.h:206
double dGetTotConsThickness(void) const
Definition cell.cpp:600
void SetCheckFloodCell(void)
Set this cell as checked (flood switch)
Definition cell.cpp:301
void SetInContiguousSea(void)
Set this cell as a sea cell.
Definition cell.cpp:87
int m_nDownDriftZoneNumber
Definition cell.h:109
double m_dWaveHeight
Wave height (m)
Definition cell.h:128
void SetWaveAngle(double const)
Definition cell.cpp:807
void SetProfileID(int const)
Marks this cell as 'under' a coastline-normal profile.
Definition cell.cpp:186
void SetPossibleCoastStartCell(void)
Definition cell.cpp:135
double m_dSlope
Slope at this cell (degrees or unitless)
Definition cell.h:118
void SetShadowZoneBoundary(void)
Sets a flag to show that this cell is a shadow zone boundary.
Definition cell.cpp:128
double dGetThisIterCliffCollapseErosionCoarse(void) const
Definition cell.cpp:894
void SetBasementElev(double const)
Sets this cell's basement elevation.
Definition cell.cpp:331
void IncrCliffCollapseErosion(double const, double const, double const)
Definition cell.cpp:868
void AddSandTalusDeposition(double const)
Definition cell.cpp:918
double dGetSuspendedSediment(void) const
Returns the suspended sediment depth equivalent on this cell.
Definition cell.cpp:382
bool bIsProfile(void) const
Returns true if this cell is 'under' a coastline normal.
Definition cell.cpp:195
double m_dUnconsD50
Definition cell.h:238
double m_dInterventionHeight
Height of intervention structure.
Definition cell.h:241
vector< CRWCellLayer > m_VLayerAboveBasement
Number of layers NOT including the basement. Layer 0 is the lowest.
Definition cell.h:248
bool m_bFloodLine
Switch to indicate that this cell is 'under' a runup flood line.
Definition cell.h:64
bool bIsCoastline(void) const
Returns true if the cell is 'under' a coastline.
Definition cell.cpp:171
void SetPolygonCoastID(int const)
Sets the coast number of the polygon which 'contains' this cell.
Definition cell.cpp:210
void UnSetCheckFloodCell(void)
Set the cell as not checked (flood switch)
Definition cell.cpp:304
void SetAsCliff(bool const)
Marks this cell as 'under' a coastline.
Definition cell.cpp:174
void SetCellDeepWaterWaveHeight(double const)
Sets the deep water wave height on this cell.
Definition cell.cpp:819
void SetCheckCell(void)
double dGetThisIterCliffCollapseErosionSand(void) const
Definition cell.cpp:888
bool bBasementElevIsMissingValue(void) const
Definition cell.cpp:348
double dGetTotCliffCollapseCoarse(void) const
Definition cell.cpp:912
bool m_bWaveFlood
Switch to indicate that this cell is 'under' a runup wave flood line.
Definition cell.h:67
double m_dCliffCollapseCoarseThisIter
Definition cell.h:186
CRWCellLandform * pGetLandform(void)
Returns a pointer to this cell's CRWCellLandform object.
Definition cell.cpp:320
void SetBeachProtectionFactor(double const)
Definition cell.cpp:857
void SetWaveFlood(void)
Set this cell as flooded by swl + surge + setup + runup.
Definition cell.cpp:252
void SetAsFloodLine(bool const)
Marks this cell is flood line.
Definition cell.cpp:180
double m_dTotSeaDepth
Definition cell.h:125
double dGetConsSedTopForLayerAboveBasement(int const) const
Definition cell.cpp:419
bool m_bFloodBySetupSurge
TODO 007 What is this used for?
Definition cell.h:85
double dGetThisIterTotWaterLevel(void) const
Returns the total water level at current iteration.
Definition cell.cpp:489
bool m_bCoastline
Switch to indicate that this cell is 'under' a coastline.
Definition cell.h:58
Geometry cass used to represent the raster grid of cell objects.
Definition raster_grid.h:35
Real-world class used to represent the landform of a cell.
Real-world class used to represent the sediment layers associated with a cell object.
Definition cell_layer.h:32
This file contains global definitions for CoastalME.
Contains CGeomRasterGrid definitions.