CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
Loading...
Searching...
No Matches
CGeomCell Class Reference

Geometry class for the cell objects which comprise the raster grid. More...

#include <cell.h>

Public Member Functions

 CGeomCell ()
 Constructor with initialization list.
 
 ~CGeomCell (void)
 Destructor.
 
void SetInContiguousSea (void)
 Set this cell as a sea cell.
 
bool bIsInContiguousSea (void) const
 Is this a sea cell?
 
void SetInContiguousFlood (void)
 TODO 007 What do this do? Does it duplicate SetInContiguousSea()?
 
void UnSetInContiguousFlood (void)
 TODO 007 What does this do? Is it just the inverse of SetInContiguousSea()?
 
void SetFloodBySetupSurge (void)
 TODO 007 What does this do? Set this cell as flood by setup surger.
 
bool bIsFloodBySetupSurge (void) const
 TODO 007 What does this do? Is this cell flood by setup surge?
 
void SetFloodBySetupSurgeRunup (void)
 TODO 007 What does this do? Set this cell as flood by setup surge runup.
 
bool bIsFloodBySetupSurgeRunup (void) const
 TODO 007 What does this do? Is this cell flood by setup surge runup?
 
bool bIsInContiguousFlood (void) const
 TODO 007 What does this do? Does it just duplicate bIsInContiguousSea()?
 
void SetInActiveZone (bool const)
 Sets a flag to show whether this cell is in the active zone.
 
bool bIsInActiveZone (void) const
 Returns a flag which shows whether this cell is in the active zone.
 
bool bPotentialPlatformErosion (void) const
 Returns true if this cell has had potential erosion this timestep.
 
void SetAsCoastline (bool const)
 Marks this cell as 'under' a coastline.
 
bool bIsCoastline (void) const
 Returns true if the cell is 'under' a coastline.
 
void SetAsFloodLine (bool const)
 Marks this cell is flood line.
 
bool bIsFloodLine (void) const
 Returns true if the cell is flood line.
 
void SetProfileID (int const)
 Marks this cell as 'under' a coastline-normal profile.
 
int nGetProfileID (void) const
 If this cell is 'under' a coastline-normal profile, returns the number of the profile. Otherwise it returns INT_NODATA.
 
bool bIsProfile (void) const
 Returns true if this cell is 'under' a coastline normal.
 
void SetShadowZoneBoundary (void)
 Sets a flag to show that this cell is a shadow zone boundary.
 
bool bIsShadowZoneBoundary (void) const
 Returns a flag which shows whether this cell is a shadow zone boundary.
 
void SetBoundingBoxEdge (int const)
 Set the edge number if this cell is an edge bounding-box cell.
 
int nGetBoundingBoxEdge (void) const
 Returns the number of the bounding-box edge, or NO_DIRECTION if it is not.
 
bool bIsBoundingBoxEdge (void) const
 Is this an edge bounding-box cell?
 
void SetPossibleCoastStartCell (void)
 Sets a flag to show that this cell has been flagged as a possible start- or end-point for a coastline.
 
bool bIsPossibleCoastStartCell (void) const
 Returns a flag which shows whether this cell has been flagged as a possible start- or end-point for a coastline.
 
void SetPossibleFloodStartCell (void)
 TODO 007 What is this for? Sets a flag to show that this cell has been flagged as a possible start-point for a coastline.
 
void SetPolygonID (int const)
 Sets the global ID number of the polygon which 'contains' this cell.
 
int nGetPolygonID (void) const
 Returns the global ID number of the polygon which 'contains' this cell (returns INT_NODATA if the cell is not 'in' a polygon)
 
CRWCellLandformpGetLandform (void)
 Returns a pointer to this cell's CRWCellLandform object.
 
void SetWaveFlood (void)
 
bool bIsElevLessThanWaterLevel (void) const
 Returns true if the top elevation of this cell (sediment plus any intervention) is less than this iteration's total water level.
 
void SetCheckCell (void)
 
bool bIsCellCheck (void) const
 
void SetCheckFloodCell (void)
 Set this cell as checked (flood switch)
 
void UnSetCheckFloodCell (void)
 Set the cell as not checked (flood switch)
 
bool bIsCellFloodCheck (void) const
 Returns true if this cell is checked, false otherwise (flood switch)
 
void SetLocalConsSlope (double const)
 Sets the local slope of the consolidated sediment only.
 
double dGetLocalConsSlope (void) const
 Returns the local slope of the consolidated sediment only.
 
void SetBasementElev (double const)
 Sets this cell's basement elevation.
 
double dGetBasementElev (void) const
 Returns this cell's basement elevation.
 
bool bBasementElevIsMissingValue (void) const
 Returns true if this cells's basement data is NODATA, is needed for irregularly-shaped DEMs.
 
double dGetSedimentTopElev (void) const
 Returns the true elevation of the sediment's top surface for this cell (if there is a cliff notch, ignore the missing volume)
 
double dGetSedimentPlusInterventionTopElev (void) const
 Returns the true elevation of the sediment's top surface for this cell (if there is a cliff notch, ignore the missing volume) plus the height of any intervention.
 
double dGetOverallTopElev (void) const
 Returns the highest elevation of the cell, which is either the sediment top elevation plus intervention height, or the sea surface elevation.
 
bool bIsInundated (void) const
 Returns true if the elevation of the sediment top surface for this cell (plus any intervention) is less than the grid's this-timestep still water elevation.
 
double dGetThisIterSWL (void) const
 Returns the sea surface elevation at current iteration.
 
double dGetThisIterTotWaterLevel (void) const
 Returns the total water level at current iteration.
 
void SetSeaDepth (void)
 Returns the depth of seawater on this cell if the sediment top is < SWL, or zero.
 
double dGetSeaDepth (void) const
 Returns the depth of seawater on this cell.
 
void InitCell (void)
 Initialise values for this cell.
 
double dGetTotSeaDepth (void) const
 Returns the total depth of seawater on this cell.
 
void SetWaveHeight (double const)
 Sets the wave height on this cell, also increments the total wave height.
 
double dGetWaveHeight (void) const
 Returns the wave height on this cell.
 
double dGetTotWaveHeight (void) const
 Returns the total wave height on this cell.
 
void SetWaveAngle (double const)
 Sets the wave orientation on this cell, also increments the total wave orientation.
 
double dGetWaveAngle (void) const
 Returns the wave orientation on this cell.
 
double dGetTotWaveAngle (void) const
 Returns the total wave orientation on this cell.
 
void SetCellDeepWaterWaveHeight (double const)
 Sets the deep water wave height on this cell.
 
double dGetCellDeepWaterWaveHeight (void) const
 Returns the deep water wave height on this cell.
 
void SetCellDeepWaterWaveAngle (double const)
 Sets the deep water wave orientation on this cell.
 
double dGetCellDeepWaterWaveAngle (void) const
 Returns the deep water wave orientation on this cell.
 
void SetCellDeepWaterWavePeriod (double const)
 Sets the deep water wave Period on this cell.
 
double dGetCellDeepWaterWavePeriod (void) const
 Returns the deep water wave period on this cell.
 
void SetWaveValuesToDeepWaterWaveValues (void)
 Sets wave height to the deep water wave height value, and sets wave orientation to the deep water wave orientation value.
 
void SetBeachProtectionFactor (double const)
 
double dGetBeachProtectionFactor (void) const
 Returns this cell's beach protection factor.
 
void SetSuspendedSediment (double const)
 Sets this cell's suspended sediment depth equivalent, it also increments the running total of suspended sediment depth equivalent.
 
void AddSuspendedSediment (double const)
 Adds to this cell's suspended sediment depth equivalent, it also increments the running total of suspended sediment depth equivalent.
 
double dGetSuspendedSediment (void) const
 Returns the suspended sediment depth equivalent on this cell.
 
double dGetTotSuspendedSediment (void) const
 Returns the total suspended sediment depth equivalent on this cell.
 
int nGetTopNonZeroLayerAboveBasement (void) const
 Returns the index of the topmost sediment layer (layer 0 being the one just above basement) with non-zero thickness. If there is no such layer, it returns NO_NONZERO_THICKNESS_LAYERS.
 
int nGetTopLayerAboveBasement (void) const
 Returns the index of the topmost sediment layer (layer 0 being the one just above basement), which could have zero thickness.
 
double dGetConsSedTopForLayerAboveBasement (int const) const
 Returns the elevation of the top of the consolidated sediment only, for a given layer (layer 0 being the one just above basement)
 
CRWCellLayerpGetLayerAboveBasement (int const)
 Return a reference to the Nth sediment layer (layer 0 being just above basement)
 
