CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
Loading...
Searching...
No Matches
coast_polygon.h
Go to the documentation of this file.
1
13
14#ifndef COASTPOLYGON_H
15#define COASTPOLYGON_H
16/*===============================================================================================================================
17
18This file is part of CoastalME, the Coastal Modelling Environment.
19
20CoastalME is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
21
22This program 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 General Public License for more details.
23
24You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25
26===============================================================================================================================*/
27#include "2d_shape.h"
28
30{
31private:
34
35 // Does the polygon meet at a point at its seaward end? (is it roughly triangular?)
36// bool m_bIsPointedSeaward;
37
40
43
46
49
52
55
58
61
64
67
70
73
74 // Note: all sediment depths are in m, and here cover the area of a single raster cell: to convert to a volume, multiply by m_dCellArea
75
78
81
84
87
90
93
96
99
102
105
108
111
114
117
120
123
126
129
132
135
138
141
144
147
150
153
156
159
162
165
168
170 double m_dLength;
171
174
177
180
183
186
189
192
194 vector<CGeom2DIPoint> m_VPtiVertices;
195
196protected:
197
198public:
199 CGeomCoastPolygon(int const, int const, int const, int const, int const, vector<CGeom2DPoint> const*, int const, int const, CGeom2DIPoint const*, CGeom2DIPoint const*, bool const, bool const);
200 ~CGeomCoastPolygon(void) override;
201
202 void SetDownCoastThisIter(bool const);
203 bool bDownCoastThisIter(void) const;
204
205 void SetCoastEndPolygon(void);
206 bool bIsCoastEndPolygon(void) const;
207 void SetCoastStartPolygon(void);
208 bool bIsCoastStartPolygon(void) const;
209
210 int nGetGlobalID(void) const;
211 int nGetCoastID(void) const;
212
213// void SetCoastNode(int const);
214 int nGetNodeCoastPoint(void) const;
217
218 void SetLength(double const);
219 double dGetLength(void) const;
220
221// void SetNotPointed(void);
222// bool bIsPointed(void) const;
223
224 void SetNumCellsInPolygon(int const);
225 // int nGetNumCellsinPolygon(void) const;
226
227 int nGetUpCoastProfile(void) const;
228 int nGetDownCoastProfile(void) const;
229
230// void SetBoundary(vector<CGeom2DPoint> const*);
231// vector<CGeom2DPoint>* pPtVGetBoundary(void);
233 int nGetBoundarySize(void) const;
234
235 int nGetNumPointsUsedUpCoastProfile(void) const;
236 int nGetNumPointsUsedDownCoastProfile(void) const;
237
238 void SetSeawaterVolume(const double);
239 double dGetSeawaterVolume(void) const;
240
241 void AddPotentialErosion(double const);
242 double dGetPotentialErosion(void) const;
243
244 void SetBeachErosionUnconsFine(double const);
245 double dGetBeachErosionUnconsFine(void) const;
246 void SetBeachErosionUnconsSand(double const);
247 double dGetBeachErosionUnconsSand(void) const;
248 void SetBeachErosionUnconsCoarse(double const);
249 double dGetBeachErosionUnconsCoarse(void) const;
250 double dGeBeachErosionAllUncons(void) const;
251
252 void SetBeachDepositionUnconsSand(double const);
253 double dGetBeachDepositionUnconsSand(void) const;
254 void SetBeachDepositionUnconsCoarse(double const);
255 double dGetBeachDepositionUnconsCoarse(void) const;
256
257 void AddToSuspensionUnconsFine(double const);
258 // void SetZeroSuspensionUnconsFine(void);
259 double dGetSuspensionUnconsFine(void) const;
260
262 void AddToDoBeachDepositionUnconsSand(double const);
263 double dGetToDoBeachDepositionUnconsSand(void) const;
265 void AddToDoBeachDepositionUnconsCoarse(double const);
266 double dGetToDoBeachDepositionUnconsCoarse(void) const;
268
269 void AddBeachSandErodedDeanProfile(double const);
270 double dGetBeachSandErodedDeanProfile(void) const;
271 void AddBeachCoarseErodedDeanProfile(double const);
272 double dGetBeachCoarseErodedDeanProfile(void) const;
273
274 void SetUpCoastAdjacentPolygons(vector<int> const*);
275 int nGetUpCoastAdjacentPolygon(int const) const;
276 int nGetNumUpCoastAdjacentPolygons(void) const;
277
278 void SetDownCoastAdjacentPolygons(vector<int> const*);
279 int nGetDownCoastAdjacentPolygon(int const) const;
280 int nGetNumDownCoastAdjacentPolygons(void) const;
281
282 void SetUpCoastAdjacentPolygonBoundaryShares(vector<double> const*);
283 double dGetUpCoastAdjacentPolygonBoundaryShare(int const) const;
284
285 void SetDownCoastAdjacentPolygonBoundaryShares(vector<double> const*);
286 double dGetDownCoastAdjacentPolygonBoundaryShare(int const) const;
287
288 // int nGetPointInPolygonSearchStartPoint(void) const;
289
290 void SetAvgUnconsD50(double const);
291 double dGetAvgUnconsD50(void) const;
292
293 void Display(void) override;
294
295 void AddCircularity(int const);
296 vector<int> VnGetCircularities(void) const;
297
298 void AddCliffCollapseErosionFine(double const);
299 double dGetCliffCollapseErosionFine(void) const;
300 void AddCliffCollapseErosionSand(double const);
301 double dGetCliffCollapseErosionSand(void) const;
302 void AddCliffCollapseErosionCoarse(double const);
303 double dGetCliffCollapseErosionCoarse(void) const;
304
305 void AddCliffCollapseToSuspensionFine(double const);
306 double dGetCliffCollapseToSuspensionFine(void) const;
307 void AddCliffCollapseUnconsSandDeposition(double const);
308 double dGetCliffCollapseUnconsSandDeposition(void) const;
310 double dGetCliffCollapseUnconsCoarseDeposition(void) const;
311
314 void AddCliffCollapseSandErodedDeanProfile(double const);
318
321 void AddPlatformErosionUnconsSand(double const);
322 double dGetPlatformErosionUnconsSand(void) const;
323 void AddPlatformErosionUnconsCoarse(double const);
324 double dGetPlatformErosionUnconsCoarse(void) const;
325
326 void SetPreExistingUnconsFine(double const);
327 double dGetPreExistingUnconsFine(void) const;
328 void SetPreExistingUnconsSand(double const);
329 double dGetPreExistingUnconsSand(void) const;
330 void SetPreExistingUnconsCoarse(double const);
331 double dGetPreExistingUnconsCoarse(void) const;
332
333 void SetPreExistingConsFine(double const);
334 double dGetPreExistingConsFine(void) const;
335 void SetPreExistingConsSand(double const);
336 double dGetPreExistingConsSand(void) const;
337 void SetPreExistingConsCoarse(double const);
338 double dGetPreExistingConsCoarse(void) const;
339
340 void SetSedimentInputUnconsFine(double const);
341 double dGetSedimentInputUnconsFine(void) const;
342 void SetSedimentInputUnconsSand(double const);
343 double dGetSedimentInputUnconsSand(void) const;
344 void SetSedimentInputUnconsCoarse(double const);
345 double dGetSedimentInputUnconsCoarse(void) const;
346
347 void AppendVertex(CGeom2DIPoint const*);
348 int nGetNumVertices(void) const;
349 CGeom2DIPoint PtiGetVertex(int const) const;
350
352};
353#endif //COASTPOLYGON_H
354
Contains CA2DShape definitions.
CA2DShape(void)
Constructor.
Definition 2d_shape.cpp:27
Geometry class used to represent 2D point objects with integer coordinates.
Definition 2di_point.h:29
Geometry class used to represent 2D point objects with floating-point coordinates.
Definition 2d_point.h:27
void AddCliffCollapseUnconsCoarseDeposition(double const)
Add to the this-iteration total of unconsolidated coarse sediment deposited from cliff collapse on th...
double dGetCliffCollapseErosionCoarse(void) const
Get the this-iteration total of unconsolidated coarse sediment from cliff collapse on this polygon,...
bool bIsCoastStartPolygon(void) const
Is this polygon the coast-start polygon?
CGeomCoastPolygon(int const, int const, int const, int const, int const, vector< CGeom2DPoint > const *, int const, int const, CGeom2DIPoint const *, CGeom2DIPoint const *, bool const, bool const)
Constructor with 10 parameters and initialization list.
double dGetBeachErosionUnconsSand(void) const
Returns this timestep's erosion (a value < 0) of sand-sized unconsolidated sediment (beach redistribu...
void AddCliffCollapseToSuspensionFine(double const)
Add to the this-iteration total of unconsolidated fine sediment from cliff collapse which goes to sus...
double m_dPreExistingConsFine
Depth of pre-existing consolidated fine sediment.
double dGetSedimentInputUnconsSand(void) const
Get the value of sand sediment on the polygon derived from sediment input events(s)
double dGetBeachDepositionUnconsSand(void) const
Returns the depth of sand-sized unconsolidated sediment deposited on this polygon during this timeste...
int nGetNumPointsUsedDownCoastProfile(void) const
Return the number of points in the down-coast profile.
int m_nProfileUpCoastNumPointsUsed
The number of points from the up-coast normal which are part of this polygon (less than the normal's ...
void AddToSuspensionUnconsFine(double const)
Adds a depth (in m) of fine-sized unconsolidated sediment to this timestep's to-suspension movement o...
double m_dBeachDepositionUnconsSand
Depth of sand-sized unconsolidated sediment deposited on this polygon during this timestep (+ve,...
double m_dCliffCollapseTalusFineToSuspension
Depth of unconsolidated fine sediment which goes to suspension from cliff collapse.
double dGetBeachSandErodedDeanProfile(void) const
Returns the depth (in m) of sand sediment eroded during beach Dean profile deposition.
double dGetPotentialErosion(void) const
Returns this timestep's total change in depth of unconsolidated sediment (all size classes) due to be...
double m_dPreExistingUnconsCoarse
Depth of pre-existing unconsolidated coarse sedimet.
double dGetCliffCollapseUnconsSandDeposition(void) const
Get the this-iteration total of unconsolidated sand sediment deposited from cliff collapse on this po...
CGeom2DIPoint * pPtiGetAntiNode(void)
Get the anti-node (raster grid CRS) which is at other (seaward) end of the polygon from the node.
double m_dSeawaterVolume
The volume (m3) of sea water within the polygon.
double dGetBeachDepositionUnconsCoarse(void) const
Returns the depth of coarse-sized unconsolidated sediment deposited on this polygon during this times...
double dGetCliffCollapseToSuspensionFine(void) const
Get the this-iteration total of unconsolidated fine sediment from cliff collapse which goes to suspen...
vector< int > m_VnUpCoastAdjacentPolygon
The ID(s) of the up-coast adjacent polygon(s)
void AddBeachCoarseErodedDeanProfile(double const)
Adds a depth (in m) of coarse sediment eroded during beach Dean profile deposition.
bool bIsCoastEndPolygon(void) const
Is this polygon the coast-end polygon?
void SetSedimentInputUnconsSand(double const)
Set the value of sand sediment on the polygon derived from sediment input events(s)
void SetPreExistingUnconsFine(double const)
Set the value of pre-existing unconsolidated fine sediment stored on this polygon.
double m_dBeachErosionUnconsSand
Erosion (considering supply-limitation) of sand-sized unconsolidated sediment as a depth this timeste...
vector< CGeom2DIPoint > m_VPtiVertices
The polygon's vertices (not all of them, just the ends of the profile sides), used to calculate the p...
double dGetBeachCoarseErodedDeanProfile(void) const
Returns the depth (in m) of coarse sediment eroded during beach Dean profile deposition.
void SetSedimentInputUnconsFine(double const)
Set the value of fine sediment on the polygon derived from sediment input events(s)
double dGetPreExistingUnconsSand(void) const
Get the value of pre-existing unconsolidated sand sediment stored on this polygon.
vector< double > m_VdUpCoastAdjacentPolygonBoundaryShare
The boundary share(s) (0 to 1) with adjacent up-coast polygon(s)
vector< int > m_VnDownCoastAdjacentPolygon
The ID(s) of the down-coast adjacent polygon(s)
void AddToDoBeachDepositionUnconsSand(double const)
Adds a depth (in m) of sand-sized unconsolidated sediment to this timestep's still-to-do deposition o...
double m_dPreExistingUnconsSand
Depth of pre-existing unconsolidated sand sediment.
void SetPreExistingConsFine(double const)
Set the value of pre-existing consolidated fine sediment stored on this polygon.
double m_dToDoBeachDepositionUnconsCoarse
Still-to-do depth (m) of coarse-sized unconsolidated sediment to be deposited this timestep (+ve),...
double dGetLength(void) const
Gets the polygon's length.
void AddCliffCollapseUnconsSandDeposition(double const)
Add to the this-iteration total of unconsolidated sand sediment deposited from cliff collapse on this...
void SetPreExistingUnconsSand(double const)
Set the value of pre-existing unconsolidated sand sediment stored on this polygon.
void SetSeawaterVolume(const double)
Set the volume of seawater in the coast polygon.
double m_dCliffCollapseSandErodedDeanProfile
Depth of sand unconsolidated sediment eroded during deposition of cliff collapse talus as a Dean prof...
double dGetCliffCollapseFineErodedDeanProfile(void) const
vector< int > m_VnCircularityWith
If this polygon has a circular unconsolidated-sediment-movement relationship with one or more other p...
void AddCliffCollapseErosionCoarse(double const)
Add to the this-iteration total of unconsolidated coarse sediment from cliff collapse on this polygon...
int nGetNumPointsUsedUpCoastProfile(void) const
Return the number of points in the up-coast profile.
double m_dLength
Coast polygon length.
double m_dBeachSandErodedDeanProfile
Depth of sand unconsolidated sediment eroded during beach deposition as a Dean profile.
double dGetPreExistingConsSand(void) const
Get the value of pre-existing consolidated sand sediment stored on this polygon.
double dGetUpCoastAdjacentPolygonBoundaryShare(int const) const
Gets the boundary shares for all up-coast adjacent polygons.
void AddPotentialErosion(double const)
Adds in potential beach erosion of unconsolidated sediment (all size classes) on this polygon (m_dPot...
int nGetUpCoastAdjacentPolygon(int const) const
Gets a single up-coast adjacent polygon.
bool m_bCoastEndPolygon
Is this polygon at the end of the coastline?
double dGetCliffCollapseErosionFine(void) const
Get the this-iteration total of unconsolidated fine sediment eroded from cliff collapse on this polyg...
double dGetPlatformErosionToSuspensionUnconsFine(void) const
Get the this-iteration total of unconsolidated sand sediment moved to suspension derived from shore p...
CGeom2DIPoint PtiGetFillStartPoint(void)
void SetBeachDepositionUnconsCoarse(double const)
Sets the depth of coarse-sized unconsolidated sediment deposited on this polygon during this timestep...
double dGetPlatformErosionUnconsCoarse(void) const
Get the this-iteration total of unconsolidated coarse sediment derived from shore platform erosion on...
CGeom2DPoint * pPtGetBoundaryPoint(int const)
Get the coordinates (external CRS) of a specified point on the polygon's boundary.
void AddCliffCollapseSandErodedDeanProfile(double const)
Add to the this-iteration total of unconsolidated sand sediment eroded during deposition of cliff col...
double dGetCliffCollapseCoarseErodedDeanProfile(void) const
Get the this-iteration total of unconsolidated coarse sediment eroded during deposition of cliff coll...
int m_nCoastID
This-coast-only number of this polygon.
double m_dBeachCoarseErodedDeanProfile
Depth of coarse unconsolidated sediment eroded during beach deposition as a Dean profile.
void AddBeachSandErodedDeanProfile(double const)
Adds a depth (in m) of sand sediment eroded during beach Dean profile deposition.
double dGetSedimentInputUnconsFine(void) const
Get the value of fine sediment on the polygon derived from sediment input events(s)
void SetSedimentInputUnconsCoarse(double const)
Set the value of coarse sediment on the polygon derived from sediment input events(s)
CGeom2DIPoint m_PtiNode
Coordinates of the coast node cell (raster grid CRS)
int nGetNumUpCoastAdjacentPolygons(void) const
Gets all up-coast adjacent polygons.
double dGetPreExistingConsFine(void) const
Get the value of pre-existing consolidated fine sediment stored on this polygon.
int m_nNumCells
The number of cells in the polygon.
double m_dSedimentInputCoarse
Depth of coarse sediment added from this-iteration sediment input event(s)
void SetDownCoastThisIter(bool const)
Set a flag to say whether sediment movement on this polygon is downcoast this iteration.
void SetZeroToDoDepositionUnconsSand(void)
Re-initializes this timestep's still-to-do deposition of unconsolidated sand sediment (from beach red...
void AddPlatformErosionToSuspensionUnconsFine(double const)
Add to the this-iteration total of unconsolidated fine sediment moved to suspension and derived from ...
int m_nGlobalID
The simulation-global number of this polygon.
double m_dPlatformErosionToSuspensionFine
Depth of fine sediment moved to suspension from shore platform erosion.
int nGetGlobalID(void) const
Get the global ID.
void AddCliffCollapseErosionFine(double const)
Add to the this-iteration total of unconsolidated fine sediment eroded from cliff collapse on this po...
double dGetCliffCollapseUnconsCoarseDeposition(void) const
Get the this-iteration total of unconsolidated coarse sediment deposited from cliff collapse on this ...
double m_dCliffCollapseCoarseErodedDeanProfile
Depth of coarse unconsolidated sediment eroded during deposition of cliff collapse talus as a Dean pr...
void Display(void) override
Instantiates the pure virtual function in the abstract parent class, so that CGeomCoastPolygon is not...
double dGetSeawaterVolume(void) const
Get the volume of seawater in the coast polygon.
double dGetDownCoastAdjacentPolygonBoundaryShare(int const) const
Gets the boundary shares for all down-coast adjacent polygons.
void AddCliffCollapseCoarseErodedDeanProfile(double const)
Add to the this-iteration total of unconsolidated coarse sediment eroded during deposition of cliff c...
double m_dPotentialBeachErosionAllUncons
Potential (ignoring supply-limitation) erosion of unconsolidated sediment (all size classes) as a dep...
void SetBeachErosionUnconsFine(double const)
Sets a value (must be < 0) for this timestep's erosion of fine unconsolidated sediment (beach redistr...
double m_dPreExistingConsCoarse
Depth of pre-existing consolidated coarse sediment.
int m_nCoastNode
The point on this polygon's coastline segment with maximum concave curvature, roughly at the middle o...
int m_nProfileDownCoast
The normal profile which bounds the polygon in the down-coast direction.
double m_dBeachErosionUnconsFine
Erosion (considering supply-limitation) of fine-sized unconsolidated sediment as a depth this timeste...
int nGetNumVertices(void) const
Returns the number of vertices for this polygon.
double dGetPreExistingUnconsFine(void) const
Get the value of pre-existing unconsolidated fine sediment stored on this polygon.
void SetBeachDepositionUnconsSand(double const)
Sets the depth of sand-sized unconsolidated sediment deposited on this polygon during this timestep (...
void SetZeroToDoDepositionUnconsCoarse(void)
Re-initializes this timestep's still-to-do deposition of unconsolidated coarse sediment (from beach r...
double m_dBeachErosionUnconsCoarse
Erosion (considering supply-limitation) of coarse-sized unconsolidated sediment as a depth this times...
double dGetBeachDepositionAndSuspensionAllUncons(void) const
Returns this timestep's total (all size classes) deposition and to-suspension movement of unconsolida...
double m_dPlatformErosionUnconsSand
Depth of unconsolidated sand sediment from shore platform erosion.
void SetCoastStartPolygon(void)
Set this coast polygon as the coast-start polygon.
void SetDownCoastAdjacentPolygonBoundaryShares(vector< double > const *)
Sets the boundary shares for all down-coast adjacent polygons.
double m_dBeachDepositionUnconsCoarse
Depth of coarse-sized unconsolidated sediment deposited on this polygon during this timestep (+ve,...
void AddToDoBeachDepositionUnconsCoarse(double const)
Adds a depth (in m) of coarse unconsolidated sediment to this timestep's still-to-do deposition of un...
void AddPlatformErosionUnconsSand(double const)
Add to the this-iteration total of unconsolidated sand sediment derived from shore platform erosion o...
CGeom2DIPoint m_PtiAntinode
Coordinates of the cell (raster grid CRS) which is at other (seaward) end of the polygon.
double m_dToDoBeachDepositionUnconsSand
Still-to-do depth (m) of sand-sized unconsolidated sediment to be deposited this timestep (+ve),...
int nGetNodeCoastPoint(void) const
Get the coast node point.
int nGetDownCoastAdjacentPolygon(int const) const
Gets a single down-coast adjacent polygon.
int nGetUpCoastProfile(void) const
Return the number of the up-coast profile.
void SetLength(double const)
Sets the polygon's length.
int nGetNumDownCoastAdjacentPolygons(void) const
Gets all down-coast adjacent polygons.
double m_dPreExistingUnconsFine
Depth of pre-existing unconsolidated fine sediment.
double dGetToDoBeachDepositionUnconsSand(void) const
Returns this timestep's still-to-do deposition of sand-sized unconsolidated sediment (from beach redi...
bool m_bUnconsSedimentMovementDownCoastThisIter
Is the movement of unconsolidated sediment on this polygon down-coast during this iteration?
double m_dSedimentInputFine
Depth of fine sediment added from this-iteration sediment input event(s)
void SetPreExistingConsCoarse(double const)
Set the value of pre-existing consolidated coarse sediment stored on this polygon.
double m_dAvgUnconsD50
The average d50 of unconsolidated sediment on this polygon.
void SetAvgUnconsD50(double const)
Set the average d50 for unconsolidated sediment on this polygon.
void AddCliffCollapseFineErodedDeanProfile(double const)
double dGetBeachErosionUnconsFine(void) const
Returns this timestep's erosion (a value < 0) of fine unconsolidated sediment (beach redistribution o...
double dGetCliffCollapseErosionSand(void) const
Get the this-iteration total of unconsolidated sand sediment from cliff collapse on this polygon,...
double m_dCliffCollapseErosionFine
Depth of eroded fine sediment from cliff collapse (is always equal to m_dCliffCollapseToSuspensionFin...
int nGetBoundarySize(void) const
Get the number of points in the polygon's boundary.
double dGetAvgUnconsD50(void) const
Get the average d50 for unconsolidated sediment on this polygon.
~CGeomCoastPolygon(void) override
Destructor.
void SetPreExistingUnconsCoarse(double const)
Set the value of pre-existing unconsolidated coarse sediment stored on this polygon.
double m_dCliffCollapseTalusCoarse
Depth of unconsolidated coarse talus from cliff collapse.
void AppendVertex(CGeom2DIPoint const *)
Appends the point cordinates (grid CRS) for a polygon vertex.
double dGetSuspensionUnconsFine(void) const
Returns this timestep's to-suspension movement of fine unconsolidated sediment on this polygon,...
int m_nProfileDownCoastNumPointsUsed
The number of points from the down-coast normal which are part of this polygon (less than the normal'...
double m_dSuspensionUnconsFine
To-suspension movement of fine-sized sediment as a depth this timestep (+ve) ALL PROCESSES TODO *** C...
double dGetPlatformErosionUnconsSand(void) const
Get the this-iteration total of unconsolidated sand sediment derived from shore platform erosion on t...
double dGetPreExistingUnconsCoarse(void) const
Get the value of pre-existing unconsolidated coarse sediment stored on this polygon.
double m_dCliffCollapseErosionSand
Depth of eroded sand sediment from cliff collapse, note that this does not include sand sediment erod...
double dGetCliffCollapseSandErodedDeanProfile(void) const
Get the this-iteration total of unconsolidated sand sediment eroded during deposition of cliff collap...
double m_dPreExistingConsSand
Depth of pre-existing consolidated sand sediment.
void AddCliffCollapseErosionSand(double const)
Add to the this-iteration total of unconsolidated sand sediment from cliff collapse on this polygon,...
void SetDownCoastAdjacentPolygons(vector< int > const *)
Sets all down-coast adjacent polygons.
double dGetPreExistingConsCoarse(void) const
Get the value of pre-existing consolidated coarse sediment stored on this polygon.
void SetBeachErosionUnconsSand(double const)
Sets a value (must be < 0) for this timestep's erosion of sand-sized unconsolidated sediment (beach r...
double m_dCliffCollapseErosionCoarse
Depth of eroded coarse sediment from cliff collapse, note that this does not include coarse sediment ...
double dGetSedimentInputUnconsCoarse(void) const
Get the value of coarse sediment on the polygon derived from sediment input events(s)
void SetUpCoastAdjacentPolygonBoundaryShares(vector< double > const *)
Sets the boundary shares for all up-coast adjacent polygons.
void SetCoastEndPolygon(void)
Set this coast polygon as the coast-end polygon.
void AddPlatformErosionUnconsCoarse(double const)
Add to the this-iteration total of unconsolidated coarse sediment derived from shore platform erosion...
bool m_bCoastStartPolygon
Is this polygon at the start of the coastline?
double dGetBeachErosionUnconsCoarse(void) const
Returns this timestep's erosion (a value < 0) of coarse unconsolidated sediment (beach redistribution...
void SetUpCoastAdjacentPolygons(vector< int > const *)
Sets all up-coast adjacent polygons.
vector< double > m_VdDownCoastAdjacentPolygonBoundaryShare
The boundary share(s) (0 to 1) with adjacent up-coast polygon(s)
double dGeBeachErosionAllUncons(void) const
Returns this timestep's total (all size classes) beach erosion of unconsolidated sediment on this pol...
double m_dSedimentInputSand
Depth of sand sediment added from this-iteration sediment input event(s)
void SetPreExistingConsSand(double const)
Set the value of pre-existing consolidated sand sediment stored on this polygon.
int nGetDownCoastProfile(void) const
Return the number of the down-coast profile.
bool bDownCoastThisIter(void) const
Is sediment movement on this polygon downcoast this iteration?
int nGetCoastID(void) const
Get the coast ID, this is the same as the down-coast sequence.
void SetNumCellsInPolygon(int const)
Set the number of cells in the polygon.
CGeom2DIPoint PtiGetVertex(int const) const
Returns the point coordinates (grid CRS) for a single vertex of this polygon.
void AddCircularity(int const)
Add a circularity to this polygon.
void SetBeachErosionUnconsCoarse(double const)
Sets a value (must be < 0) for this timestep's erosion of coarse unconsolidated sediment (beach redis...
double m_dPlatformErosionUnconsCoarse
Depth of unconsolidated coarse sediment from shore platform erosion.
int m_nProfileUpCoast
The normal profile which bounds the polygon in the up-coast direction.
double m_dCliffCollapseTalusSand
Depth of unconsolidated sand talus from cliff collapse.
vector< int > VnGetCircularities(void) const
Get all circularities for this polygon.
CGeom2DIPoint * pPtiGetNode(void)
Get the grid coordinates of the cell on which the node sits.
double dGetToDoBeachDepositionUnconsCoarse(void) const
Returns this timestep's still-to-do deposition of coarse unconsolidated sediment (from beach redistri...