|
CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
|
Real-world class used to represent the landform of a cell. More...
#include <cell_landform.h>
Public Member Functions | |
| CRWCellLandform () | |
| Constructor. | |
| ~CRWCellLandform (void) | |
| Destructor. | |
| void | SetLFCategory (int const) |
| Set the landform category. | |
| int | nGetLFCategory (void) const |
| Get the landform category. | |
| void | SetLFSubCategory (int const) |
| Set the both the landform sub-category, and the landform category. | |
| int | nGetLFSubCategory (void) const |
| Get the landform sub-category. | |
| void | SetCoast (int const) |
| Set the coast number. | |
| int | nGetCoast (void) const |
| Get the coast number. | |
| void | SetPointOnCoast (int const) |
| Set the number of the point on the coastline. | |
| int | nGetPointOnCoast (void) const |
| Set the number of the point on the coastline. | |
| void | SetAccumWaveEnergy (double const) |
| Set accumulated wave energy. | |
| double | dGetAccumWaveEnergy (void) const |
| Get accumulated wave energy. | |
| void | SetCliffNotchBaseElev (double const) |
| Set cliff notch base elevation. | |
| double | dGetCliffNotchBaseElev (void) const |
| Get cliff notch base elevation. | |
| void | SetCliffNotchDepth (double const) |
| Set the cliff notch overhang which remains on this cell. | |
| double | dGetCliffNotchDepth (void) const |
| Get the cliff notch overhang which remains on this cell. | |
| void | SetCliffRemaining (double const) |
| Set the cliff depth remaining on this cell. | |
Private Attributes | ||
| int | m_nCategory | |
| Landform category for this cell. | ||
| int | m_nSubCategory | |
| Landform subcategory for this cell. | ||
| int | m_nCoast | |
| Coast on which this landform sits (if any) | ||
| int | m_nPointOnCoast | |
| Point on coast on which this landform sits (if any) | ||
| double | m_dAccumWaveEnergy | |
| Accumulate wave energy for this landform on this cell. | ||
| union { | ||
| struct { | ||
| int m_nDummy | ||
| Currently unused for all landforms except cliffs. More... | ||
| } m_sBeachData | ||
| struct { | ||
| double m_dNotchBaseElev | ||
| Cliff notch base elevation. More... | ||
| double m_dNotchDepth | ||
| Cliff notch incised depth. More... | ||
| double m_dRemaining | ||
| Cliff notch depth remaining. More... | ||
| } m_sCliffData | ||
| } | m_uLFData | |
| The m_uLFData will hold landform data: currently, only cliffs are considered. | ||
Real-world class used to represent the landform of a cell.
TODO 001 This is a more detailed description of the CCRWCellLandform class.
Definition at line 28 of file cell_landform.h.
| CRWCellLandform::CRWCellLandform | ( | ) |
Constructor.
Definition at line 28 of file cell_landform.cpp.
| CRWCellLandform::~CRWCellLandform | ( | void | ) |
Destructor.
Definition at line 38 of file cell_landform.cpp.
| double CRWCellLandform::dGetAccumWaveEnergy | ( | void | ) | const |
Get accumulated wave energy.
Definition at line 103 of file cell_landform.cpp.
| double CRWCellLandform::dGetCliffNotchBaseElev | ( | void | ) | const |
Get cliff notch base elevation.
Definition at line 115 of file cell_landform.cpp.
| double CRWCellLandform::dGetCliffNotchDepth | ( | void | ) | const |
Get the cliff notch overhang which remains on this cell.
Definition at line 127 of file cell_landform.cpp.
| int CRWCellLandform::nGetCoast | ( | void | ) | const |
Get the coast number.
Definition at line 79 of file cell_landform.cpp.
| int CRWCellLandform::nGetLFCategory | ( | void | ) | const |
Get the landform category.
Definition at line 49 of file cell_landform.cpp.
Referenced by CSimulation::bElevAboveDeanElev(), CSimulation::bSurroundedByDriftCells(), CSimulation::CellByCellFillSea(), CSimulation::nAssignLandformsForAllCells(), CSimulation::nDoCliffCollapseDeposition(), CSimulation::nDoParallelProfileUnconsErosion(), and CSimulation::nDoUnconsDepositionOnPolygon().
| int CRWCellLandform::nGetLFSubCategory | ( | void | ) | const |
Get the landform sub-category.
Definition at line 67 of file cell_landform.cpp.
| int CRWCellLandform::nGetPointOnCoast | ( | void | ) | const |
Set the number of the point on the coastline.
Definition at line 91 of file cell_landform.cpp.
| void CRWCellLandform::SetAccumWaveEnergy | ( | double const | dEnergyIn | ) |
Set accumulated wave energy.
Definition at line 97 of file cell_landform.cpp.
| void CRWCellLandform::SetCliffNotchBaseElev | ( | double const | dElevIn | ) |
Set cliff notch base elevation.
Definition at line 109 of file cell_landform.cpp.
| void CRWCellLandform::SetCliffNotchDepth | ( | double const | dLenIn | ) |
Set the cliff notch overhang which remains on this cell.
Definition at line 121 of file cell_landform.cpp.
| void CRWCellLandform::SetCliffRemaining | ( | double const | dLenIn | ) |
Set the cliff depth remaining on this cell.
Definition at line 133 of file cell_landform.cpp.
| void CRWCellLandform::SetCoast | ( | int const | nCoastIn | ) |
Set the coast number.
Definition at line 73 of file cell_landform.cpp.
| void CRWCellLandform::SetLFCategory | ( | int const | nClassIn | ) |
Set the landform category.
Definition at line 43 of file cell_landform.cpp.
Referenced by CSimulation::CellByCellFillSea(), CSimulation::nAssignLandformsForAllCells(), and CSimulation::nDoSedimentInputEvent().
| void CRWCellLandform::SetLFSubCategory | ( | int const | nClassIn | ) |
Set the both the landform sub-category, and the landform category.
Definition at line 55 of file cell_landform.cpp.
Referenced by CSimulation::nAssignLandformsForAllCells(), CSimulation::nDoCliffCollapseDeposition(), CSimulation::nDoParallelProfileUnconsErosion(), CSimulation::nDoSedimentInputEvent(), and CSimulation::nDoUnconsDepositionOnPolygon().
| void CRWCellLandform::SetPointOnCoast | ( | int const | nPointOnCoastIn | ) |
Set the number of the point on the coastline.
Definition at line 85 of file cell_landform.cpp.
|
private |
Accumulate wave energy for this landform on this cell.
Definition at line 44 of file cell_landform.h.
Referenced by CRWCellLandform(), dGetAccumWaveEnergy(), and SetAccumWaveEnergy().
| double CRWCellLandform::m_dNotchBaseElev |
Cliff notch base elevation.
Definition at line 58 of file cell_landform.h.
| double CRWCellLandform::m_dNotchDepth |
Cliff notch incised depth.
Definition at line 61 of file cell_landform.h.
| double CRWCellLandform::m_dRemaining |
Cliff notch depth remaining.
Definition at line 64 of file cell_landform.h.
|
private |
Landform category for this cell.
Definition at line 32 of file cell_landform.h.
Referenced by CRWCellLandform(), nGetLFCategory(), SetLFCategory(), and SetLFSubCategory().
|
private |
Coast on which this landform sits (if any)
Definition at line 38 of file cell_landform.h.
Referenced by CRWCellLandform(), nGetCoast(), and SetCoast().
| int CRWCellLandform::m_nDummy |
Currently unused for all landforms except cliffs.
Definition at line 52 of file cell_landform.h.
|
private |
Point on coast on which this landform sits (if any)
Definition at line 41 of file cell_landform.h.
Referenced by CRWCellLandform(), nGetPointOnCoast(), and SetPointOnCoast().
|
private |
Landform subcategory for this cell.
Definition at line 35 of file cell_landform.h.
Referenced by CRWCellLandform(), nGetLFSubCategory(), and SetLFSubCategory().
| struct { ... } CRWCellLandform::m_sBeachData |
| struct { ... } CRWCellLandform::m_sCliffData |
| union { ... } CRWCellLandform::m_uLFData |
The m_uLFData will hold landform data: currently, only cliffs are considered.
Referenced by dGetCliffNotchBaseElev(), dGetCliffNotchDepth(), SetCliffNotchBaseElev(), SetCliffNotchDepth(), and SetCliffRemaining().