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

Class used to represent a sediment input event. More...

#include <sediment_input_event.h>

Public Member Functions

 CSedInputEvent (int const, unsigned long const, double const, double const, double const, double const, double const)
 Constructor with eight parameters and an initialization list.
 
 ~CSedInputEvent (void)
 Destructor.
 
int nGetLocationID (void) const
 Returns the location ID.
 
unsigned long ulGetEventTimeStep (void) const
 Returns the timestep of the sediment input event.
 
double dGetFineSedVol (void) const
 Returns the volume of fine sediment in the sediment input event.
 
double dGetSandSedVol (void) const
 Returns the volume of sand sediment in the sediment input event.
 
double dGetCoarseSedVol (void) const
 Returns the volume of coarse sediment in the sediment input event.
 
double dGetLen (void) const
 Returns the length (in metres?) of the sediment input event.
 
double dGetWidth (void) const
 Returns the width (in metres?) of the sediment input event.
 

Private Attributes

int m_nLocationID
 The location ID in the shapefile.
 
unsigned long m_ulEventTimeStep
 The timing of the sediment input event.
 
double m_dFineSedVol
 The volume (m3) of fine sediment in the sediment input event.
 
double m_dSandSedVol
 The volume (m3) of sand sediment in the sediment input event.
 
double m_dCoarseSedVol
 The volume (m3) of coarse sediment in the sediment input event.
 
double m_dLen
 The coast-normal length (m) of the sediment block.
 
double m_dWidth
 The along-coast width (m) of the sediment block.
 

Detailed Description

Class used to represent a sediment input event.

This class represent a sediment input event such as sediment derived from inland (e.g. at the mouth of a gully or rambla), or sediment from an intervention such as beach nourishment

Author
David Favis-Mortlock
Andres Payo
Date
2025

Definition at line 28 of file sediment_input_event.h.

Constructor & Destructor Documentation

◆ CSedInputEvent()

CSedInputEvent::CSedInputEvent ( int const nIDIn,
unsigned long const ulTimeStepIn,
double const dFineIn,
double const dSandIn,
double const dCoarseIn,
double const dLenIn,
double const dWidthIn )

Constructor with eight parameters and an initialization list.

Definition at line 30 of file sediment_input_event.cpp.

◆ ~CSedInputEvent()

CSedInputEvent::~CSedInputEvent ( void )

Destructor.

Definition at line 43 of file sediment_input_event.cpp.

Member Function Documentation

◆ dGetCoarseSedVol()

double CSedInputEvent::dGetCoarseSedVol ( void ) const

Returns the volume of coarse sediment in the sediment input event.

Definition at line 72 of file sediment_input_event.cpp.

◆ dGetFineSedVol()

double CSedInputEvent::dGetFineSedVol ( void ) const

Returns the volume of fine sediment in the sediment input event.

Definition at line 60 of file sediment_input_event.cpp.

◆ dGetLen()

double CSedInputEvent::dGetLen ( void ) const

Returns the length (in metres?) of the sediment input event.

Definition at line 78 of file sediment_input_event.cpp.

◆ dGetSandSedVol()

double CSedInputEvent::dGetSandSedVol ( void ) const

Returns the volume of sand sediment in the sediment input event.

Definition at line 66 of file sediment_input_event.cpp.

◆ dGetWidth()

double CSedInputEvent::dGetWidth ( void ) const

Returns the width (in metres?) of the sediment input event.

Definition at line 84 of file sediment_input_event.cpp.

◆ nGetLocationID()

int CSedInputEvent::nGetLocationID ( void ) const

Returns the location ID.

Definition at line 48 of file sediment_input_event.cpp.

◆ ulGetEventTimeStep()

unsigned long CSedInputEvent::ulGetEventTimeStep ( void ) const

Returns the timestep of the sediment input event.

Definition at line 54 of file sediment_input_event.cpp.

Field Documentation

◆ m_dCoarseSedVol

double CSedInputEvent::m_dCoarseSedVol
private

The volume (m3) of coarse sediment in the sediment input event.

Definition at line 44 of file sediment_input_event.h.

Referenced by CSedInputEvent(), and dGetCoarseSedVol().

◆ m_dFineSedVol

double CSedInputEvent::m_dFineSedVol
private

The volume (m3) of fine sediment in the sediment input event.

Definition at line 38 of file sediment_input_event.h.

Referenced by CSedInputEvent(), and dGetFineSedVol().

◆ m_dLen

double CSedInputEvent::m_dLen
private

The coast-normal length (m) of the sediment block.

Definition at line 47 of file sediment_input_event.h.

Referenced by CSedInputEvent(), and dGetLen().

◆ m_dSandSedVol

double CSedInputEvent::m_dSandSedVol
private

The volume (m3) of sand sediment in the sediment input event.

Definition at line 41 of file sediment_input_event.h.

Referenced by CSedInputEvent(), and dGetSandSedVol().

◆ m_dWidth

double CSedInputEvent::m_dWidth
private

The along-coast width (m) of the sediment block.

Definition at line 50 of file sediment_input_event.h.

Referenced by CSedInputEvent(), and dGetWidth().

◆ m_nLocationID

int CSedInputEvent::m_nLocationID
private

The location ID in the shapefile.

Definition at line 32 of file sediment_input_event.h.

Referenced by CSedInputEvent(), and nGetLocationID().

◆ m_ulEventTimeStep

unsigned long CSedInputEvent::m_ulEventTimeStep
private

The timing of the sediment input event.

Definition at line 35 of file sediment_input_event.h.

Referenced by CSedInputEvent(), and ulGetEventTimeStep().


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