CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
|
Abstract class, used as a base class for landform objects on the coastline. More...
#include <coast_landform.h>
Inherited by CRWCliff, CRWDrift, and CRWIntervention.
Public Member Functions | |
CACoastLandform (void) | |
Constructor with initialization list. | |
virtual | ~CACoastLandform (void) |
Destructor. | |
int | nGetCoast (void) const |
Get the number of the coast on which this coast landform sits. | |
int | nGetPointOnCoast (void) const |
Get the point on the coast on which this coast landform sits. | |
int | nGetLandFormCategory (void) const |
Get the landform category. | |
CGeom2DIPoint * | pPtiGetCellMarkedAsLF (void) const |
Get the grid coordinates of the cell on which this coast landform sits. | |
void | IncTotAccumWaveEnergy (double const) |
Increment total accumulated wave energy. | |
double | dGetTotAccumWaveEnergy (void) const |
Get total accumulated wave energy. | |
virtual void | Display ()=0 |
Protected Attributes | |
int | m_nCoast |
The coast number on which this coast landform sits. | |
int | m_nPointOnCoast |
The point on the coast on which this coast landform sits. | |
int | m_nCategory |
Landform category code. | |
double | m_dTotAccumWaveEnergy |
Total accumulated wave energy since beginning of simulation. | |
CRWCoast * | pCoast |
Pointer to this landform's coast. | |
Abstract class, used as a base class for landform objects on the coastline.
TODO 001 This is a more detailed description of the CACoastLandform class.
Definition at line 32 of file coast_landform.h.
CACoastLandform::CACoastLandform | ( | void | ) |
Constructor with initialization list.
Definition at line 28 of file coast_landform.cpp.
|
virtual |
Destructor.
Definition at line 38 of file coast_landform.cpp.
double CACoastLandform::dGetTotAccumWaveEnergy | ( | void | ) | const |
Get total accumulated wave energy.
Definition at line 83 of file coast_landform.cpp.
Referenced by CSimulation::nLandformToGrid().
|
pure virtual |
Implemented in CRWCliff, CRWDrift, and CRWIntervention.
void CACoastLandform::IncTotAccumWaveEnergy | ( | double const | dWaveEnergy | ) |
Increment total accumulated wave energy.
Definition at line 77 of file coast_landform.cpp.
Referenced by CSimulation::nDoAllWaveEnergyToCoastLandforms().
int CACoastLandform::nGetCoast | ( | void | ) | const |
Get the number of the coast on which this coast landform sits.
Definition at line 43 of file coast_landform.cpp.
int CACoastLandform::nGetLandFormCategory | ( | void | ) | const |
Get the landform category.
Definition at line 60 of file coast_landform.cpp.
Referenced by CSimulation::bWriteVectorGISFile(), CSimulation::nDoAllWaveEnergyToCoastLandforms(), and CSimulation::nLandformToGrid().
int CACoastLandform::nGetPointOnCoast | ( | void | ) | const |
Get the point on the coast on which this coast landform sits.
Definition at line 49 of file coast_landform.cpp.
Referenced by CSimulation::nDoCliffCollapseDeposition().
CGeom2DIPoint * CACoastLandform::pPtiGetCellMarkedAsLF | ( | void | ) | const |
Get the grid coordinates of the cell on which this coast landform sits.
Definition at line 66 of file coast_landform.cpp.
Referenced by CSimulation::nDoCliffCollapse(), and CSimulation::nDoCliffCollapseDeposition().
|
protected |
Total accumulated wave energy since beginning of simulation.
Definition at line 47 of file coast_landform.h.
Referenced by CACoastLandform(), CRWCliff::CRWCliff(), dGetTotAccumWaveEnergy(), and IncTotAccumWaveEnergy().
|
protected |
Landform category code.
Definition at line 44 of file coast_landform.h.
Referenced by CACoastLandform(), CRWCliff::CRWCliff(), CRWDrift::CRWDrift(), CRWIntervention::CRWIntervention(), and nGetLandFormCategory().
|
protected |
The coast number on which this coast landform sits.
Definition at line 38 of file coast_landform.h.
Referenced by CACoastLandform(), CRWCliff::CRWCliff(), CRWDrift::CRWDrift(), CRWIntervention::CRWIntervention(), and nGetCoast().
|
protected |
The point on the coast on which this coast landform sits.
Definition at line 41 of file coast_landform.h.
Referenced by CACoastLandform(), CRWCliff::CRWCliff(), CRWDrift::CRWDrift(), CRWIntervention::CRWIntervention(), nGetPointOnCoast(), and pPtiGetCellMarkedAsLF().
|
protected |
Pointer to this landform's coast.
Definition at line 50 of file coast_landform.h.
Referenced by CACoastLandform(), CRWCliff::CRWCliff(), CRWDrift::CRWDrift(), CRWIntervention::CRWIntervention(), and pPtiGetCellMarkedAsLF().