void AppendLayers (int const)
 Appends sediment layers.
 
void CalcAllLayerElevsAndD50 (void)
 For this cell, calculates the elevation of the top of every layer, and the d50 for the topmost unconsolidated sediment layer.
 
int nGetLayerAtElev (double const) const
 Given an elevation, this finds the index of the layer that contains that elevation (layer 0 being the first above the basement). Note that the elevation cannot exactly equal the elevation of the layer's top surface (this causes problems with e.g. cliff notches, which extend above this elevation)
 
double dCalcLayerElev (const int)
 For this cell, calculates the elevation of the top of a given layer.
 
double dGetTotConsFineThickConsiderNotch (void) const
 Returns the total thickness of fine consolidated sediment on this cell, minus the depth-equivalent of any cliff notch.
 
double dGetTotUnconsFine (void) const
 Returns the total thickness of fine unconsolidated sediment on this cell.
 
double dGetTotConsSandThickConsiderNotch (void) const
 Returns the total thickness of sand-sized consolidated sediment on this cell, minus the depth-equivalent of any cliff notch.
 
double dGetTotUnconsSand (void) const
 Returns the total thickness of sand-sized unconsolidated sediment on this cell.
 
double dGetTotConsCoarseThickConsiderNotch (void) const
 Returns the total thickness of coarse consolidated sediment on this cell, minus the depth-equivalent of any cliff notch.
 
double dGetTotUnconsCoarse (void) const
 Returns the total thickness of coarse unconsolidated sediment on this cell.
 
double dGetTotConsThickness (void) const
 Returns the total thickness of consolidated sediment (all size classes) on this cell.
 
double dGetTotUnconsThickness (void) const
 Returns the total thickness of unconsolidated sediment (all size classes) on this cell.
 
double dGetTotAllSedThickness (void) const
 Returns the total thickness of all sediment (all size classes) on this cell.
 
void SetPotentialPlatformErosion (double const)
 Set potential (unconstrained) shore platform erosion and increment total shore platform potential erosion.
 
double dGetPotentialPlatformErosion (void) const
 Get potential (unconstrained) shore platform erosion.
 
double dGetTotPotentialPlatformErosion (void) const
 Get total potential (unconstrained) shore platform erosion.
 
void SetActualPlatformErosion (double const)
 Set this-timestep actual (constrained) shore platform erosion and increment total actual shore platform erosion.
 
double dGetActualPlatformErosion (void) const
 Get actual (constrained) shore platform erosion.
 
double dGetTotActualPlatformErosion (void) const
 Get total actual (constrained) shore platform erosion.
 
void IncrCliffCollapseErosion (double const, double const, double const)
 Increments the fine, sand, and coarse depths of this-timestep cliff collapse on this cell, also increments the totals.
 
double dGetThisIterCliffCollapseErosionFine (void) const
 Returns the depth of this-timestep fine-sized sediment cliff collapse on this cell.
 
double dGetThisIterCliffCollapseErosionSand (void) const
 Returns the depth of this-timestep sand-sized sediment cliff collapse on this cell.
 
double dGetThisIterCliffCollapseErosionCoarse (void) const
 Returns the depth of this-timestep coarse-sized sediment cliff collapse on this cell.
 
double dGetTotCliffCollapseFine (void) const
 Returns the running total depth of fine-sized sediment eroded by cliff collapse on this cell.
 
double dGetTotCliffCollapseSand (void) const
 Returns the running total depth of sand-sized sediment eroded by cliff collapse on this cell.
 
double dGetTotCliffCollapseCoarse (void) const
 Returns the running total depth of coarse-sized sediment eroded by cliff collapse on this cell.
 
void AddSandTalusDeposition (double const)
 Increments the depth of this-timestep sand-sized talus from cliff collapse on this cell, also increments the total.
 
double dGetThisIterCliffCollapseSandTalusDeposition (void) const
 Returns the depth of this-timestep sand talus deposition from cliff collapse on this cell.
 
double dGetTotSandTalusDeposition (void) const
 Returns the total depth of sand talus deposition from cliff collapse on this cell.
 
void AddCoarseTalusDeposition (double const)
 Increments the depth of this-timestep coarse-sized talus from cliff collapse on this cell, also increments the total.
 
double dGetThisIterCliffCollapseCoarseTalusDeposition (void) const
 Retuns the depth of this-timestep coarse talus deposition from cliff collapse on this cell.
 
double dGetTotCoarseTalusDeposition (void) const
 Returns the total depth of coarse talus deposition from cliff collapse on this cell.
 
void SetPotentialBeachErosion (double const)
 Set potential (unconstrained) beach erosion and increment total beach potential erosion.
 
double dGetPotentialBeachErosion (void) const
 Get potential (unconstrained) beach erosion.
 
double dGetTotPotentialBeachErosion (void) const
 Get total potential (supply-unconstrained) beach erosion.
 
void SetActualBeachErosion (double const)
 Set this-timestep actual (supply-constrained) beach erosion and increment total actual beach erosion.
 
double dGetActualBeachErosion (void) const
 Get actual (supply-constrained) beach erosion.
 
double dGetTotActualBeachErosion (void) const
 Get total actual (supply-constrained) beach erosion.
 
void IncrBeachDeposition (double const)
 Increment this-timestep beach deposition, also increment total beach deposition.
 
double dGetBeachDeposition (void) const
 Get beach deposition.
 
double dGetTotBeachDeposition (void) const
 Get beach erosion.
 
bool bBeachErosionOrDepositionThisIter (void) const
 Returns true only if this cell has had no deposition or erosion this timestep.
 
double dGetUnconsD50 (void) const
 Returns the D50 of unconsolidated sediment on this cell.
 
void SetInterventionClass (int const)
 Sets the landform category and subcategory for an intervention.
 
int nGetInterventionClass (void) const
 Gets the intervention class.
 
void SetInterventionHeight (double const)
 Sets the intervention height.
 
double dGetInterventionHeight (void) const
 Returns the intervention height.
 
double dGetInterventionTopElev (void) const
 Returns the elevation of the top of the intervention, assuming it rests on the sediment-top surface.
 
void SetShadowZoneNumber (int const)
 Set the number of the shadow zone that this cell is in.
 
int nGetShadowZoneNumber (void) const
 Gets the number of the shadow zone that this cell is in.
 
bool bIsinThisShadowZone (int const) const
 Returns true if this cell is in the shadow zone with number given by the parameter, false otherwise.
 
bool bIsinAnyShadowZone (void) const
 Returns true if this cell is in any shadow zone, false otherwise.
 
void SetDownDriftZoneNumber (int const)
 Sets the down drift zone number.
 
int nGetDownDriftZoneNumber (void) const
 Gets the down drift zone number.
 

Static Public Attributes

static CGeomRasterGridm_pGrid = NULL
 

Private Attributes

bool m_bInContiguousSea
 Switch to indicate if this is a sea cell, contiguous with other sea cells.
 
bool m_bInContiguousFlood
 TODO 007 What is this?
 
bool m_bIsInActiveZone
 Switch to indicate that this cell is in the active zone.
 
bool m_bCoastline
 Switch to indicate that this cell is 'under' a coastline.
 
bool m_bFloodLine
 TODO 007 What is this used for? Switch to indicate that this cell is 'under' a flood line.
 
bool m_bWaveFlood
 TODO 007 What is this used for? Switch to indicate that this cell is 'under' a wave flood line.
 
bool m_bCheckFloodCell
 TODO 007 What is this used for?
 
bool m_bShadowBoundary
 Switch to show this cell is 'under' a shadow boundaryu.
 
bool m_bPossibleCoastStartCell
 Switch to show that this cell could be the start of a coastline.
 
bool m_bPossibleFloodStartCell
 TODO 007 What is this used for?
 
bool m_bFloodBySetupSurge
 TODO 007 What is this used for?
 
bool m_bFloodBySetupSurgeRunup
 TODO 007 What is this used for?
 
int m_nBoundingBoxEdge
 If this cell is an edge (or bounding box) cell, this specifies the edge.
 
int m_nPolygonID
 If this cell is within a polygon, this is the ID of the polygon.
 
int m_nCoastlineNormal
 If this cell is 'under' a coastline normal, this is the number of the normal.
 
int m_nShadowZoneNumber
 If this cell is within a shadow zone, this is the number of the shadow zone.
 
int m_nDownDriftZoneNumber
 If this cell is within a downdrift zone, this is the number of the downdrift zone.
 
double m_dLocalConsSlope
 Used in erosion calculations, stored here for display purposes.
 
double m_dBasementElevation
 Elevation of basement surface (m)
 
double m_dSeaDepth
 Depth of still water (m), is zero if not inundated.
 
