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

Creates profiles which are approximately normal to the coastline, these will become inter-polygon boundaries. More...

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

Go to the source code of this file.

Data Structures

class  pair< T1, T2 >
 STL class. More...
 

Functions

bool bCurvaturePairCompareDescending (const pair< int, double > &prLeft, const pair< int, double > &prRight)
 Function used to sort coastline curvature values when locating start points of normal profiles.
 

Detailed Description

Creates profiles which are approximately normal to the coastline, these will become inter-polygon boundaries.

TODO 001 A more detailed description of these routines.

Author
David Favis-Mortlock
Andres Payo
Date
2025

Definition in file create_profiles.cpp.

Function Documentation

◆ bCurvaturePairCompareDescending()

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

Function used to sort coastline curvature values when locating start points of normal profiles.

Definition at line 57 of file create_profiles.cpp.

Referenced by CSimulation::nCreateAllProfiles().