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

Calculates potential (i.e. not constrained by the availability of unconsolidated sediment) beach erosion of unconsolidated sediment on coastal polygons. More...

#include <assert.h>
#include <cmath>
#include <cfloat>
#include <iostream>
#include <algorithm>
#include <utility>
#include "cme.h"
#include "simulation.h"
#include "coast.h"

Go to the source code of this file.

Functions

bool bPolygonLengthPairCompare (const pair< int, double > &prLeft, const pair< int, double > &prRight)
 Function used to sort polygon length values. If the first argument must be ordered before the second, return true.
 

Detailed Description

Calculates potential (i.e. not constrained by the availability of unconsolidated sediment) beach erosion of unconsolidated sediment on coastal polygons.

TODO 001 A more detailed description of these routines.

Author
David Favis-Mortlock
Andres Payo
Date
2025

Definition in file do_beach_potential_erosion.cpp.

Function Documentation

◆ bPolygonLengthPairCompare()

bool bPolygonLengthPairCompare ( const pair< int, double > & prLeft,
const pair< int, double > & prRight )

Function used to sort polygon length values. If the first argument must be ordered before the second, return true.

Definition at line 48 of file do_beach_potential_erosion.cpp.

Referenced by CSimulation::DoAllPotentialBeachErosion().