double m_dTotSeaDepth
 Total depth of still water (m) since beginning of simulation (used to calc average)
 
double m_dWaveHeight
 Wave height (m)
 
double m_dTotWaveHeight
 Total wave height (m) (used to calc average)
 
double m_dWaveAngle
 Wave orientation.
 
double m_dWavePeriod
 Wave period (s)
 
double m_dTotWaveAngle
 Total wave orientation (used to calc average)
 
double m_dDeepWaterWaveHeight
 Wave height if this is a deep water cell.
 
double m_dDeepWaterWaveAngle
 Wave orientation if this is a deep water cell.
 
double m_dDeepWaterWavePeriod
 Wave period if this is a deep water cell.
 
double m_dBeachProtectionFactor
 Only meaningful if in zone of platform erosion. 0 is fully protected; 1 = no protection.
 
double m_dSuspendedSediment
 Suspended sediment as depth equivalent (m)
 
double m_dTotSuspendedSediment
 Total depth of suspended sediment (m) since simulation start (used to calc average)
 
double m_dPotentialPlatformErosionThisIter
 Depth of sediment on the shore platform that could be eroded this timestep, if no supply-limitation.
 
double m_dTotPotentialPlatformErosion
 Total depth of sediment eroded from the shore platform, if no supply-limitation.
 
double m_dActualPlatformErosionThisIter
 Depth of sediment actually eroded from the shore platform this timestep.
 
double m_dTotActualPlatformErosion
 Total depth of sediment actually eroded from the shore platform.
 
double m_dCliffCollapseFineThisIter
 Depth of fine sediment (consolidated and unconsolidated) removed via cliff collapse this timestep.
 
double m_dCliffCollapseSandThisIter
 Depth of sand sediment (consolidated and unconsolidated) removed via cliff collapse this timestep.
 
double m_dCliffCollapseCoarseThisIter
 Depth of coarse sediment (consolidated and unconsolidated) removed via cliff collapse this timestep.
 
double m_dTotFineCliffCollapse
 Total depth of fine sediment (consolidated and unconsolidated) removed via cliff collapse.
 
double m_dTotSandCliffCollapse
 Total depth of sand sediment (consolidated and unconsolidated) removed via cliff collapse.
 
double m_dTotCoarseCliffCollapse
 Total depth of coarse sediment (consolidated and unconsolidated) removed via cliff collapse.
 
double m_dTalusSandDepositionThisIter
 Depth of unconsolidated sand sediment deposited as a result of cliff collapse this timestep.
 
double m_dTotTalusSandDeposition
 Total depth of unconsolidated sand sediment deposited as a result of cliff collapse.
 
double m_dTalusCoarseDepositionThisIter
 Depth of unconsolidated coarse sediment deposited as a result of cliff collapse this timestep.
 
double m_dTotTalusCoarseDeposition
 Total depth of unconsolidated coarse sediment deposited as a result of cliff collapse.
 
double m_dPotentialBeachErosionThisIter
 Depth of unconsolidated beach sediment that could be eroded this timestep, if no supply-limitation.
 
double m_dTotPotentialBeachErosion
 Total depth of unconsolidated beach sediment eroded; if no supply-limitation.
 
double m_dActualBeachErosionThisIter
 Depth of unconsolidated beach sediment actually eroded this timestep.
 
double m_dTotActualBeachErosion
 Total depth of unconsolidated beach sediment actually eroded.
 
double m_dBeachDepositionThisIter
 Depth of unconsolidated beach sediment deposited this timestep.
 
double m_dTotBeachDeposition
 Total depth of unconsolidated beach sediment deposited.
 
double m_dUnconsD50
 d50 of unconsolidated sediment on top layer with unconsolidated sediment depth > 0
 
double m_dInterventionHeight
 Height of intervention structure.
 
CRWCellLandform m_Landform
 This cell's landform data.
 
vector< CRWCellLayerm_VLayerAboveBasement
 Number of layers NOT including the basement. Layer 0 is the lowest.
 
vector< double > m_VdAllHorizonTopElev
 Number of layer-top elevations (inc. that of the basement, which is m_VdAllHorizonTopElev[0]); size 1 greater than size of m_VLayerAboveBasement.
 

Friends

class CSimulation
 

Detailed Description

Geometry class for the cell objects which comprise the raster grid.

TODO 001 This is a more detailed description of the CGeomCell class.

Author
David Favis-Mortlock
Andres Payo
Date
2025

Definition at line 32 of file cell.h.

Constructor & Destructor Documentation

◆ CGeomCell()

CGeomCell::CGeomCell ( )

Constructor with initialization list.

Definition at line 29 of file cell.cpp.

◆ ~CGeomCell()

CGeomCell::~CGeomCell ( void )

Destructor.

Definition at line 86 of file cell.cpp.

Member Function Documentation

◆ AddCoarseTalusDeposition()

void CGeomCell::AddCoarseTalusDeposition ( double const dDepth)

Increments the depth of this-timestep coarse-sized talus from cliff collapse on this cell, also increments the total.

Definition at line 1004 of file cell.cpp.

◆ AddSandTalusDeposition()

void CGeomCell::AddSandTalusDeposition ( double const dDepth)

Increments the depth of this-timestep sand-sized talus from cliff collapse on this cell, also increments the total.

Definition at line 997 of file cell.cpp.

◆ AddSuspendedSediment()

void CGeomCell::AddSuspendedSediment ( double const dIncSedDepth)

Adds to this cell's suspended sediment depth equivalent, it also increments the running total of suspended sediment depth equivalent.

Definition at line 447 of file cell.cpp.

◆ AppendLayers()

void CGeomCell::AppendLayers ( int const nLayer)

Appends sediment layers.

Definition at line 687 of file cell.cpp.

◆ bBasementElevIsMissingValue()

bool CGeomCell::bBasementElevIsMissingValue ( void ) const

Returns true if this cells's basement data is NODATA, is needed for irregularly-shaped DEMs.

Definition at line 418 of file cell.cpp.

◆ bBeachErosionOrDepositionThisIter()

bool CGeomCell::bBeachErosionOrDepositionThisIter ( void ) const

Returns true only if this cell has had no deposition or erosion this timestep.

Definition at line 1104 of file cell.cpp.

◆ bIsBoundingBoxEdge()

bool CGeomCell::bIsBoundingBoxEdge ( void ) const

Is this an edge bounding-box cell?

Definition at line 103 of file cell.cpp.

◆ bIsCellCheck()

bool CGeomCell::bIsCellCheck ( void ) const

◆ bIsCellFloodCheck()

bool CGeomCell::bIsCellFloodCheck ( void ) const

Returns true if this cell is checked, false otherwise (flood switch)

Definition at line 370 of file cell.cpp.

◆ bIsCoastline()

bool CGeomCell::bIsCoastline ( void ) const

Returns true if the cell is 'under' a coastline.

Definition at line 228 of file cell.cpp.

◆ bIsElevLessThanWaterLevel()

bool CGeomCell::bIsElevLessThanWaterLevel ( void ) const

Returns true if the top elevation of this cell (sediment plus any intervention) is less than this iteration's total water level.

Definition at line 340 of file cell.cpp.

◆ bIsFloodBySetupSurge()

bool CGeomCell::bIsFloodBySetupSurge ( void ) const

TODO 007 What does this do? Is this cell flood by setup surge?

Definition at line 139 of file cell.cpp.

◆ bIsFloodBySetupSurgeRunup()

bool CGeomCell::bIsFloodBySetupSurgeRunup ( void ) const

TODO 007 What does this do? Is this cell flood by setup surge runup?

Definition at line 151 of file cell.cpp.

◆ bIsFloodLine()

bool CGeomCell::bIsFloodLine ( void ) const

Returns true if the cell is flood line.

Definition at line 240 of file cell.cpp.

◆ bIsInActiveZone()

bool CGeomCell::bIsInActiveZone ( void ) const

Returns a flag which shows whether this cell is in the active zone.

Definition at line 169 of file cell.cpp.

◆ bIsinAnyShadowZone()

bool CGeomCell::bIsinAnyShadowZone ( void ) const

Returns true if this cell is in any shadow zone, false otherwise.

Definition at line 300 of file cell.cpp.

◆ bIsInContiguousFlood()

bool CGeomCell::bIsInContiguousFlood ( void ) const

TODO 007 What does this do? Does it just duplicate bIsInContiguousSea()?

Definition at line 157 of file cell.cpp.

◆ bIsInContiguousSea()

bool CGeomCell::bIsInContiguousSea ( void ) const

Is this a sea cell?

Definition at line 115 of file cell.cpp.

◆ bIsinThisShadowZone()

