2.0.0b10
catchment modelling framework
Loading...
Searching...
No Matches
cmf::river Namespace Reference

Contains storages and connection for the simulation of surface water bodies, like rivers, channels, lakes and dams. More...

Detailed Description

Contains storages and connection for the simulation of surface water bodies, like rivers, channels, lakes and dams.

Classes

class  Channel
 A wrapper for channel geometries. More...
 
class  CrossSectionReach
 Structure for the description of reaches with a freely defined cross section. More...
 
class  IChannel
 Structure for the description of structural parameters of a reach Abstract base class for different IChannel geometries. More...
 
class  IVolumeHeightFunction
 Volume height relations are functional objects, which return a height and a crosssectional area of a volume for different geometric bodies. More...
 
class  Manning
 Calculates the flux between two open water bodies, using Manning's equation. More...
 
class  Manning_Diffusive
 Connecting surface water bodies using a diffusive wave. More...
 
class  Manning_Kinematic
 Connecting surface water bodies using a kinematic wave. More...
 
class  MeanChannel
 A combination of two channel geometries. More...
 
class  OpenWaterStorage
 An open water body. More...
 
class  PipeReach
 Describes the geometry of a closed pipe. More...
 
class  Prism
 the height of a volume in a Prism with a defined base area More...
 
class  Reach
 A reach represents the section of a riover and is a specialization of an open water storage. More...
 
class  ReachIterator
 An iterator over every upstream reach from a start reach. More...
 
class  RectangularReach
 Describes a IChannel with a rectangular crosssection. More...
 
class  SWATReachType
 Structure for the description of structural parameters of a reach. More...
 
class  TriangularReach
 Structure for the description of reaches with a triangular cross section. More...
 
class  volume_height_function
 A wrapper class for volume / height functional relations. More...
 

Functions

double make_river_gap (Reach::ptr root_reach)
 Ensures that rivers have a monotone downward flow direction.
 

Function Documentation

◆ make_river_gap()

double make_river_gap ( Reach::ptr root_reach)

Ensures that rivers have a monotone downward flow direction.

Reaches with a bottom higher than any upstream reach are lowered to the minimum height of any (possibly distant) upstream reach.