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

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.
 
CGeom2DIPointpPtiGetCellMarkedAsLF (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.
 
CRWCoastpCoast
 Pointer to this landform's coast.
 

Detailed Description

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.

Author
David Favis-Mortlock
Andres Payo
Date
2025

Definition at line 32 of file coast_landform.h.

Constructor & Destructor Documentation

◆ CACoastLandform()

CACoastLandform::CACoastLandform ( void )

Constructor with initialization list.

Definition at line 28 of file coast_landform.cpp.

◆ ~CACoastLandform()

CACoastLandform::~CACoastLandform ( void )
virtual

Destructor.

Definition at line 38 of file coast_landform.cpp.

Member Function Documentation

◆ dGetTotAccumWaveEnergy()

double CACoastLandform::dGetTotAccumWaveEnergy ( void ) const

Get total accumulated wave energy.

Definition at line 83 of file coast_landform.cpp.

Referenced by CSimulation::nLandformToGrid().

◆ Display()

virtual void CACoastLandform::Display ( )
pure virtual

Implemented in CRWCliff, CRWDrift, and CRWIntervention.

◆ IncTotAccumWaveEnergy()

void CACoastLandform::IncTotAccumWaveEnergy ( double const dWaveEnergy)

Increment total accumulated wave energy.

Definition at line 77 of file coast_landform.cpp.

Referenced by CSimulation::nDoAllWaveEnergyToCoastLandforms().

◆ nGetCoast()

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.

◆ nGetLandFormCategory()

int CACoastLandform::nGetLandFormCategory ( void ) const

◆ nGetPointOnCoast()

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().

◆ pPtiGetCellMarkedAsLF()

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().

Field Documentation

◆ m_dTotAccumWaveEnergy

double CACoastLandform::m_dTotAccumWaveEnergy
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().

◆ m_nCategory

int CACoastLandform::m_nCategory
protected

◆ m_nCoast

int CACoastLandform::m_nCoast
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().

◆ m_nPointOnCoast

int CACoastLandform::m_nPointOnCoast
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().

◆ pCoast

CRWCoast* CACoastLandform::pCoast
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().


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