bool CGeomCell::bIsinThisShadowZone ( int const nZone) const

Returns true if this cell is in the shadow zone with number given by the parameter, false otherwise.

Definition at line 291 of file cell.cpp.

◆ bIsInundated()

bool CGeomCell::bIsInundated ( void ) const

Returns true if the elevation of the sediment top surface for this cell (plus any intervention) is less than the grid's this-timestep still water elevation.

Definition at line 547 of file cell.cpp.

◆ bIsPossibleCoastStartCell()

bool CGeomCell::bIsPossibleCoastStartCell ( void ) const

Returns a flag which shows whether this cell has been flagged as a possible start- or end-point for a coastline.

Definition at line 193 of file cell.cpp.

◆ bIsProfile()

bool CGeomCell::bIsProfile ( void ) const

Returns true if this cell is 'under' a coastline normal.

Definition at line 258 of file cell.cpp.

◆ bIsShadowZoneBoundary()

bool CGeomCell::bIsShadowZoneBoundary ( void ) const

Returns a flag which shows whether this cell is a shadow zone boundary.

Definition at line 181 of file cell.cpp.

◆ bPotentialPlatformErosion()

bool CGeomCell::bPotentialPlatformErosion ( void ) const

Returns true if this cell has had potential erosion this timestep.

Definition at line 211 of file cell.cpp.

◆ CalcAllLayerElevsAndD50()

void CGeomCell::CalcAllLayerElevsAndD50 ( void )

For this cell, calculates the elevation of the top of every layer, and the d50 for the topmost unconsolidated sediment layer.

Definition at line 694 of file cell.cpp.

◆ dCalcLayerElev()

double CGeomCell::dCalcLayerElev ( const int nLayer)

For this cell, calculates the elevation of the top of a given layer.

Definition at line 742 of file cell.cpp.

◆ dGetActualBeachErosion()

double CGeomCell::dGetActualBeachErosion ( void ) const

Get actual (supply-constrained) beach erosion.

Definition at line 1061 of file cell.cpp.

◆ dGetActualPlatformErosion()

double CGeomCell::dGetActualPlatformErosion ( void ) const

Get actual (constrained) shore platform erosion.

Definition at line 780 of file cell.cpp.

◆ dGetBasementElev()

double CGeomCell::dGetBasementElev ( void ) const

Returns this cell's basement elevation.

Definition at line 412 of file cell.cpp.

◆ dGetBeachDeposition()

double CGeomCell::dGetBeachDeposition ( void ) const

Get beach deposition.

Definition at line 1086 of file cell.cpp.

◆ dGetBeachProtectionFactor()

double CGeomCell::dGetBeachProtectionFactor ( void ) const

Returns this cell's beach protection factor.

Definition at line 943 of file cell.cpp.

◆ dGetCellDeepWaterWaveAngle()

double CGeomCell::dGetCellDeepWaterWaveAngle ( void ) const

Returns the deep water wave orientation on this cell.

Definition at line 911 of file cell.cpp.

◆ dGetCellDeepWaterWaveHeight()

double CGeomCell::dGetCellDeepWaterWaveHeight ( void ) const

Returns the deep water wave height on this cell.

Definition at line 899 of file cell.cpp.

◆ dGetCellDeepWaterWavePeriod()

double CGeomCell::dGetCellDeepWaterWavePeriod ( void ) const

Returns the deep water wave period on this cell.

Definition at line 923 of file cell.cpp.

◆ dGetConsSedTopForLayerAboveBasement()

double CGeomCell::dGetConsSedTopForLayerAboveBasement ( int const nLayer) const

Returns the elevation of the top of the consolidated sediment only, for a given layer (layer 0 being the one just above basement)

Definition at line 492 of file cell.cpp.

◆ dGetInterventionHeight()

double CGeomCell::dGetInterventionHeight ( void ) const

Returns the intervention height.

Definition at line 1155 of file cell.cpp.

◆ dGetInterventionTopElev()

double CGeomCell::dGetInterventionTopElev ( void ) const

Returns the elevation of the top of the intervention, assuming it rests on the sediment-top surface.

Definition at line 1161 of file cell.cpp.

◆ dGetLocalConsSlope()

double CGeomCell::dGetLocalConsSlope ( void ) const

Returns the local slope of the consolidated sediment only.

Definition at line 400 of file cell.cpp.

◆ dGetOverallTopElev()

double CGeomCell::dGetOverallTopElev ( void ) const

Returns the highest elevation of the cell, which is either the sediment top elevation plus intervention height, or the sea surface elevation.

Definition at line 541 of file cell.cpp.

◆ dGetPotentialBeachErosion()

double CGeomCell::dGetPotentialBeachErosion ( void ) const

Get potential (unconstrained) beach erosion.

Definition at line 1042 of file cell.cpp.

◆ dGetPotentialPlatformErosion()

double CGeomCell::dGetPotentialPlatformErosion ( void ) const

Get potential (unconstrained) shore platform erosion.

Definition at line 761 of file cell.cpp.

◆ dGetSeaDepth()

double CGeomCell::dGetSeaDepth ( void ) const

Returns the depth of seawater on this cell.

Definition at line 427 of file cell.cpp.

Referenced by CGeomProfile::nGetCellGivenDepth().

◆ dGetSedimentPlusInterventionTopElev()

double CGeomCell::dGetSedimentPlusInterventionTopElev ( void ) const

Returns the true elevation of the sediment's top surface for this cell (if there is a cliff notch, ignore the missing volume) plus the height of any intervention.

Definition at line 535 of file cell.cpp.

◆ dGetSedimentTopElev()

double CGeomCell::dGetSedimentTopElev ( void ) const

Returns the true elevation of the sediment's top surface for this cell (if there is a cliff notch, ignore the missing volume)

Definition at line 529 of file cell.cpp.

◆ dGetSuspendedSediment()

double CGeomCell::dGetSuspendedSediment ( void ) const

Returns the suspended sediment depth equivalent on this cell.

Definition at line 455 of file cell.cpp.

◆ dGetThisIterCliffCollapseCoarseTalusDeposition()

double CGeomCell::dGetThisIterCliffCollapseCoarseTalusDeposition ( void ) const

Retuns the depth of this-timestep coarse talus deposition from cliff collapse on this cell.

Definition at line 1017 of file cell.cpp.

◆ dGetThisIterCliffCollapseErosionCoarse()

double CGeomCell::dGetThisIterCliffCollapseErosionCoarse ( void ) const

Returns the depth of this-timestep coarse-sized sediment cliff collapse on this cell.

Definition at line 973 of file cell.cpp.

◆ dGetThisIterCliffCollapseErosionFine()

double CGeomCell::dGetThisIterCliffCollapseErosionFine ( void ) const

Returns the depth of this-timestep fine-sized sediment cliff collapse on this cell.

Definition at line 961 of file cell.cpp.

◆ dGetThisIterCliffCollapseErosionSand()

double CGeomCell::dGetThisIterCliffCollapseErosionSand ( void ) const

Returns the depth of this-timestep sand-sized sediment cliff collapse on this cell.

Definition at line 967 of file cell.cpp.

◆ dGetThisIterCliffCollapseSandTalusDeposition()

double CGeomCell::dGetThisIterCliffCollapseSandTalusDeposition ( void ) const

Returns the depth of this-timestep sand talus deposition from cliff collapse on this cell.

Definition at line 1011 of file cell.cpp.

◆ dGetThisIterSWL()

double CGeomCell::dGetThisIterSWL ( void ) const

Returns the sea surface elevation at current iteration.

Definition at line 553 of file cell.cpp.

◆ dGetThisIterTotWaterLevel()

double CGeomCell::dGetThisIterTotWaterLevel ( void ) const

Returns the total water level at current iteration.

Definition at line 559 of file cell.cpp.

◆ dGetTotActualBeachErosion()

double CGeomCell::dGetTotActualBeachErosion ( void ) const

Get total actual (supply-constrained) beach erosion.

Definition at line 1067 of file cell.cpp.

◆ dGetTotActualPlatformErosion()

double CGeomCell::dGetTotActualPlatformErosion ( void ) const

Get total actual (constrained) shore platform erosion.

Definition at line 786 of file cell.cpp.

◆ dGetTotAllSedThickness()

double CGeomCell::dGetTotAllSedThickness ( void ) const

Returns the total thickness of all sediment (all size classes) on this cell.

Definition at line 681 of file cell.cpp.

◆ dGetTotBeachDeposition()

double CGeomCell::dGetTotBeachDeposition ( void ) const

Get beach erosion.

Definition at line 1092 of file cell.cpp.

◆ dGetTotCliffCollapseCoarse()

double CGeomCell::dGetTotCliffCollapseCoarse ( void ) const

Returns the running total depth of coarse-sized sediment eroded by cliff collapse on this cell.

Definition at line 991 of file cell.cpp.

◆ dGetTotCliffCollapseFine()

double CGeomCell::dGetTotCliffCollapseFine ( void ) const

Returns the running total depth of fine-sized sediment eroded by cliff collapse on this cell.

Definition at line 979 of file cell.cpp.

◆ dGetTotCliffCollapseSand()

double CGeomCell::dGetTotCliffCollapseSand ( void ) const

Returns the running total depth of sand-sized sediment eroded by cliff collapse on this cell.

Definition at line 985 of file cell.cpp.

◆ dGetTotCoarseTalusDeposition()

double CGeomCell::dGetTotCoarseTalusDeposition ( void ) const

Returns the total depth of coarse talus deposition from cliff collapse on this cell.

Definition at line 1029 of file cell.cpp.

◆ dGetTotConsCoarseThickConsiderNotch()

double CGeomCell::dGetTotConsCoarseThickConsiderNotch ( void ) const

Returns the total thickness of coarse consolidated sediment on this cell, minus the depth-equivalent of any cliff notch.

Definition at line 635 of file cell.cpp.

◆ dGetTotConsFineThickConsiderNotch()

double CGeomCell::dGetTotConsFineThickConsiderNotch ( void ) const

Returns the total thickness of fine consolidated sediment on this cell, minus the depth-equivalent of any cliff notch.

Definition at line 583 of file cell.cpp.

◆ dGetTotConsSandThickConsiderNotch()

double CGeomCell::dGetTotConsSandThickConsiderNotch ( void ) const

Returns the total thickness of sand-sized consolidated sediment on this cell, minus the depth-equivalent of any cliff notch.

Definition at line 609 of file cell.cpp.

◆ dGetTotConsThickness()

double CGeomCell::dGetTotConsThickness ( void ) const

Returns the total thickness of consolidated sediment (all size classes) on this cell.

Definition at line 661 of file cell.cpp.

Referenced by dGetTotAllSedThickness().

◆ dGetTotPotentialBeachErosion()

double CGeomCell::dGetTotPotentialBeachErosion ( void ) const

Get total potential (supply-unconstrained) beach erosion.

Definition at line 1048 of file cell.cpp.

◆ dGetTotPotentialPlatformErosion()

double CGeomCell::dGetTotPotentialPlatformErosion ( void ) const

Get total potential (unconstrained) shore platform erosion.

Definition at line 767 of file cell.cpp.

◆ dGetTotSandTalusDeposition()

double CGeomCell::dGetTotSandTalusDeposition ( void ) const

Returns the total depth of sand talus deposition from cliff collapse on this cell.

Definition at line 1023 of file cell.cpp.

◆ dGetTotSeaDepth()

double CGeomCell::dGetTotSeaDepth ( void ) const

Returns the total depth of seawater on this cell.

Definition at line 433 of file cell.cpp.

◆ dGetTotSuspendedSediment()

double CGeomCell::dGetTotSuspendedSediment ( void ) const

Returns the total suspended sediment depth equivalent on this cell.

Definition at line 461 of file cell.cpp.

◆ dGetTotUnconsCoarse()

double CGeomCell::dGetTotUnconsCoarse ( void ) const

Returns the total thickness of coarse unconsolidated sediment on this cell.

Definition at line 651 of file cell.cpp.

◆ dGetTotUnconsFine()

double CGeomCell::dGetTotUnconsFine ( void ) const

Returns the total thickness of fine unconsolidated sediment on this cell.

Definition at line 599 of file cell.cpp.

◆ dGetTotUnconsSand()

double CGeomCell::dGetTotUnconsSand ( void ) const

Returns the total thickness of sand-sized unconsolidated sediment on this cell.

Definition at line 625 of file cell.cpp.

◆ dGetTotUnconsThickness()

double CGeomCell::dGetTotUnconsThickness ( void ) const

Returns the total thickness of unconsolidated sediment (all size classes) on this cell.

Definition at line 671 of file cell.cpp.

Referenced by dGetTotAllSedThickness().

◆ dGetTotWaveAngle()

double CGeomCell::dGetTotWaveAngle ( void ) const

Returns the total wave orientation on this cell.

Definition at line 887 of file cell.cpp.

◆ dGetTotWaveHeight()

double CGeomCell::dGetTotWaveHeight ( void ) const

Returns the total wave height on this cell.

Definition at line 868 of file cell.cpp.

◆ dGetUnconsD50()

double CGeomCell::dGetUnconsD50 ( void ) const

Returns the D50 of unconsolidated sediment on this cell.

Definition at line 1113 of file cell.cpp.

◆ dGetWaveAngle()

double CGeomCell::dGetWaveAngle ( void ) const

Returns the wave orientation on this cell.

Definition at line 881 of file cell.cpp.

◆ dGetWaveHeight()

double CGeomCell::dGetWaveHeight ( void ) const

Returns the wave height on this cell.

Definition at line 862 of file cell.cpp.

◆ IncrBeachDeposition()

void CGeomCell::IncrBeachDeposition ( double const dThisDeposition)

Increment this-timestep beach deposition, also increment total beach deposition.

Definition at line 1079 of file cell.cpp.

◆ IncrCliffCollapseErosion()

void CGeomCell::IncrCliffCollapseErosion ( double const dFineDepth,
double const dSandDepth,
double const dCoarseDepth )

Increments the fine, sand, and coarse depths of this-timestep cliff collapse on this cell, also increments the totals.

Definition at line 949 of file cell.cpp.

◆ InitCell()

void CGeomCell::InitCell ( void )

Initialise values for this cell.

Definition at line 798 of file cell.cpp.

◆ nGetBoundingBoxEdge()

int CGeomCell::nGetBoundingBoxEdge ( void ) const

Returns the number of the bounding-box edge, or NO_DIRECTION if it is not.

Definition at line 97 of file cell.cpp.

◆ nGetDownDriftZoneNumber()

int CGeomCell::nGetDownDriftZoneNumber ( void ) const

Gets the down drift zone number.

Definition at line 382 of file cell.cpp.

◆ nGetInterventionClass()

int CGeomCell::nGetInterventionClass ( void ) const

Gets the intervention class.

Definition at line 1133 of file cell.cpp.

◆ nGetLayerAtElev()

int CGeomCell::nGetLayerAtElev ( double const dElev) const

Given an elevation, this finds the index of the layer that contains that elevation (layer 0 being the first above the basement). Note that the elevation cannot exactly equal the elevation of the layer's top surface (this causes problems with e.g. cliff notches, which extend above this elevation)

Returns ELEV_IN_BASEMENT if in basement, ELEV_ABOVE_SEDIMENT_TOP if higher than or equal to sediment top, or layer number (0 to n),

Definition at line 726 of file cell.cpp.

◆ nGetPolygonID()

int CGeomCell::nGetPolygonID ( void ) const

Returns the global ID number of the polygon which 'contains' this cell (returns INT_NODATA if the cell is not 'in' a polygon)

Definition at line 273 of file cell.cpp.

◆ nGetProfileID()

int CGeomCell::nGetProfileID ( void ) const

If this cell is 'under' a coastline-normal profile, returns the number of the profile. Otherwise it returns INT_NODATA.

Definition at line 252 of file cell.cpp.

◆ nGetShadowZoneNumber()

int CGeomCell::nGetShadowZoneNumber ( void ) const

Gets the number of the shadow zone that this cell is in.

Definition at line 285 of file cell.cpp.

◆ nGetTopLayerAboveBasement()

int CGeomCell::nGetTopLayerAboveBasement ( void ) const

Returns the index of the topmost sediment layer (layer 0 being the one just above basement), which could have zero thickness.

Definition at line 483 of file cell.cpp.

◆ nGetTopNonZeroLayerAboveBasement()

int CGeomCell::nGetTopNonZeroLayerAboveBasement ( void ) const

Returns the index of the topmost sediment layer (layer 0 being the one just above basement) with non-zero thickness. If there is no such layer, it returns NO_NONZERO_THICKNESS_LAYERS.

Definition at line 467 of file cell.cpp.

Referenced by InitCell().

◆ pGetLandform()

CRWCellLandform * CGeomCell::pGetLandform ( void )

Returns a pointer to this cell's CRWCellLandform object.

Definition at line 388 of file cell.cpp.

◆ pGetLayerAboveBasement()

CRWCellLayer * CGeomCell::pGetLayerAboveBasement ( int const nLayer)

Return a reference to the Nth sediment layer (layer 0 being just above basement)

Definition at line 509 of file cell.cpp.

◆ SetActualBeachErosion()

void CGeomCell::SetActualBeachErosion ( double const dThisActualErosion)

Set this-timestep actual (supply-constrained) beach erosion and increment total actual beach erosion.

Definition at line 1054 of file cell.cpp.

◆ SetActualPlatformErosion()

void CGeomCell::SetActualPlatformErosion ( double const dThisActualErosion)

Set this-timestep actual (constrained) shore platform erosion and increment total actual shore platform erosion.

Definition at line 773 of file cell.cpp.

◆ SetAsCoastline()

void CGeomCell::SetAsCoastline ( bool const bNewFlag)

Marks this cell as 'under' a coastline.

Definition at line 222 of file cell.cpp.

◆ SetAsFloodLine()

void CGeomCell::SetAsFloodLine ( bool const bNewFlag)

Marks this cell is flood line.

Definition at line 234 of file cell.cpp.

◆ SetBasementElev()

void CGeomCell::SetBasementElev ( double const dNewElev)

Sets this cell's basement elevation.

Definition at line 406 of file cell.cpp.

◆ SetBeachProtectionFactor()

void CGeomCell::SetBeachProtectionFactor ( double const dFactor)

Definition at line 937 of file cell.cpp.

◆ SetBoundingBoxEdge()

void CGeomCell::SetBoundingBoxEdge ( int const nDirection)

Set the edge number if this cell is an edge bounding-box cell.

Definition at line 91 of file cell.cpp.

◆ SetCellDeepWaterWaveAngle()

void CGeomCell::SetCellDeepWaterWaveAngle ( double const dWaveAngle)

Sets the deep water wave orientation on this cell.

Definition at line 905 of file cell.cpp.

◆ SetCellDeepWaterWaveHeight()

void CGeomCell::SetCellDeepWaterWaveHeight ( double const dWaveHeight)

Sets the deep water wave height on this cell.

Definition at line 893 of file cell.cpp.

◆ SetCellDeepWaterWavePeriod()

void CGeomCell::SetCellDeepWaterWavePeriod ( double const dWavePeriod)

Sets the deep water wave Period on this cell.

Definition at line 917 of file cell.cpp.

◆ SetCheckCell()

void CGeomCell::SetCheckCell ( void )

◆ SetCheckFloodCell()

void CGeomCell::SetCheckFloodCell ( void )

Set this cell as checked (flood switch)

Definition at line 358 of file cell.cpp.

◆ SetDownDriftZoneNumber()

void CGeomCell::SetDownDriftZoneNumber ( int const nCode)

Sets the down drift zone number.

Definition at line 376 of file cell.cpp.

◆ SetFloodBySetupSurge()

void CGeomCell::SetFloodBySetupSurge ( void )

TODO 007 What does this do? Set this cell as flood by setup surger.

Definition at line 133 of file cell.cpp.

◆ SetFloodBySetupSurgeRunup()

void CGeomCell::SetFloodBySetupSurgeRunup ( void )

TODO 007 What does this do? Set this cell as flood by setup surge runup.

Definition at line 145 of file cell.cpp.

◆ SetInActiveZone()

void CGeomCell::SetInActiveZone ( bool const bFlag)

Sets a flag to show whether this cell is in the active zone.

Definition at line 163 of file cell.cpp.

◆ SetInContiguousFlood()

void CGeomCell::SetInContiguousFlood ( void )

TODO 007 What do this do? Does it duplicate SetInContiguousSea()?

Definition at line 121 of file cell.cpp.

◆ SetInContiguousSea()

void CGeomCell::SetInContiguousSea ( void )

Set this cell as a sea cell.

Definition at line 109 of file cell.cpp.

◆ SetInterventionClass()

void CGeomCell::SetInterventionClass ( int const nSubCatCode)

Sets the landform category and subcategory for an intervention.

Definition at line 1119 of file cell.cpp.

◆ SetInterventionHeight()

void CGeomCell::SetInterventionHeight ( double const dHeight)

Sets the intervention height.

Definition at line 1149 of file cell.cpp.

◆ SetLocalConsSlope()

void CGeomCell::SetLocalConsSlope ( double const dNewSlope)

Sets the local slope of the consolidated sediment only.

Definition at line 394 of file cell.cpp.

◆ SetPolygonID()

void CGeomCell::SetPolygonID ( int const nPolyID)

Sets the global ID number of the polygon which 'contains' this cell.

Definition at line 267 of file cell.cpp.

◆ SetPossibleCoastStartCell()

void CGeomCell::SetPossibleCoastStartCell ( void )

Sets a flag to show that this cell has been flagged as a possible start- or end-point for a coastline.

Definition at line 187 of file cell.cpp.

◆ SetPossibleFloodStartCell()

void CGeomCell::SetPossibleFloodStartCell ( void )

TODO 007 What is this for? Sets a flag to show that this cell has been flagged as a possible start-point for a coastline.

Definition at line 199 of file cell.cpp.

◆ SetPotentialBeachErosion()

void CGeomCell::SetPotentialBeachErosion ( double const dPotentialIn)

Set potential (unconstrained) beach erosion and increment total beach potential erosion.

Definition at line 1035 of file cell.cpp.

◆ SetPotentialPlatformErosion()

void CGeomCell::SetPotentialPlatformErosion ( double const dPotentialIn)

Set potential (unconstrained) shore platform erosion and increment total shore platform potential erosion.

Definition at line 754 of file cell.cpp.

◆ SetProfileID()

void CGeomCell::SetProfileID ( int const nNormal)

Marks this cell as 'under' a coastline-normal profile.

Definition at line 246 of file cell.cpp.

◆ SetSeaDepth()

void CGeomCell::SetSeaDepth ( void )

Returns the depth of seawater on this cell if the sediment top is < SWL, or zero.

Definition at line 792 of file cell.cpp.

◆ SetShadowZoneBoundary()

void CGeomCell::SetShadowZoneBoundary ( void )

Sets a flag to show that this cell is a shadow zone boundary.

Definition at line 175 of file cell.cpp.

◆ SetShadowZoneNumber()

void CGeomCell::SetShadowZoneNumber ( int const nCode)

Set the number of the shadow zone that this cell is in.

Definition at line 279 of file cell.cpp.

◆ SetSuspendedSediment()

void CGeomCell::SetSuspendedSediment ( double const dNewSedDepth)

Sets this cell's suspended sediment depth equivalent, it also increments the running total of suspended sediment depth equivalent.

Definition at line 439 of file cell.cpp.

◆ SetWaveAngle()

void CGeomCell::SetWaveAngle ( double const dWaveAngle)

Sets the wave orientation on this cell, also increments the total wave orientation.

Definition at line 874 of file cell.cpp.

◆ SetWaveFlood()

void CGeomCell::SetWaveFlood ( void )

◆ SetWaveHeight()

void CGeomCell::SetWaveHeight ( double const dWaveHeight)

Sets the wave height on this cell, also increments the total wave height.

Definition at line 852 of file cell.cpp.

◆ SetWaveValuesToDeepWaterWaveValues()

void CGeomCell::SetWaveValuesToDeepWaterWaveValues ( void )

Sets wave height to the deep water wave height value, and sets wave orientation to the deep water wave orientation value.

Definition at line 929 of file cell.cpp.

◆ UnSetCheckFloodCell()

void CGeomCell::UnSetCheckFloodCell ( void )

Set the cell as not checked (flood switch)

Definition at line 364 of file cell.cpp.

◆ UnSetInContiguousFlood()

void CGeomCell::UnSetInContiguousFlood ( void )

TODO 007 What does this do? Is it just the inverse of SetInContiguousSea()?

Definition at line 127 of file cell.cpp.

Friends And Related Symbol Documentation

◆ CSimulation

friend class CSimulation
friend

Definition at line 34 of file cell.h.

Referenced by CSimulation.

Field Documentation

◆ m_bCheckFloodCell

bool CGeomCell::m_bCheckFloodCell
private

TODO 007 What is this used for?

Definition at line 59 of file cell.h.

Referenced by bIsCellFloodCheck(), CGeomCell(), InitCell(), SetCheckFloodCell(), and UnSetCheckFloodCell().

◆ m_bCoastline

bool CGeomCell::m_bCoastline
private

Switch to indicate that this cell is 'under' a coastline.

Definition at line 47 of file cell.h.

Referenced by bIsCoastline(), CGeomCell(), InitCell(), and SetAsCoastline().

◆ m_bFloodBySetupSurge

bool CGeomCell::m_bFloodBySetupSurge
private

TODO 007 What is this used for?

Definition at line 71 of file cell.h.

Referenced by bIsFloodBySetupSurge(), and SetFloodBySetupSurge().

◆ m_bFloodBySetupSurgeRunup

bool CGeomCell::m_bFloodBySetupSurgeRunup
private

TODO 007 What is this used for?

Definition at line 74 of file cell.h.

Referenced by bIsFloodBySetupSurgeRunup(), and SetFloodBySetupSurgeRunup().

◆ m_bFloodLine

bool CGeomCell::m_bFloodLine
private

TODO 007 What is this used for? Switch to indicate that this cell is 'under' a flood line.

Definition at line 50 of file cell.h.

Referenced by bIsFloodLine(), CGeomCell(), InitCell(), and SetAsFloodLine().

◆ m_bInContiguousFlood

bool CGeomCell::m_bInContiguousFlood
private

TODO 007 What is this?

Definition at line 41 of file cell.h.

Referenced by bIsInContiguousFlood(), CGeomCell(), InitCell(), SetInContiguousFlood(), and UnSetInContiguousFlood().

◆ m_bInContiguousSea

bool CGeomCell::m_bInContiguousSea
private

Switch to indicate if this is a sea cell, contiguous with other sea cells.

Definition at line 38 of file cell.h.

Referenced by bIsInContiguousSea(), CGeomCell(), InitCell(), and SetInContiguousSea().

◆ m_bIsInActiveZone

bool CGeomCell::m_bIsInActiveZone
private

Switch to indicate that this cell is in the active zone.

Definition at line 44 of file cell.h.

Referenced by bIsInActiveZone(), CGeomCell(), InitCell(), and SetInActiveZone().

◆ m_bPossibleCoastStartCell

bool CGeomCell::m_bPossibleCoastStartCell
private

Switch to show that this cell could be the start of a coastline.

Definition at line 65 of file cell.h.

Referenced by bIsPossibleCoastStartCell(), CGeomCell(), InitCell(), and SetPossibleCoastStartCell().

◆ m_bPossibleFloodStartCell

bool CGeomCell::m_bPossibleFloodStartCell
private

TODO 007 What is this used for?

Definition at line 68 of file cell.h.

Referenced by CGeomCell(), InitCell(), and SetPossibleFloodStartCell().

◆ m_bShadowBoundary

bool CGeomCell::m_bShadowBoundary
private

Switch to show this cell is 'under' a shadow boundaryu.

Definition at line 62 of file cell.h.

Referenced by bIsShadowZoneBoundary(), CGeomCell(), InitCell(), and SetShadowZoneBoundary().

◆ m_bWaveFlood

bool CGeomCell::m_bWaveFlood
private

TODO 007 What is this used for? Switch to indicate that this cell is 'under' a wave flood line.

Definition at line 53 of file cell.h.

Referenced by CGeomCell(), and InitCell().

◆ m_dActualBeachErosionThisIter

double CGeomCell::m_dActualBeachErosionThisIter
private

Depth of unconsolidated beach sediment actually eroded this timestep.

Definition at line 185 of file cell.h.

Referenced by bBeachErosionOrDepositionThisIter(), CGeomCell(), dGetActualBeachErosion(), InitCell(), and SetActualBeachErosion().

◆ m_dActualPlatformErosionThisIter

double CGeomCell::m_dActualPlatformErosionThisIter
private

Depth of sediment actually eroded from the shore platform this timestep.

Definition at line 143 of file cell.h.

Referenced by CGeomCell(), dGetActualPlatformErosion(), InitCell(), and SetActualPlatformErosion().

◆ m_dBasementElevation

double CGeomCell::m_dBasementElevation
private

◆ m_dBeachDepositionThisIter

double CGeomCell::m_dBeachDepositionThisIter
private

Depth of unconsolidated beach sediment deposited this timestep.

Definition at line 191 of file cell.h.

Referenced by bBeachErosionOrDepositionThisIter(), CGeomCell(), dGetBeachDeposition(), IncrBeachDeposition(), and InitCell().

◆ m_dBeachProtectionFactor

double CGeomCell::m_dBeachProtectionFactor
private

Only meaningful if in zone of platform erosion. 0 is fully protected; 1 = no protection.

Definition at line 128 of file cell.h.

Referenced by CGeomCell(), dGetBeachProtectionFactor(), InitCell(), and SetBeachProtectionFactor().

◆ m_dCliffCollapseCoarseThisIter

double CGeomCell::m_dCliffCollapseCoarseThisIter
private

Depth of coarse sediment (consolidated and unconsolidated) removed via cliff collapse this timestep.

Definition at line 155 of file cell.h.

Referenced by CGeomCell(), dGetThisIterCliffCollapseErosionCoarse(), IncrCliffCollapseErosion(), and InitCell().

◆ m_dCliffCollapseFineThisIter

double CGeomCell::m_dCliffCollapseFineThisIter
private

Depth of fine sediment (consolidated and unconsolidated) removed via cliff collapse this timestep.

Definition at line 149 of file cell.h.

Referenced by CGeomCell(), dGetThisIterCliffCollapseErosionFine(), IncrCliffCollapseErosion(), and InitCell().

◆ m_dCliffCollapseSandThisIter

double CGeomCell::m_dCliffCollapseSandThisIter
private

Depth of sand sediment (consolidated and unconsolidated) removed via cliff collapse this timestep.

Definition at line 152 of file cell.h.

Referenced by CGeomCell(), dGetThisIterCliffCollapseErosionSand(), IncrCliffCollapseErosion(), and InitCell().

◆ m_dDeepWaterWaveAngle

double CGeomCell::m_dDeepWaterWaveAngle
private

Wave orientation if this is a deep water cell.

Definition at line 122 of file cell.h.

Referenced by CGeomCell(), dGetCellDeepWaterWaveAngle(), SetCellDeepWaterWaveAngle(), and SetWaveValuesToDeepWaterWaveValues().

◆ m_dDeepWaterWaveHeight

double CGeomCell::m_dDeepWaterWaveHeight
private

Wave height if this is a deep water cell.

Definition at line 119 of file cell.h.

Referenced by CGeomCell(), dGetCellDeepWaterWaveHeight(), SetCellDeepWaterWaveHeight(), and SetWaveValuesToDeepWaterWaveValues().

◆ m_dDeepWaterWavePeriod

double CGeomCell::m_dDeepWaterWavePeriod
private

Wave period if this is a deep water cell.

Definition at line 125 of file cell.h.

Referenced by dGetCellDeepWaterWavePeriod(), SetCellDeepWaterWavePeriod(), and SetWaveValuesToDeepWaterWaveValues().

◆ m_dInterventionHeight

double CGeomCell::m_dInterventionHeight
private

◆ m_dLocalConsSlope

double CGeomCell::m_dLocalConsSlope
private

Used in erosion calculations, stored here for display purposes.

Definition at line 92 of file cell.h.

Referenced by CGeomCell(), dGetLocalConsSlope(), InitCell(), and SetLocalConsSlope().

◆ m_dPotentialBeachErosionThisIter

double CGeomCell::m_dPotentialBeachErosionThisIter
private

Depth of unconsolidated beach sediment that could be eroded this timestep, if no supply-limitation.

Definition at line 179 of file cell.h.

Referenced by CGeomCell(), dGetPotentialBeachErosion(), InitCell(), and SetPotentialBeachErosion().

◆ m_dPotentialPlatformErosionThisIter

double CGeomCell::m_dPotentialPlatformErosionThisIter
private

Depth of sediment on the shore platform that could be eroded this timestep, if no supply-limitation.

Definition at line 137 of file cell.h.

Referenced by bPotentialPlatformErosion(), CGeomCell(), dGetPotentialPlatformErosion(), InitCell(), and SetPotentialPlatformErosion().

◆ m_dSeaDepth

double CGeomCell::m_dSeaDepth
private

Depth of still water (m), is zero if not inundated.

Definition at line 98 of file cell.h.

Referenced by CGeomCell(), dGetOverallTopElev(), dGetSeaDepth(), InitCell(), and SetSeaDepth().

◆ m_dSuspendedSediment

double CGeomCell::m_dSuspendedSediment
private

Suspended sediment as depth equivalent (m)

Definition at line 131 of file cell.h.

Referenced by AddSuspendedSediment(), CGeomCell(), dGetSuspendedSediment(), and SetSuspendedSediment().

◆ m_dTalusCoarseDepositionThisIter

double CGeomCell::m_dTalusCoarseDepositionThisIter
private

Depth of unconsolidated coarse sediment deposited as a result of cliff collapse this timestep.

Definition at line 173 of file cell.h.

Referenced by AddCoarseTalusDeposition(), CGeomCell(), dGetThisIterCliffCollapseCoarseTalusDeposition(), and InitCell().

◆ m_dTalusSandDepositionThisIter

double CGeomCell::m_dTalusSandDepositionThisIter
private

Depth of unconsolidated sand sediment deposited as a result of cliff collapse this timestep.

Definition at line 167 of file cell.h.

Referenced by AddSandTalusDeposition(), CGeomCell(), dGetThisIterCliffCollapseSandTalusDeposition(), and InitCell().

◆ m_dTotActualBeachErosion

double CGeomCell::m_dTotActualBeachErosion
private

Total depth of unconsolidated beach sediment actually eroded.

Definition at line 188 of file cell.h.

Referenced by CGeomCell(), dGetTotActualBeachErosion(), and SetActualBeachErosion().

◆ m_dTotActualPlatformErosion

double CGeomCell::m_dTotActualPlatformErosion
private

Total depth of sediment actually eroded from the shore platform.

Definition at line 146 of file cell.h.

Referenced by CGeomCell(), dGetTotActualPlatformErosion(), and SetActualPlatformErosion().

◆ m_dTotBeachDeposition

double CGeomCell::m_dTotBeachDeposition
private

Total depth of unconsolidated beach sediment deposited.

Definition at line 194 of file cell.h.

Referenced by CGeomCell(), dGetTotBeachDeposition(), and IncrBeachDeposition().

◆ m_dTotCoarseCliffCollapse

double CGeomCell::m_dTotCoarseCliffCollapse
private

Total depth of coarse sediment (consolidated and unconsolidated) removed via cliff collapse.

Definition at line 164 of file cell.h.

Referenced by CGeomCell(), dGetTotCliffCollapseCoarse(), and IncrCliffCollapseErosion().

◆ m_dTotFineCliffCollapse

double CGeomCell::m_dTotFineCliffCollapse
private

Total depth of fine sediment (consolidated and unconsolidated) removed via cliff collapse.

Definition at line 158 of file cell.h.

Referenced by CGeomCell(), dGetTotCliffCollapseFine(), and IncrCliffCollapseErosion().

◆ m_dTotPotentialBeachErosion

double CGeomCell::m_dTotPotentialBeachErosion
private

Total depth of unconsolidated beach sediment eroded; if no supply-limitation.

Definition at line 182 of file cell.h.

Referenced by CGeomCell(), dGetTotPotentialBeachErosion(), and SetPotentialBeachErosion().

◆ m_dTotPotentialPlatformErosion

double CGeomCell::m_dTotPotentialPlatformErosion
private

Total depth of sediment eroded from the shore platform, if no supply-limitation.

Definition at line 140 of file cell.h.

Referenced by CGeomCell(), dGetTotPotentialPlatformErosion(), and SetPotentialPlatformErosion().

◆ m_dTotSandCliffCollapse

double CGeomCell::m_dTotSandCliffCollapse
private

Total depth of sand sediment (consolidated and unconsolidated) removed via cliff collapse.

Definition at line 161 of file cell.h.

Referenced by CGeomCell(), dGetTotCliffCollapseSand(), and IncrCliffCollapseErosion().

◆ m_dTotSeaDepth

double CGeomCell::m_dTotSeaDepth
private

Total depth of still water (m) since beginning of simulation (used to calc average)

Definition at line 101 of file cell.h.

Referenced by CGeomCell(), and dGetTotSeaDepth().

◆ m_dTotSuspendedSediment

double CGeomCell::m_dTotSuspendedSediment
private

Total depth of suspended sediment (m) since simulation start (used to calc average)

Definition at line 134 of file cell.h.

Referenced by AddSuspendedSediment(), CGeomCell(), dGetTotSuspendedSediment(), and SetSuspendedSediment().

◆ m_dTotTalusCoarseDeposition

double CGeomCell::m_dTotTalusCoarseDeposition
private

Total depth of unconsolidated coarse sediment deposited as a result of cliff collapse.

Definition at line 176 of file cell.h.

Referenced by AddCoarseTalusDeposition(), CGeomCell(), dGetTotCoarseTalusDeposition(), and InitCell().

◆ m_dTotTalusSandDeposition

double CGeomCell::m_dTotTalusSandDeposition
private

Total depth of unconsolidated sand sediment deposited as a result of cliff collapse.

Definition at line 170 of file cell.h.

Referenced by AddSandTalusDeposition(), CGeomCell(), dGetTotSandTalusDeposition(), and InitCell().

◆ m_dTotWaveAngle

double CGeomCell::m_dTotWaveAngle
private

Total wave orientation (used to calc average)

Definition at line 116 of file cell.h.

Referenced by CGeomCell(), dGetTotWaveAngle(), and SetWaveAngle().

◆ m_dTotWaveHeight

double CGeomCell::m_dTotWaveHeight
private

Total wave height (m) (used to calc average)

Definition at line 107 of file cell.h.

Referenced by CGeomCell(), dGetTotWaveHeight(), and SetWaveHeight().

◆ m_dUnconsD50

double CGeomCell::m_dUnconsD50
private

d50 of unconsolidated sediment on top layer with unconsolidated sediment depth > 0

Definition at line 197 of file cell.h.

Referenced by CalcAllLayerElevsAndD50(), CGeomCell(), and dGetUnconsD50().

◆ m_dWaveAngle

double CGeomCell::m_dWaveAngle
private

Wave orientation.

Definition at line 110 of file cell.h.

Referenced by CGeomCell(), dGetWaveAngle(), InitCell(), SetWaveAngle(), and SetWaveValuesToDeepWaterWaveValues().

◆ m_dWaveHeight

double CGeomCell::m_dWaveHeight
private

Wave height (m)

Definition at line 104 of file cell.h.

Referenced by CGeomCell(), dGetWaveHeight(), InitCell(), SetWaveHeight(), and SetWaveValuesToDeepWaterWaveValues().

◆ m_dWavePeriod

double CGeomCell::m_dWavePeriod
private

Wave period (s)

Definition at line 113 of file cell.h.

Referenced by SetWaveValuesToDeepWaterWaveValues().

◆ m_Landform

CRWCellLandform CGeomCell::m_Landform
private

This cell's landform data.

Definition at line 203 of file cell.h.

Referenced by CGeomCell(), nGetInterventionClass(), pGetLandform(), and SetInterventionClass().

◆ m_nBoundingBoxEdge

int CGeomCell::m_nBoundingBoxEdge
private

If this cell is an edge (or bounding box) cell, this specifies the edge.

Definition at line 77 of file cell.h.

Referenced by bIsBoundingBoxEdge(), CGeomCell(), nGetBoundingBoxEdge(), and SetBoundingBoxEdge().

◆ m_nCoastlineNormal

int CGeomCell::m_nCoastlineNormal
private

If this cell is 'under' a coastline normal, this is the number of the normal.

Definition at line 83 of file cell.h.

Referenced by bIsProfile(), CGeomCell(), InitCell(), nGetProfileID(), and SetProfileID().

◆ m_nDownDriftZoneNumber

int CGeomCell::m_nDownDriftZoneNumber
private

If this cell is within a downdrift zone, this is the number of the downdrift zone.

Definition at line 89 of file cell.h.

Referenced by CGeomCell(), InitCell(), nGetDownDriftZoneNumber(), and SetDownDriftZoneNumber().

◆ m_nPolygonID

int CGeomCell::m_nPolygonID
private

If this cell is within a polygon, this is the ID of the polygon.

Definition at line 80 of file cell.h.

Referenced by CGeomCell(), InitCell(), nGetPolygonID(), and SetPolygonID().

◆ m_nShadowZoneNumber

int CGeomCell::m_nShadowZoneNumber
private

If this cell is within a shadow zone, this is the number of the shadow zone.

Definition at line 86 of file cell.h.

Referenced by bIsinAnyShadowZone(), bIsinThisShadowZone(), CGeomCell(), InitCell(), nGetShadowZoneNumber(), and SetShadowZoneNumber().

◆ m_pGrid

◆ m_VdAllHorizonTopElev

vector<double> CGeomCell::m_VdAllHorizonTopElev
private

Number of layer-top elevations (inc. that of the basement, which is m_VdAllHorizonTopElev[0]); size 1 greater than size of m_VLayerAboveBasement.

Definition at line 210 of file cell.h.

Referenced by bIsElevLessThanWaterLevel(), bIsInundated(), CalcAllLayerElevsAndD50(), dGetInterventionTopElev(), dGetOverallTopElev(), dGetSedimentPlusInterventionTopElev(), dGetSedimentTopElev(), nGetLayerAtElev(), and SetSeaDepth().

◆ m_VLayerAboveBasement


The documentation for this class was generated from the following files: